Add the following lines to your WordPress Theme’s template functions.php file (For example, functions.php file for a Theme named “default” would probably reside in the directory wp-content/themes/default/functions.php) or create it as a Plugin by filling the additional Standard Plugin Information: <?php global $pagenow; if (in_array($pagenow, array( ‘post.php’, // Edit Post ‘post-new.php’, // Add New Post [...]
Monthly Archive for February, 2009
25 Feb 2009
24 Feb 2009
Customize WordPress Default Protected Post Password Form
Add the following lines to your WordPress Theme’s template functions.php file (For example, functions.php file for a Theme named “default” would probably reside in the directory wp-content/themes/default/functions.php) or create it as a Plugin by filling the additional Standard Plugin Information: <?php function custom_password_form($form) { $subs = array( ‘#<p>This post is password protected. To view it [...]