Simple Select All Text Box – Wordpress Plugin
November 4th, 2009
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.
Basically with a simple shortcode in a post or a page you can have your very own one click, select all text box. Here’s how it works:
- To create a text box in a post or a page use this shortcode: [textbox rows="3"]Contents of text box[/textbox] You can obviously change the amount of rows to your liking. If rows aren’t specified it will default to 5 rows.
- To create a text box in the sidebar, header, footer, etc. use this template tag:
< ?php simple_select_textbox('# OF ROWS','WIDTH IN PX','BOX CONTENT') ?>
Installation:
- Upload the whole simple-select-all-textbox folder to the /wp-content/plugins/ directory.
- Activate the plugin through the Plugins menu in WordPress.
- Go to the options page to adjust the width of all text boxes made using this shortcode.
Screenshots:

Categories: Wordpress Plugins
Listen to My Music
Sketchup