Category: wordpress
-
secure WordPress Plugin theme Development
There are several easy to implement rules you can follow to make your code more secure which I’ll briefly explain in this post. 1. Always develop with debugging ON Deprecated notices, warnings, fatal errors – you don’t want these to be triggered by your plugin. If a server has error reporting turned on, these errors…
-
How to Disable or Limit Post Revision in WordPress
// For Disable Post Revision WordPress define(‘WP_POST_REVISIONS’, ‘false’); // For Limit Post Revision WordPress define(‘WP_POST_REVISIONS’, 5);
-
wordpress custom post type fugue icons
<?php add_action( ‘admin_head’, ‘cpt_icons’ ); function cpt_icons() { ?> <style type=”text/css” media=”screen”> #menu-posts-POSTTYPE .wp-menu-image { background: url(<?php bloginfo(‘template_url’) ?>/images/YOURIMAGE.png) no-repeat 6px -17px !important; } #menu-posts-POSTTYPE:hover .wp-menu-image, #menu-posts-POSTTYPE.wp-has-current-submenu .wp-menu-image { background-position:6px 7px!important; } </style> <?php } ?
-
useful wp-config variables for WordPress
The majority of WordPress configuration settings are found, and are easily changed, from the WordPress admin panel. But did you know about the settings and options you can enable in the wp-config.php file? Lets run through some that we’ve found useful over time. To use them, place the code into your wp-config file which is…
-
WordPress 3 Custom Taxonomies
WordPress 3 fills in a number of important gaps towards being a serious content management system. The easy-to-use custom taxonomies function gives site designers some powerful tools for building a good information architecture. Learn what taxonomies are, why they’re useful, and how to use them in today’s tutorial! What is a Taxonomy? Taxonomies are different…
-
WordPress how and what Custom Fields – theme template view
Step 1: Create a New Post In your local testing environment, create a new posting in the WordPress admin panel, and scroll to the bottom, until you see the “Custom Fields” widget. This section allows for a key, and a value. For example, if you aren’t taking advantage of the new “Post Thumbnail” feature, available…