FacetWP: How to automatically get proximity location in Listify

David Nash wordpress 6 Comments

This issue happened for me in Listify, but it should apply to any FacetWP form you don’t want to refresh. We wanted to display the FacetWP form on the home page, and have it automatically geolocate the user. This can be done simply with this jQuery code, with a click event on the .locate-me element. I found code on the Listify site that should do this, but it causes the form to reload repeatedly. I contacted them but they say they didn’t have that issue. The problem with this is that when the location gets set, the form reloads, causing it to …

Listify

Listify: How to display default images based on category

David Nash wordpress 3 Comments

You use Listify, the popular directory listing WordPress theme, but want to set default images on a category basis. Here’s how! To customise Listify, it’s best to use a child theme. Listify supplies a skeleton for you to do this. In the child theme’s functions.php, add this:

How this relates to Listify Listify has its own categories for listings. Don’t confuse them with WordPress post categories. Listify calls them job_listings because it’s based on a Jobify. Some of this terminology has carried across. When you create a listing category in Listify, you’ll get a category slug. In the child theme’s …

Listify and FacetWP: How to order results by rating

David Nash wordpress 6 Comments

Listify is a WordPress directory listing theme. It allows users to submit listings (of businesses, for example) and also allows users to rate those listings. It uses the WP Job Manager plugin to manage the listings. For some reason, it’s not currently possible to order the search results by user rating. The theme developers have told me that feature is planned for future releases. If you purchase the FacetWP plugin, it becomes possible for the user to order the results, but rating is now included. It took a little digging but here’s the solution, which I think is fairly elegant. Simply copy …