Blog Archives

  • Custom Pretty URL in WordPress

    This tutorial will help to create a pretty customized URL for wordpress post. 'generate_rewrite_rules' action is used to create a new URL format and 'WP_Rewrite' is WordPress class for managing the rewrite rules that allow you to use Pretty Permalinks feature.



  • Hide the Admin Bar in WordPress

    Hide the Admin Bar in WordPress

    If you have question, How to "Hide Frontend Admin Bar and Toolbar" according to our User Roles. Please see the below methods to hide the admin bar from front side.


  • WordPress have_posts()

    WordPress have_posts()

    WordPress have_posts() functions is used to check the current wordpress query has any data to loop. It will return true If data is available. Otherwise it will return false.


  • WordPress Admin Page Redirected To Homepage

    WordPress Admin Page Redirected To Homepage

    In this wordpress post, i added the sourcecode to redirect the page or denied the permission When the unauthorized user level will try to access the admin section. Using this sourcecode i am allowing […]


  • WordPress Redirect Page After Login

    WordPress Redirect Page After Login

    In this WordPress post, i added the source code to redirect the page after the log in like simple redirect plugin. I would like to give the access of admin panel for “administrator” and […]


  • WordPress 3.5 New Color Picker

    WordPress 3.5 have the default option for color picker. It was cool and reduced my work for color picker. I add the source code to show color picker in your wordpress form of admin […]


  • Create WordPress Admin Menu Plugin

    Create WordPress Admin Menu Plugin

    I am learing about “How to develop wordpress plugin”. In this tutorial i will give some information about “How to add wordpress plugin menu in admin menu list”. I did it using function and […]


  • Random Post In WordPress

    Random Post In WordPress

    Now I learnt in wordperss “How to display random post in home page”. It is very easy. Just we have to add action in “pre_get_posts” tag. I added sourcecode below <?php add_action('pre_get_posts','bscode_random_post'); function bscode_random_post($query){ […]


  • Setting link for wordpress plugin

    Setting link for wordpress plugin

    This tutorial will help you to set the “settings” link to your plugin in plugin list page “../wp-admin/plugins.php”. I added one function “add_settings_link_to_your_plugins” to set the setting link and i called this function using […]