by Shashi Dhar Kumar | Mar 11, 2012 | Open-Source, Programming, WordPress
Open “function.php” add the following code to add new custom post type : <?php add_action(‘init’, ‘featured_post_register’); function featured_post_register() { $labels = array( ‘name’ => _x(‘Featured...
by Shashi Dhar Kumar | Feb 10, 2012 | PHP, Programming, Unix OS
How to redirect web based page with .htaccess Following are the code to paste (be careful to write on .htaccess it can be messed up whole website if anything goes wrong) into .htaccess file 301 redirection for any domain : RewriteEngine On RewriteCond %{HTTP_HOST}...