I showed you how to use widgets using the_widget in your php templates before. Upon request, I am going to show you how to use WordPress RSS Widget with the help of WordPress the_widget function.
Continue reading “[How to] Use WordPress RSS Widget in PHP Templates”
Wordpres adds custom classes to
<body> depending on the page you are viewing. This is a great function that can be used for styling your theme. Here i will show you how to add body classes depending on the browser your visitor is using. So you can style your theme layout using those classes. Continue reading “[Hack] Add Browser CSS Classes to Body Using WP Filters”
Wordpress by default shows latest posts first on archive and search pages. Here I will show you how to display search results using post view counts.
WordPress by default, shows latest posts first on archive and search pages. Here I will show you how to sort your posts on search results page using post view counts.
Continue reading “[How to] Display Most Viewed Posts First on Search Results”
Most of the users don’t reach your second page on an archive page, so why not randomize your archive pages to get some hits for your older content.
Continue reading “[How To] Display Random Posts on Archive Pages”