Theme options not showing after WordPress 4.0 update

There have been various changes in WordPress 4.0 (and now WordPress 4.1) and many themes options might have gone from the dashboard for users! Lets see how to get them back. Theme options not available after WordPress 4.0 update When I updated one of my WordPress sites from WP 3.9 to 4.0, the theme options […]

W3 Total Cache – Fixing errors

This page is dedicated to fixing w3 total cache errors. It’s full of so many errors that I’ve decided to dedicate one page to list almost all of them so that those who’re searching for it can find some fix. Fixing w3 total cache errors on Nginx Before proceeding, if you’re having w3 total cache […]

The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10)

This tutorial explain and solves the issue of having error “The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : UNABLE TO FIND END OF CENTRAL DIR RECORD SIGNATURE” while uploading the WordPress plugin file in wp-admin. While trying to install a plugin by uploading it on my WordPress site I received this error: Installing Plugin […]

WP BMI – Plugin

We’re happy to announce the release of BMI widget for wordpress plugin Plugin Name: WP BMI Download Link: WP BMI on wordpress.org | WP BMI on github WP BMI widget allows you to show a widget on your WordPress sidebar where you visitors can check their BMI. This widget installed on your blog provide your visitors the option […]

Plugin not working on new nginx server

Recently I shifted one of my websites from apache based server to nginx and a plugin I coded (BMI calculator) stopped working on it. I thought it might be due to wordpress upgrade which happened almost the same day too. As WP is fond of deprecating old stuff, I thought it might have caused the […]

Submit html code via input to WordPress options correctly

I’ve been working on a plugin and it needed to allow users to save html code as options. However while trying to do so, php (or WordPress) would automatically escape the submitted code with a backslash (\). I tried figuring out why and where it was happening and it turned out to be added right at […]

Urlencode not working for space in php – the_title() in WordPress

Today while working on a clients site trying to fix w3 validation errors I found this interesting error when urlencode was’t able to encode/escape the space character in the title of the post. Scenario (urlencode not working for space character in php): The w3 validator error said: Line 142, Column 297: Bad value http://twitter.com/home?status=10 Ways […]

Manually Canonical WordPress permalinks without plugins

First of all let me make it clear that WordPress “does” add canonical urls to your <head> section but it’s “buggy” and bad for seo. You can see that when it shows comments pages and each page, although having same article content, shows different canonical. This leads to duplicate content and/or duplicate title warning in […]

WordPress function add_filter not working [Solved]

Today I was trying to custom code the rel_canonical function of my wordpress blog but wasn’t able to override the function using add_filter function of wordpress. This could either be that add_filter don’t work for functions inside wp_head() function? or for that matter they might not be able to override when a function to be […]

Remove » from WordPress title tag

First an intro to what this character is and where it comes in from before removing it from WordPress post title tag. The character “&raquo;” is: “»” that WordPress places by default before the title of any single post or page of your WordPress blog. In this post we will discuss ways to remove it […]