Wordpress

Sorty Terms by Latest Post Date Image

Sorting Category and Taxonomy Terms by Latest Post in WordPress

Recently I needed to implement a way to return custom taxonomy terms sorted by their latest posts. For example, imagine we have a movie review site, and we use the default category taxonomy as “Movie Categories”. Maybe they will have the following taxonomy terms: Getting taxonomy terms with get_terms() We can easily get the category […]

Most Useful Wordpress WP-CLI Commands

Most Useful WordPress WP-CLI commands

When working on a WordPress site, I often find myself using WordPress’s command-line interface tool called WP-CLI. With WP-CLI you can do a lot of tasks that normally require a separate plugin to do, or tasks that normally may be challenging using just the website. I will go over some of my most used commands […]

Wordpress category Thumbnail

WordPress Optimization Technique: Removing unused CSS styles and Javascript from the front-end

Overview WordPress is a popular platform to use when developing websites. It is easy to spin up and deploy, easy to develop with, and most importantly, provides huge options for extensibility due to its large plugin and theme directory. WordPress and its plugins allow webmasters to add features and modify their websites even without any […]

Image for JSON-LD Structured Data Markup Schema by developers.google.com

Implementing structured data markup (JSON-LD Schema) manually for WordPress

In this article, we will explore how we might go about implementing ourselves instead of using a plugin. We will assume we have a basic understanding of HTML, PHP, and how WordPress's theme or plugin works to add our own custom code.