[How to] Display Most Viewed Posts First on Search Results
WPAssist / How To - April 8, 2020Wordpress 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 display search results using post view counts.
Random posts can be a great opportunity to generate hits for older content. Especially for gaming and portfolio sites this snippet will be great use. Here is how to set it up for your theme.
For many clients, login page is a really important part of the site design. Customized WordPress login pages give the site a professional look. Here I will show you how to customize your WordPress login page background and logo in a few steps.
If you have hidden pages on your blog, you may want to hide them from search results too. Here is a little trick to hide them all.
In the new versions of wordpress this would be enabled by default, plus most themes enable it. But if your theme doesn’t have post thumbnail feature for pages, you can easily enable this feature by adding the following code to your functions.php file..
One of my visitors asked me how to get page id using page slug and I created a small snippet to easily achieve this in a simple loop. Follow read more link to see the snippet.
Dropdown Menu Widget is no longer maintained. Please use it at your own risk. Dropdown menu widget is so easy to use as a widget, but it also supports usage of PHP template tags. Using PHP code to insert the menu, you can easily add […]
This is a quite simple job anyone can do. Many themes now support custom background under theme settings. If yours doesn’t support it, let’s add this support together.
Testking created an amazing infographic for wp theme developers. You will find anything you need while designing a theme on this graphic. Must have.
This is an old trick, but in case you missed it i am re-publishing it. This is a really simple thing to do. Just follow these steps.