Here’s another simple WordPress plugin I came up with. I was trying to figure out an easy way to create a text box for some song lyrics which, once clicked, selected everything inside so anyone could easily copy and past the contents. Well, once I figured out how to make it I figured I would make it easier for others who want to do the same thing. Hence, Simple Select All Text box was born.

Download Plugin

Instructions:

To create a text box in a post or a page use this shortcode:

[textbox rows="3"]Contents of text box[/textbox]

Options are as follows:

  • rows Number of text rows. This will determine the height of the text box. (optional)
  • width Width of the text box in pixels. (optional)
  • code When set to true the content of the text box will not be escaped. Useful for including code snippets. (optional)
  • class Specifies a custom class to use on the text box. Useful for styling. (optional)

Installation:

  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. Go to the options page to adjust the width of all text boxes made using this shortcode.

Example: