Category: Front-End Development
Understanding is_singular in WordPress Templates
Let’s talk about is_singular, one of WordPress’s more complicated template tags. In WordPress themes (and plugins too), we use “conditional tags” to control what shows up. This Quick Guides explains how to use the is_singular conditional tag in WordPress, as well the two other related ones: is_page and is_single. As you might guess, they all tell use something about whether or not there is one piece of WordPress content. If it is (a) singular piece of content 🤓
The Four Languages You Must Know to Understand WordPress
How to Add Custom CSS Styles to Beaver Builder Elements
After reviewing WordPress’s page builders in depth, I’ve found that Beaver Builder is my clear favorite, because it caters to people who want to do things right. Case in point: the Beaver Builder team have made it easy to add custom CSS styles to Beaver Builder elements. As with any front-end system, you can do a lot more with Beaver Builder if you understand CSS, and the software encourages this rather than trying to overcompensate for it.
How to Use get_the_author_meta in WordPress to Show Author Info
Your author’s are the heart of most WordPress sites. They write your content, engage with your audience, and generally make the site work as it should. As such, you’ll often want to get WP author meta from the site so that you can show it off in your template. The way to get meta author tag information from WordPress is a handy function called get_the_author_meta (or, if you don’t need to do any processing, the_author_meta). Using this function is a great way to get the author meta fields from your WordPress users, and show those author fields in your WordPress theme templates.
How to Submit WordPress Posts from the Frontend
You might want add new posts without having to log into the WordPress dashboard, or maybe allow your visitors a way to submit content of their own. You can do it. Figuring out how to submit a post from the front end is straightforward. In this article, we’ll cover a few ways you can create a new post form and save its results into a real, live WordPress post.
How to Prevent Browser Caching of a CSS Stylesheet in WordPress
This video and text Quick Guide explains how to prevent browser caching of CSS files, with a special focus on doing this for WordPress sites.
Learn WordPress Development: The Basic Course
WordPress development is a massively useful skill, but it’s also tricky to learn—especially if you learn things in a piecemeal way that allows basic confusions to persist while you try to tackle advanced topics.
How to Use wp_enqueue_style to Load CSS Stylesheets
Stylesheets are at the heart of making HTML pages look good, in WordPress and the web. And the way that we make CSS stylesheets load into the page in WordPress is using the wp_enqueue_style function. It’s not too complicated, but there a few common places that people new to using it will get tripped up. This Quick Guide will cover those, and then get you running in a step-by-step guide.