June 25, 2015
How to Exclude Categories From Default WordPress Loop

How to Exclude Categories From Default WordPress Loop

Recently I was working on a gym WordPress website and I needed to exclude WODs category from the default WordPress loop. The reason of this requirement […]
June 19, 2015
Add css classes to WordPress posts links generated by next_post_link and previous_post_link functions

Add css classes to WordPress posts links generated by next_post_link and previous_post_link functions

You might have across a situation where you needed to add css class to the html markup generated by WordPress posts links’ functions of next_post_link and […]
May 24, 2015
Broken Next Previous Posts Navigation

Fixing Broken Posts Navigation

According to the WordPress codex the get_previous_post and get_next_post should either return null or empty in single posts navigation when you are at the first or […]