preset text in the WordPress post editor
May 16, 2009
There are built-in action and filter hooks that allow us to change things. We’ll be showing you how to use a simple filter to preset text in the WordPress post or page editor. This technique will work with both the visual and HTML editor. We shouldn’t edit core files. Then what should we edit? Only our theme’s functions.php file. or, we could go through the process of making a plugin, but this is pretty simple stuff. Open your functions.php in your favorite text editor and input following PHP code: <?php add_filter(... [Read the full story]
Insert text in wordpress post editor
April 18, 2009
Do you always insert the same text on all your posts, for exemple to tell people to subscribe to your rss feed? If yes, you should definitely set up wordpress to have it automatically inserted in the editor. There are built-in action and filter hooks that allow us to change things. We’ll be showing you how to use a simple filter to preset text in the WordPress post/page editor. This technique will work with both the visual and HTML editor. We’ve established that you shouldn’t edit core files. Then what... [Read the full story]


















