Author Archives: wptricks
Increase Session Time of WordPress Login Cookie to 1 Year
If you wish that you or any other user in your wordpress blog should be able to maintain their cookie for a year, thus not logging in again and again,… Read more
How to Add Google +1 / Plus One Button in WordPress Blog
Click +1 to publicly give something your stamp of approval. Your +1′s can help friends, contacts, and others on the web find the best stuff when they search. To Add… Read more
Remove WordPress Admin Bar Showing On Website
The new wordpress admin bar is a cool feature introduced in the newer wordpress versions. However for some reasons you don’t like it ant want to get rid of it,… Read more
How To Get Most Commented posts In WordPress
In this post i will show how to display most commented posts (most popular) in WordPress. To display n number of popular posts, this is you should do: $popular =… Read more
How to list all posts in WordPress
To show all published posts in your WordPress blog, you first need to create a template with the following code: After you save this template in your themes folder, go… Read more
Manually Upgrade WordPress
You should always upgrade your wordpress version to the latest to get most out of it. To upgrade your wordpress manually, here are some steps: 1. Backup your database. You… Read more
How to create and use wordpress page templates
Page templates allow you to creates custom pages, eg: creating a page to display infos about the author or any random php code that you wish or anything else. A… Read more
Using Custom Fields for post thumbnail – WordPress
There are couple of ways you can show thumbnail of a post in your WordPress blog. First thing you need to do is create a custom field under add post… Read more


