Edit: Yoast now has an internal function, yoast_get_primary_term_id(), that provides the primary term for a specific post. Displaying WordPress categories in a theme can be a challenge because a post could belong to several different categories and if the theme has to display 30 categories for each post in a list, it could get messy. […]
WordPress
Efficiently Deleting WordPress Posts Using SQL
For the past few weeks I’ve been working on a WordPress plugin for importing a CSV into a few custom post types and taxonomies. I realized that sometimes going “The WordPress Way” isn’t actually the best way to do things. Occasionally, the quickest way to get stuff done is to dive into some SQL.
How to Add Google Analytics to WordPress
Google Analytics is one of the best ways that I have found to really track who is visiting your website. It gives you a clear view how users are getting to your site, how they interact with it, and how long they stay on it. This is one of the most important tools you need […]
How To Create A WordPress Website
So you want to create a website. But you don’t know how to code or even where to begin? Well, let me walk you through one of the easiest ways to get your own WordPress website up on the internet in just a few steps.