Monthly Archives: January 2011

Custom Columns on Post Administration Pages

You can now add Custom Columns to Post Administration Pages especially when you are using Custom Post Types. The snippets of code below will help you set up new columns for your post type pages in no time. add_filter(‘manage_edit-_columns’, ‘column_columns’); … Continue reading

Posted in Tutorials | Tagged , , | Leave a comment

WordPress Homepage Pagination

Ever wanted to add Pagination to your homepage list of blogs or your Archive? Well now you can. Here is a snippet of getting pagination right to your theme file. function numbered_page_nav($prelabel = ”, $nxtlabel = ”, $pages_to_show = 6, … Continue reading

Posted in Tutorials | Tagged , | Leave a comment

Canonicalize your WordPress

WordPress recently updated it’s core library to handle Canonicalization of pages and posts to avoid duplicate content(as explained here). Here is a small snippet of code to provide you with a more flexible and customizable way of making canonical URLs … Continue reading

Posted in Tutorials | Tagged , , , | Leave a comment

Detect a returning user with Browser cookies

There are a few ways to tackle this problem. Let’s take a look at the easiest way to do this. basically, we will be using the browser’s COOKIES. These are data stored in your browser about your visit on a … Continue reading

Posted in Tutorials | Tagged , | Leave a comment