Archive: WordPress

Home

Checking for meta data in WordPress

Meta data is key:value paired data associated with posts, taxonomies and users in WordPress. Post meta data is stored in the wp_post_meta table, taxonomy term meta data in the wp_term_meta table and user meta data in the wp_user_meta data table. Post Meta Retrieval One common question is how to check that post meta data...
Read More

WordPress Trac: Taxonomy 23421 23422 33841

During early stage development of the plugin that I use to create complex data structure combinations with custom post types, taxonomies, and meta data, I found several features that were either missing from the WordPress admin UI, or were difficult to easily achieve, and which would be better integrated as an argument to generic...
Read More

Loading Conditional Stylesheets In WordPress

Most developers will be familiar with conditional stylesheets such as the standard Internet Explorer conditional comments that allow you to load a stylesheet only in IE - a familiar site for IE5-10. Fortunately browsers are adhering to standards more every iteration. Unfortunately we still have to support the bad ones: <!--[if lt IE 9]>...
Read More

WordPress: Localization, Javascript & IIFE

If you've been curious how a WordPress theme handles custom javascript - and particularly jQuery - functionality, then you may have delved inside the default WordPress theme, currently TwentySixteen. The main custom javascript file is functions.js, in the theme js subfolder. You may have noticed something that not everyone is familiar with. The code...
Read More

WordPress: Loginizr Plugin

I've just released the first of a number of plugins to the WordPress repository that centre around the relatively new WordPress Customizer. This is the integrated cutsomizer that can be accessed through themes > appearance > customise. It's a versatile way of integrating with core WordPress functionality without the bloat of menu or option...
Read More