CSS Background Shorthand

May 14th, 2020

Short for the Background image property. div { background: url(image.svg) top left / 100% 100% no-repeat #f6f6f6; }

Order ‘post__in’ IDs by Array Index in WordPress Query

May 11th, 2020

I use ACF a lot in my projects and when I use the Post Object field to select multiple posts for use with a custom query loop, I always forget how to order based on the posts ordering in the backend. If you want to mirror the ordering position, adding in the ‘orderby’ => ‘post__in’ […]

Bean

May 5th, 2020

More practice with Procreate.

Display All Taxonomy Terms In WordPress

May 4th, 2020

I always have to Google this, so putting it here for reference. If you want to get all of the selected taxonomy terms for a post, use this snippet. $terms = get_the_terms( $post->ID , 'taxonomy_category' ); foreach ( $terms as $term ) { echo $term->name; }

The Donald

May 2nd, 2020

Getting to know Procreate a bit more.