WordPress 4.5 Custom Logo API: Getting the logo URL

WordPress 4.5 is here with a new API for a Custom Logo. Just by adding an add_theme_support like this:  add_theme_support(‘custom-logo’); Remember it’s best called in the after_setup_theme hook. So now you’ll have a logo selector in your themes customiser.  You can then use the following to detect the logo, echo the logo or return the logo as … Continue reading “WordPress 4.5 Custom Logo API: Getting the logo URL”

Search Relevance 2.0

Search relevance has been updated to 2.0 adding new features to control the display of  relevance score, highlighting search terms and custom excerpts focused on the relevant part of the post. Still giving you amazingly relevant search results, out of the box, without the need for complicated indexing. If you have any ideas/requests for simple … Continue reading “Search Relevance 2.0”

WordPress Developer Debug.

When developing themes and plugins for WordPress I often find myself with the dreaded white page – or just half a page with no useful error information. You may already know about the WP_DEBUG constant, if you don’t its found in your wp_config.php file and you just change it to… define(‘WP_DEBUG’, true); to turn it on debugging. Chances are that with this turned … Continue reading “WordPress Developer Debug.”

Gmail issues on Mac OS X. [Nonexistent]

When moving over from using Gmail via MS Outlook to OS X a little know error sometimes occurs with labels and folders. If Apple Mail reports “Mailbox Does Not exist”, or Thunderbird gives “[Nonexistent] Unknown Mailbox” then all you need to do is rename your labels. Folders created in Outlook became labels with the name … Continue reading “Gmail issues on Mac OS X. [Nonexistent]”