How to add the some text or HTML code on home page – WordPress

If you want to add some different text or HTML code just use following code: <?php if (is_home() { ?> HTML CODE GOES HERE OR TEXT <? } ?> Have fun!

How to fetch the Feedburner Subscriber Count in wordpress

We all are using the feedburner button in wordpress sites. To showing the feedburner subscriber count use the following code. Just copy paste the following code in your sidebar.php file(This file you will find in your template folder.) <?php //You … Continue reading

How to Display any RSS Feed icon on Your WordPress Site

Best way to put RSS feed icon is text widget. You can put RSS feed icon using text widgest. Go to widgets section and in sidebar put one text widget. Just copy paste the following code in text widget. <a … Continue reading

How to add custom header, footer, or sidebar for different categories – WordPress

If you want to add the different header for each category then use the following code in your index.php where “get_header()” method is called. <?php if (is_category(‘new_category’)) { get_header(‘ new_category ‘); } else { get_header(); } ?> Create the Header-new_category.php … Continue reading

Best 7 Cheat Sheets for creating the WordPress Themes and Plugins

Here is the list of cheat sheets which are very useful when your developing new theme or plugin. WordPress Theme Development Checklist Download PDF : Download Cheat Sheet » Source : wptoy.com WordPress CheatSheet Download PDF : Download Cheat Sheet … Continue reading

wordpress database migration change Steps

first go to wp-config.php file and change database name(what you want) 1. wp_1_options -Table name option_name column – change(siteurl and home) 2. wp_blogs- Table name domain column – change 3. wp_site- Table name domain column – change 4. wp_usermeta meta_key … Continue reading

General Guidelines when you are developing the new Theme

Please use following guidelines whenever you are developing the wordpress theme Indicate precisely what your Theme and template files will achieve. Adhere to the naming conventions of the standard theme hierarchy. Indicate deficiencies in your Themes, if any. Clearly reference … Continue reading

find replace in post wordpress and worpdressmu

Use this query for wordpressmu users “UPDATE wp_1_posts SET post_content = REPLACE(post_content, ‘www.test.com’, ‘www.secondtest.com’);” Use this query for wordpress “UPDATE wp_posts SET post_content = REPLACE(post_content, ‘www.test.com’, ‘www.secondtest.com’);”

WordPress Theme Template Files List

Here is the list of files which are required in wordpress theme. Whenever you are creating the new theme for wordpress, make sure that following files are present in your theme. style.css The main stylesheet. This must be included with … Continue reading