How to Display Posts on a Category Page, Divided Into Their Respective Subcategories
Say you have a category page on which you’re asked to display all the posts that belong to that category’s subcategories. So far no sweat – a category page displays by default all its descendant posts, whether they belong directly to that category or any of its subcategories. But here’s the twist: say you have to display them in such a way that the subcategory names are displayed (challenge no. 1), and under each subcategory’s name you have to display all its posts (challenge no. 2).
Understanding is_singular() in WordPress Templates
This text and video Quick Guide explains how to use is_singular(), one of the more useful WordPress template tags. We also explain the difference between the is_singular() conditional tag, and the two other related ones: is_page() and is_single().
It’s Never Been Easier to Build a WordPress Site: On The Future of WordPress Freelancing
WPShout has covered the future of creating websites for a number of years: page builders are better than ever, and Squarespace makes it easy for non-tech-oriented users to design impressive professional websites. Now, with Gutenberg, there’s the ability to create reusable blocks with all sorts of content and visual editors that appeal to every type of designer. That’s great news for business owners who need a website, but it’s mixed news for freelance WordPress developers.
How to Install WP-CLI
This text and video Quick Guide covers how to install WP-CLI, the WordPress command line interface.
What is the Best WordPress Form Plugin?
If there’s one thing WordPress has a lot of, it’s form plugins. Despite offering similar core functionality, these various WordPress form plugins are definitely not created equal; and with so many choices out there, how do we know which form plugin is best for our own WordPress projects?
Using the CSS3 vh (viewport-height) Unit
I’ve recently fallen in love with the CSS3 vh property. (vh stands for “viewport-height.”) It lets you make things a certain percentage of the height of your browser window itself—whether that “viewport” is a tablet screen, a phone screen (in portrait or landscape), a laptop, a desktop, a smart fridge(?), or what have you.
get_queried_object(): How and Why to Use It
WordPress’s get_queried_object() function has the distinction of being, I think, the most useful core function in WordPress that I didn’t know about for the longest time.
Creating a WordPress Widget to Show a Random Post
Making a widget to show a random post uses two underlying concepts you need to get familiar with to be good at WordPress development: making use of WP_Query objects, and making widgets. If you’ve not checked them before, check out our Quick Guides which more thoroughly introduce both:
How to Migrate a WordPress Site Without Crying
A major advantage of WordPress over other website solutions is that you can migrate a WordPress site. Unlike solutions such as Squarespace and Wix, WordPress sites can be freely migrated from one hosting environment to another, without your ever being locked into a specific provider.
How to Migrate your Site with All-in-One WP Migration
Migrating WordPress sites is a common and annoying task. Whether that’s between two different remote web servers, between a development server and production, or from production to local, there are lots of directions your WordPress site migration might flow. All-in-One WP Migration remains the tool of choice for us at WPShout most of the time. It’s certainly one of the best free ways to move a WordPress site.