Creating A Custom WordPress Multi-instance Widget

While working on a client PSD to Wordpress conversion, I faced a situation where it was useful to create a custom widget that would help the client organize content on their site in the footer area. The client had four blocks in the footer area that he wanted updated but in slightly different configurations i.e title, image, text and a link.

This made me start digging into Wordpress Widgets API and I discovered since version 2.8, widget development has become easier as you only need to extend the standard widget class and some of its functions. Also, it now allows multiple use of each widget.

Read more

Adding nofollow attribute to the link to comments generated through wordpress comments_popup_link

If you are using the template tag comments_popup_link to display the link to post comments or open up comments pop up window, you would like to make those links “Nofollow”.

Read more

WordPress Hacks : Get the depth of a category or Category depth

Wordpress doesn’t have a function to get the depth of a category. Here is a function to get the depth of a category

Read more

“An Unexpected HTTP Error occurred during the API request”

I have been getting this error on my client Wordpress Admin Dashboard as I tried to install a plugin. A quick fix to the error is to edit http.php file under wp-includes folder of your wordpress site/blog installation.

Read more

WordPress Fix: Fatal Error: Allowed Memory Size of 33554432 bytes exhausted

ShareTweet -Download your wp-config.php -Make a back up of the file before editing – On top of the file add define(’WP_MEMORY_LIMIT’, ‘64M’); just after the opening <?php That would solve the error. If that doesn’t work, talk to your host.

Read more
Web Design Nairobi,Kenya Website Design, Website Design Kenya,Nairobi Website Design