WordPress Body Class 101: Tips and Tricks for Theme Designers

If you’re an aspiring WordPress theme designer, mastering CSS is key to unlocking greater control, customization, and efficiency in your workflow.  Luckily, WordPress automatically adds CSS classes that you can utilize in your themes. Several of these CSS classes are automatically added to the section of every page on a …

Read More »

How to Set oEmbed Max Width in WordPress (4 Easy Methods)

WordPress makes it easy to create engaging, multimedia pages by automatically embedding third-party content like YouTube videos and Tweets. However, after working closely with WordPress users for the past 15+ years, a lesson we learned is that oEmbeds can also cause problems. Imagine a YouTube video overflowing its container and …

Read More »

How to Add the First and Last CSS Class to WordPress Menu Items

Have you ever spotted websites with uniquely styled first and last menu items? That’s not by chance – it’s clever CSS at work. This technique can highlight important links, like your contact page or a special offer. Many of our readers have tried adding custom classes to their menu items, …

Read More »

How to Easily Create a Custom WordPress Theme (Without Any Code)

Do you want to create a custom WordPress theme from scratch? In the past, you had to follow complicated WordPress tutorials and have decent coding knowledge to build a custom WordPress theme. But thanks to new WordPress theme builders, now you can easily make one without learning any programming skills. …

Read More »

How to Add a WordPress Widget to Your Website Header (2 Ways)

Widgets are one of the best ways to add extra content or functionality to the top of your WordPress website. These handy content blocks let you easily drop things like social media feeds, email signup forms, or even recent posts into designated areas of your theme. But we have come …

Read More »

How to Customize the Display of WordPress Archives in Your Sidebar

Here at WPBeginner, we have our own dedicated archives page. But for many WordPress sites, you don’t need a whole page. Sometimes a well-organized archives section in your sidebar is all you need to help readers find your older content. The challenge is that the default WordPress archive display can …

Read More »

How to Add Custom Items to Specific WordPress Menus

Do you want to add custom items to specific WordPress menus? WordPress menus are navigational menus that are displayed at the top of most websites. Sometimes you may want to display custom items other than plain links in navigation menus. In this article, we’ll show you how to easily add …

Read More »

How to Show Different Menus to Logged in Users in WordPress

In WordPress, the default setting is to show the same navigation menu to everyone. But wouldn’t it be great to personalize that experience a little? For example, you might want to show certain options only to logged-in users, like user profile links or account settings. Meanwhile, you can keep your …

Read More »

Default WordPress Generated CSS Cheat Sheet for Beginners

WordPress adds its own CSS classes to different elements in most themes. These default classes help style various parts of your site automatically. Knowing these default CSS classes can be really useful. They make it easier to customize your site’s appearance without starting from scratch. For example, once we started …

Read More »

How to Add a Smooth Scroll to Top Effect in WordPress Using jQuery

Want to make your website easier to navigate? Adding a smooth scroll-to-top effect helps visitors quickly jump back to the top – perfect for long pages! If you’re worried it might be tricky to set up, we’re here to tell you that you don’t need to be. 🙌 We tested …

Read More »