Recently, I had to work on a site that had a few things going on: It had some users with custom roles, and capabilities Those users had a simplified dashboard WooCommerce was enabled. The problem was that when those users logged in, WooCommerce would redirect them to the “My Account” page, instead of their simplified dashboard…. Read more »
Posts Categorized: PHP
Advanced Custom Fields Google Maps Tutorial
Update (Oct. 31, 2016): Google Maps now requires that you have an API Key in order to add maps via ACF. The tutorial reflects this new requirement. One of my go-to plugins is Advanced Custom Fields. It is versatile, and makes adding custom fields to posts, pages, custom post types, and even user profiles a breeze…. Read more »
Advanced Custom Fields Image Object Tutorial
Update (10/11/2016): I added some escaping to the examples. Better safe than sorry. When creating an image custom field in Advanced Custom Fields, it gives you the option of setting the “Return Value” as an “Image Object”.