Dev Tips
Some tips and tricks related to Web development, SEO, WordPress from time to time.
CSS Background Shorthand
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
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 …
Display All Taxonomy Terms In WordPress
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
…
WordPress Plugins I Use On Every New Project
I have been using WordPress for most of my client sites, as well as personal sites for donkey’s years now – at least 12, which is insane to be honest …