I just came across this issue after upgrading my wordpress to 3.3 version. All the conditional queries with is_home() condition stopped working anymore. if(is_home()) { // Show Data } This was working before upgrading to the latest version of wordpress 3.3. Upon some research, I found that I have used custom queries in my main [...]
READ MORE »Posts in category WordPress KB
Ultimate 7 Optimization Tips for Your Blog
Top 7 Optimization Tips for Your Blog Building a blog does not serve much purpose if no one can find it. These tips can help you optimize your blog for search engines. 1. Manage your site with a content management system like WordPress that makes it easy for inexperienced users to upload content with the [...]
READ MORE »Case Study: Fatal error – Call to undefined function wp_dashboard_setup() in /home/username/public_html/wp-admin/index.php on line XX
Hi, Problem Summary: Many wordpress users getting this error message when they try to login into the wordpress admin area: Fatal error: Call to undefined function wp_dashboard_setup() in /home/username/public_html/wp-admin/index.php on line xxx Possible Solution: It seems that it is due to the PHP version and settings changed on the hosting server. In order to resolve [...]
READ MORE »How To Limit Tag Cloud In WordPress Blog?
Hi, You can set Tag Cloud limit on your wordpress blog which is helpful to control page rank flow. In order to limit the Tag Cloud on wordpress blog, you have to edit the core file of the wordpress. First, find this file yourdomain.com/wp-includes/category-template.php and download it to your local machine using ftp. Find This [...]
READ MORE »Case Study: WordPress database error in WPDB Class
Hi, When user trying to manipulation on WordPress Database using $wpdb class, the following error or similar error may appear: Error Message: WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near…] Possible Solutions: One of the [...]
READ MORE »How To Get WordPress Post ID outside the Loop as PHP variable
Hi, In the wordpress loop section, each posts displayed on the page with defined format along with such criteria decided by administrator. The Loop template tag the_ID can be used to easily display the post’s ID inside the post. Alternatively, inside the the_content filter, declare $id global and use $id to retrieve the post ID. [...]
READ MORE »Case Study: array_key_exists WordPress Warning/Error – The first argument should be either a string or an integer in
Hi, Problem Error: Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /your-sitepath/wp-includes/category-template.php on line 176 Possible Solution: – This problems stems from line 176 as stated above. The simple fix is to make sure the first argument is a string, to do this we will rap it in [...]
READ MORE »Case Study: Fatal error: Call to undefined function: str_split() on WordPress Blog
Hi, Problem Summary: I have upgraded wordpress version to the latest along with plugins. I have encountered this error message on my blog as well as while trying to login into the admin area of the blog: Fatal error: Call to undefined function: str_split() in /home/…/htdocs/wp-content/plugins/pods/init.php on line 27 Possible Solution: – str_split is a [...]
READ MORE »




