Appearance Customize example code

Appearance Customize – WordPress theme Quick Start

David Nash code, wordpress 0 Comments

There’s a lot of detailed information on how to add settings under the WordPress Appearance Customize menu. It’s far too detailed if you just want to add a couple of settings. In this example I just wanted to add some simple fields. One for the company title, which differs from the site title. And another for their logo which appears in the WordPress header. Modifying Appearance Customize with functions.php

Once you add this, check under Appearance > Customize. If all is well you’ll see your logo and title field. If you’re really adventurous you could create an array of …

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 …