Search Byte.net
Recent Comments from this Network
-
Recent Posts
Recent Comments
Archives
Categories
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-<custom post … Continue reading
Posted in Uncategorized
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 Uncategorized
1 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 Uncategorized
1 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 Uncategorized
Leave a comment
Remember an Action using Browser Cookies
So if you want to remember a user’s action, all you need are cookies. Cookies, as defined by Wikipedia, is also known as web cookie, browser cookie, and HTTP cookie. It is a piece of text stored on a user’s … Continue reading
Posted in Uncategorized
Leave a comment