Get Current Child Page with get_children

There are many method to display current child page in WordPress, this function is usefull to do the same command. Just Paste this code in functions.php function sb_child_page_menu( $current_parent )…

Hide Warnings and Errors on WordPress Site

Sometimes, a plugin or theme throwing error or warning messages. To hide it, simply just put this on top of the wp-config.php file: ini_set('display_errors','off'); All set.

How to set posts redirect to a new domain

I'm moving out a blog to a new domain, and redirect all posts specifically to a new domain. http://olddomain.com/category/postname should go to http://newdomain.com/category/postname Apache Server On Apache that allows .htaccess,…