该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Indent Lists Button

描述

Why this plugin?

In WordPress it’s not possible to indent lists. The regular indent button is greyed out after selecting a bullet list or numbered list. This plugin offers a solution to this problem.

How to use this plugin

Install and activate the plugin. Now, in the WordPress editor, select the list that you would like to indent. Click on the new “Indent List” button in the editor. Your list will indent. Rejoice in the fact that both text and list are well aligned. This only works if the lists are not already indented or somehow blocked by fancy layout of a theme. See screenshots for details.

捐赠

If you enjoy using the Indent Lists Button plugin and find it useful, please consider a donation by paypal.

Theme compatibility

The list of themes that profit from this plugin includes:

  1. Twenty Fifteen
  2. Twenty Sixteen
  3. Twenty Seventeen
  4. Twety Eighteen
  5. Business Elite

联系人

Would you like to contact the developer for support? Please visit the plugin site and use the contact form.

屏幕截图

  • Screenshot showing a bullet list before indenting. Note that the second row of the editor has been made visible by the Toolbar Toggle button.
  • Screenshot while pushing the indent lists button with the cursor in the list.
  • Screenshot after using the indent lists button

安装

  1. Upload the entire indent-lists-button folder to the /wp-content/plugins/ directory or download the plugin via the Plugins section of the WordPress admin.
  2. 通过 WordPress 的“插件”菜单以激活本插件。
  3. Open a page or post in the WordPress admin and check if a new button has appeared in the editor-bar. The new button should be located on the second row of the editor buttons next to the normal indent/outdent buttons. If the second row is not visible, click the Toolbar Toggle button.

See screenshots for details.

常见问题

In which WordPress themes does the problem to indent a list occur?

In all themes. Some themes (notably Twenty Fifteen and Twenty Sixteen) align lists at the same level as the surrounding text (see the first screenshot), in which case it can be quite annoying that you cannot choose to indent lists.

Isn’t there simply an alignment-code I can use to indent a list?

Yes, there is, but it requires knowing and applying the basics of html and css. And we think this button is the most easy way to indent a list.

Does it also work with numbered lists?

Yes, it does.

Is it possible to undo the indentation of the list?

Yes. You can undo the current indentation by clicking the Indent List button again.

评价

2017 年 12 月 1 日 1 回复
Installed it, saw the button on the post edit menu, selected my number list, applied the button, nothing changed. Thought maybe the changes will appear on the actual page. Updated the page, viewed it live, nothing changed. Still searching for that perfect solution.
2017 年 7 月 18 日
Pleased with it so far, fixes issue of not being able to indent bullet points in Twenty Sixteen.
2017 年 6 月 28 日
Just downloaded this and it works like magic with the Twenty Seventeen template, SO EASY!!! Thank you, thank you, thank you!
2016 年 9 月 3 日
It works fine for me. Now my lists are neatly alligned.
阅读所有7条评价

贡献者及开发者

“Indent Lists Button” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Indent Lists Button」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Indent Lists Button”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1.38 (28-4-2019)

  • Fixed button css in editor

0.1.37 (2017-01-17)

  • Bug fix (Thanks to Michel for finding the bug!)

0.1.35 (2017-01-17)

  • Strenghtened editor css

0.1.31 (2017-01-17)

  • Minor adjustments; new WordPress update checked and verified

0.1.3 (2017-01-17)

  • Rewritten to use inline style instead of external stylesheet

0.1.2 (2016-03-02)

  • Fixed a button layout problem for small screens.
  • Added translation for “Indent List” tooltip on button

0.1.1 (2016-02-19)

  • Updated readme.txt.

0.1.0 (2016-02-19)

  • Beta tests finished.