Month: May 2011

  • 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 } ?  

  • Decrease windows 7 sp1 service pack 1 disk space size

    hust make things easier open command prompt from run then type cmd note run  as administrator   this   dism /online /cleanup-image /spsuperseded   enjoy up to 2 giga of free space may be more it is safe it is from microsoft note mine 🙂

  • Useful PHP Functions and Features You Need to Know

    Even after using PHP for years, we stumble upon functions and features that we did not know about. Some of these can be quite useful, yet underused. With that in mind, I’ve compiled a list of nine incredibly useful PHP functions and features that you should be familiar with.   1. Functions with Arbitrary Number of […]

  • 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 […]