We all love WordPress, but sometimes it can drive us crazy! Whether its the dreaded white screen of death, an unknown PHP error coming from a plugin or server issues causing our site to crash, it’s never fun. But whenever WordPress decides to act up, don’t worry yourself at all – there is always a […]
About Sunil Sharma
This author has yet to write their bio.Meanwhile lets just say that we are proud Sunil Sharma contributed a whooping 3 entries.
Entries by Sunil Sharma
Using WP_Query to Query by Meta Field Value In order to customize what posts WordPress returns based on meta fields, we need to use WP_Query and specify a meta_query. If, for example, we had a custom post type called ‘films’ that had a custom field called ‘director’ we could query for films whose director […]
I’ve done this a few times in the past but yesterday I decided to write these notes for a colleague to show how to construct a location based search for a new WordPress site he is developing. Essentially to create a location search, in this case for Property sales, we need to override the standard WordPress […]