Blog

From useful code snippets to developer tutorials and presentations, here’s where you’ll find my regular ramblings about WordPress, web development, Human Resources and tech. I usually publish a new post every month.

Want to be the first to hear about every post? Subscribe to the newsletter and be notified when a post gets published.

Want to contribute? From time to time I publish guest posts from other influencers in my network. Fill out the form to express your interest in becoming a guest blogger. 

How To Get The Excerpt By Post ID

October 25, 2021

Cameron Jones

No Comments

WordPress

Most WordPress templating functions are available in two formats, one to echo and one to return. These are normally in the form of the_xxx() to display, and get_the_xxx() to return. Some examples of this are: Post title: the_title() and get_the_title() Post thumbnail: the_post_thumbnail() and get_the_post_thumbnail() Aside from differing in returning or displaying the response, the…

View Article

How To Remove The Uncategorised Category From WordPress And WooCommerce

September 28, 2020

Cameron Jones

No Comments

Developer Tutorials, WooCommerce, WordPress

Out of the box, WordPress includes a default category for posts called “Uncategorized”. It not only looks unprofessional, it’s largely unnecessary. While you can rename it to something more suitable, I tend to use “General”, you can’t delete it. At least, not without a bit of code. The first thing we’ll want to do is…

View Article

How To Set A Default Featured Image For Your Posts And Pages In WordPress Using Advanced Custom Fields

July 25, 2020

Cameron Jones

2 Comments

Advanced Custom Fields, Developer Tutorials, WordPress

They say pictures are worth a thousand words. That might be a slight exaggeration, but images can be vitally important for websites, particularly for layouts that use featured images. It’s common for themes to display grids or lists of posts, and if some of the posts don’t include a featured image the site can look…

View Article
1 2 3 8