Wordpress

Populating ACF Select Fields with Post Type Values

In order to use Conditional Logic within the Advanced Custom Fields plugin, one needs to either use a True / False or Select field type. As of Version 4.3.7, one cannot use the…

Read More

WordPress Image Source Function

It's a little frustrating that WordPress's wp_get_attachment_image_src function returns an array instead of just a URL; instead, the function returns the src, width, and height: <?php list( $src, $width, $height )…

Read More

Importing Data using WP Migrate DB

We often use WP Migrate DB to migrate our WordPress databases from development to production. While importing a database the other day, I noticed a number of character encoding issues…

Read More

WordPress Asset Enqueuing

The way JavaScript and CSS are enqueued in WordPress can significantly affect how a site loads in the browser. Using a  CDN to host assets, loading JavaScript files in the footer,…

Read More