Linux 软件免费装
Banner图

HTML Special Characters Helper

开发者 coffee2code
更新时间 2018年6月29日 12:44
捐献地址: 去捐款
PHP版本: 4.6 及以上
WordPress版本: 4.9
版权: GPLv2 or later
版权网址: 版权信息

标签

post coffee2code admin widget html special characters write post dbx entity codes

下载

1.0 1.5 1.6 1.7 1.7.1 1.8 1.9 1.9.1 1.9.2 1.9.3 2.0 2.0.1 2.1 2.2 2.3

详情介绍:

This plugin adds an admin widget labeled "HTML Special Characters" that is present in the admin Add/Edit Post and Add/Edit Page pages. Clicking on any special character in the widget causes its character encoding to be inserted into the post body text field at the current cursor location (or at the end of the post if the cursor isn't located in the post body field). Hovering over any of the special characters in the admin widget causes hover text to appear that shows the HTML entity encoding for the character as well as the name of the character. Note that when used in the visual editor mode the special character itself is added to the post body. Also note that the visual editor has its own special characters popup helper accessible via the advanced toolbar, which depending on your usage, may make this plugin unnecessary for you. In truth, the plugin is intended more for the non-visual (aka text) mode. The widget includes a checkbox labeled "Also copy to clipboard?" which, if checked, will also copy either the special character (if using the visual editor) or the HTML entity encoding for the character (if using the text editor) when you click the character to insert it into the post. Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

安装:

  1. Install via the built-in WordPress plugin installer. Or download and unzip html-special-characters-helper.zip inside the plugins directory for your site (typically wp-content/plugins/)
  2. Activate the plugin through the 'Plugins' admin menu in WordPress
  3. An admin widget entitled "HTML Special Characters" will now be present in your write post and write page forms. Simply click on any character that you would like inserted into your post.

屏幕截图:

  • A screenshot of the HTML Special Characters admin widget in its default state
  • A screenshot of the HTML Special Characters admin widget when "See More" is clicked to display more special characters. Note all characters are categorized into labeled sections
  • A screenshot of the HTML Special Characters admin widget after "Help?" is clicked
  • A screenshot of the HTML Special Characters admin widget when the mouse is hovering over one of the special characters. (The screen capture omits the mouse pointer.) The hover text that appears shows the HTML entity encoding for the character as well as the name of the character

升级注意事项:

2.3 Feature update: added ability to copy special character (or its encoding) to clipboard, removed dotted underline styling of characters, added README.md, noted compatibility through WP 4.9+, updated copyright date (2018), and more. 2.2 Recommended update: show helper metabox for all public post types (including custom post types), tweaked readme, changed unit test bootstrap, noted compatibility through WP 4.7+, dropped compatibility with WP older than 4.6, and updated copyright date 2.1 Minor update: moved JS and CSS assets into subdirectory; minor tweaks and improvements; improved support for localization; minor unit test tweaks; verified compatibility through WP 4.4+; updated screenshots; and updated copyright date (2016) 2.0.1 Minor bugfix release for users running PHP 5.2.x: revert use of a constant only defined in PHP 5.3+. You really should upgrade your PHP or your host if this affects you. Also noted compatibility with WP 4.3+. 2.0 Recommended update: internal improvements; added unit tests; noted compatibility through WP 4.1+; updated copyright date (2015) 1.9.3 Trivial update: noted compatibility through WP 4.0+; added plugin icon. 1.9.2 Trivial update: noted compatibility through WP 3.8+ 1.9.1 Trivial update: noted compatibility through WP 3.5+ 1.9 Recommended minor update: minor fix to show HTML entity encoding in tooltip instead of the special character itself; minor improvements; noted compatibility through WP 3.4+; explicitly stated license 1.8 Recommended update: added support for other post_types (via filter); enqueue JS/CSS; support localization; updated screenshots; compatibility is now WP 2.8-3.3+. 1.7.1 Trivial update: noted compatibility through WP 3.2+ 1.7 Minor update: implementation changes; noted compatibility with WP 3.1+ and updated copyright date. 1.6 Recommended major compatibility update. Highlights: JS/CSS handling tweaks; misc non-functionality tweaks; noted compatibility with WP 3.0+.

常见问题:

How do I use the "HTML Special Characters" admin widget to insert special characters into other post fields (such as the post title)?

You can't do so directly. The plugin only inserts the HTML character encodings into the post body. However, you can use the "Clicking character copies it to the clipboard?" checkbox to copy the character you want to use into the clipboard, which can then be pasted into any other text entry field (in or outside of your browser). Note that the special character (if using the visual editor) or the HTML entity encoding for the character (if using the text editor) will be copied to the clipboard when you click the character. You can also hover over the character you want to use to see the HTML encoding for it (it'll start with an ampersand, &, and end with a semi-color, ;) and type that into the field.

I've activated the plugin and don't see the "HTML Special Characters" admin widget when I go to write a post; where is it?

Refer to the screenshots to get an idea of what the helper widget looks like. You should find the widget in the right sidebar of the admin page when creating or editing a post, most likely at the bottom of the sidebar. It's possible it may have been dragged to someplace below the textarea where you provide the post's content. If you still can't find it, look to the upper-right of the page for a "Screen Options" link that reveals a panel of options. In the "Boxes" section, ensure the checkbox for "HTML Special Characters" is checked.

Does this plugin include unit tests?

Yes.

更新日志:

2.3 (2018-06-27) 2.2 (2017-02-07) 2.1 (2016-01-19) 2.0.1 (2015-09-08) 2.0 (2015-02-15) 1.9.3 (2014-08-30) 1.9.2 (2013-12-28) 1.9.1 1.9 1.8 1.7.1 1.7 1.6 1.5 1.0