Month: March 2018

Next and Previous Posts With Thumbnails Preview

Today we will learn how to make wordpress post page Next and Previous Posts With Thumbnails Preview. Recently One of my client want to create Previous and Next post card. i can be done by following code Default Previous and Next nav code is $prevPost = get_previous_post(true); $nextPost = get_next_post(true); These two variables will get the …

Next and Previous Posts With Thumbnails Preview Read More »

How to disable link using CSS

Sometime need to disable a link using CSS. This can be done by using a small code of CSS. Below i will show different Scenarios: Disable link that has an exact href: = You can choose to disable links that contain a specific href value like so : <a href=”//website.com/exact/path”>Exact path</a> [href=”//website.com/exact/path”]{ pointer-events: none; } Disable …

How to disable link using CSS Read More »

Scroll to Top