This quick tip will show you that how you can remove blank lines from Contact Form 7 during submission for optional fields which were left empty by user.
Have been looking for a good search and replace plugin for WordPress? There are many search and replace WordPress plugins but most of them fail to fulfill your needs. For example if you need to search and replace a url within serialized data then most of the worlds cannot handle that. I have been developing […]
The default starting and ending tags of the loop in main shop page of a WooCommerce theme are <ul class=”products”> and </ul>. Changing starting and ending tags might be needed due to various reasons. Lets say you have customized the content-product.php file of WooCommerce and have added some divs inside the <li> tag which is […]
If you ever need to display WooCommerce product variation image, somewhere in single product page, upon selection from variation dropdown menu then use this technique to achieve that objective. This solution can be useful in situation when you use a third party product slider and that product slider doesn’t support the feature to show the […]
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 was that my client wanted to get the WODs from Wodify service which would push daily WODs to a specific category of posts type post. But this lead to […]
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 previous_post_link. Especially if you working with Bootstrap or Zurb foundation frameworks as these two frameworks require specific css classes for formatting. So have come across similar situation and we […]
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 last post. If you come across a situation where these two handy functions do not work as expected then most probably you have installed a plugin which is interfering […]