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

Simple Select All Text Box

描述

The function of this plugin is to easily create text boxes which automatically select everything inside with one click.
It’s useful for song lyrics, directions, small bits of code, etc.

In a post or page use the shortcode [textbox rows="3"]Contents of textbox[/textbox] to create a textbox.

屏幕截图

  • Screenshot of a text box in a post.

安装

  1. Upload the whole simple-select-all-textbox folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. In a post or page use the shortcode [textbox rows="3"]Contents of textbox[/textbox] to create a textbox.

常见问题

  • To create a textbox in a post or a page use the shortcode: [textbox rows="3"]Contents of textbox[/textbox] You can change the amount of rows to your liking, or omit that option to let you site’s stylesheet decide the height.

评价

2016 年 9 月 3 日
This plugin works great. Very useful for adding text that’s intended to be copied easily like addresses, phone numbers, etc.
阅读所有1条评价

贡献者及开发者

“Simple Select All Text Box” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

  1. 1.0, it begins.
  2. 2.0, fixed bug which prevented multiple textboxes on one page.
  3. 2.1, fixed bug which showed html markup in textbox.
  4. 2.2, fixed some bugs and added ability to use nested shortcodes. Added class ‘select_all_textbox” for styling.
  5. 2.3, fixed problem with multiple textboxes in one post not working correctly. Also streamlined the code a bit.
  6. 3.0, plugin overhaul. Removed options page, now all options are accesible from the shortcode itself. Text box content is protected now (reverts back to original content when changed). Displaying code is possible now within the textbox. Added ability to add custom classes to the textbox.
  7. 3.1, execute shortcodes within textbox
  8. 3.2, Update tested WordPress version and fix insructions link.