Search

Search

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
1 2 3 11