snippets Archive

How to Display Most Popular Post Without Using Plugin in WordPress

There are numerous plugins available on the WordPress plugin directory for most popular posts. We are going to display the most popular post using the simple post query based on post views. We will be using post Meta to store the views count and we’ll fetch the posts according to the views count using the

How To Force a Favicon Refresh in Website

Favicon is a small icon typically displayed in the top address bar of a browser next to the site name. Just like logo, favicon represents the identity or branding of the website. Sometimes favicon also known as shortcut icon, website icon, or URL icon. The favicon dimension should be a set of 16×16, 32×32 and 48×48 picture.

How to Add Categories to Pages in WordPress

By default, WordPress has four taxonomies that comes with right after the installation and Category is one of them. Other three taxonomies are Tags, Link Category, and Post Formats. So Category is used to group the contents into the different sections. The Posts in WordPress can be determined by which category they fall in. For