Language filtering for AJAX operations

WPML AJAX Call Returns Default Language

If you are facing “WPML AJAX Call Returns Default Language” problem on your WordPress site then we have the solution for you. This is a common problem with developing multi-language WordPress sites with WPML. If you are logged in then the queries in the same browser will return correct results but if you test your […]

Change Currency in WPML Based on Geolocation

Have you ever faced a situation where you needed to change currency in WPML based on geolocation? If so then you must have looked into WPML settings only to find out that WPML doesn’t have any such built-in feature. Following is a piece of code which will change currency in WPML based on geolocation. This […]
Center Align Select Menu in HTML With CSS

Center Align Select Menu Text in HTML

Ever needed to center align Select Menu Text in HTML with CSS? If you did and succeeded with text-align: center in FireFox but failed in Chrome then fear not as we are giving you this simple tip to make it work in Chrome and Safari on both desktop as well as in mobile phone screens.
Responsive Video Using CSS

Responsive Video Using CSS

Responsive Video Using CSS, yes that’s right. No javascript or jQuery is needed to make videos responsive on your website. This quick tip applies to both iframe based embedded videos e.g. YouTube or Vimeo as well as self-hosted videos. HTML code for embedded YouTube video: <div class="responsive-video"><iframe src="https://www.youtube.com/embed/YOUR-VIDEO-ID" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>   <div class="responsive-video […]
Solving Common Contact Form 7 Issues

Solving Common Contact Form 7 Issues

We all come across scenarios where we face common Contact Form 7 issues. For example the common issue is to use a human readable label for select dropdown menus instead of “—“. Luckily Contact 7 provides filters which can be used to solve some of the common issues. Shortcodes Within Contact Form 7 Forms One […]
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 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 […]
  • 1
  • 2