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 »

How to Fix - Server DNS Address Could not be Found Windows 7 8 10

How to Fix – Server DNS Address Could not be Found Windows 7 8 10

There might be problem with your DNS servers of ISP. A computer by default uses ISP DNS servers. You can manually configure your DNS servers. It is free and usually better than your ISP. Solution 1. 1.Goto Control Panel – Network and Internet – Network and Sharing Centre 2.Click on Change Adapter settings. 3.Right click

How to Fix – Server DNS Address Could not be Found Windows 7 8 10 Read More »

Change placeholder text for wordpress search box

Change placeholder text for wordpress search box

Today we will learn how to Change placeholder text for wordpress search box. Just Add the below code to the functions.php in your wordpress theme and all done. Placeholder text can be change/Replace to any text also Search button can be change to anything. function html5_search_form( $form ) { $form = ‘<section class=”search”><form role=”search” method=”get”

Change placeholder text for wordpress search box Read More »