Disable WordPress Automatic Updates

wordpress-logo-notext-rgbWordPress Automatic updates were  introduced in WordPress 3.7, this means most sites are now able to automatically apply these updates in the background.By default, automatic updates are only enabled for minor core releases and translation files, if you’re on WordPress 3.9.0 and version 3.9.1 is released the application will auto update itself. We will have to update WordPress manually when major version is release, e.g WordPress 4.0 Continue reading

Useful WordPress Plugin: Category Order and Taxonomy Terms Order

taxonomyorder Category Order and Taxonomy Terms Order is a powerful plugin to re-order categories and all custom taxonomies terms using a drag and drop capability. The best thing about this plugin, we don’t need to change theme code just to re-order categories and taxonomies, the plugin will do it for us. Just drag and drop category or taxonomy terms, voila! this plugin sort this out without any programming to theme files.

If multiple taxonomies are created for a custom post type, a menu will allow to chose the one need sorted. If child categories (terms) are defined, those can be order too using the same interface

 

WordPress: How to Hide Custom Field Meta Key from Custom Fields panel

WordPress - the logo
I learned this trick when someone asked about How to Hide Custom Fields Meta Key from Custom Fields panel. This trick useful when you want to hide certain Custom Fields Meta Key and Value from client or authors
Custom Fields
Add following code to functions.php

add_filter('is_protected_meta', 'my_is_protected_meta_filter1', 10, 2);
function my_is_protected_meta_filter1($protected, $meta_key) {
    return $meta_key == 'mymetakey_no1' ? true : $protected;
}

This code to hide a Custom Field Meta Key, just change mymetakey_no1 to meta key name that you wanted to hide. What if you want to hide two Meta Key?, add following to functions.php underneath above code
[/php]
add_filter(‘is_protected_meta’, ‘my_is_protected_meta_filter2’, 10, 2);
function my_is_protected_meta_filter2($protected, $meta_key) {
return $meta_key == ‘mymetakey_no2’ ? true : $protected;
}
[/php]