Widgets are content blocks added to the sidebar or footer of your WordPress website. They make it easy for you to drag and drop elements onto your pages—you can add anything from a navigation menu to a brand logo to a lead form.
While you can use WordPress native functions to add widgets to your website, the default settings don’t allow you to display (or disable) these widgets on specific blog posts or webpages. By default, WordPress widgets will show up on all of your webpages whether you want them to show or not. The solution: plugins. With the help of plugins, you can add custom widget functionality to any post or page.
Why Add a Widget to a WordPress Page or Post
Normally, you would add a widget to your sidebar that would display on every page of your website. This content serves as a reminder to the visitor to engage with additional resources.
This sidebar content isn’t always relevant to all your posts and pages on your website. Instead, your visitors would benefit from relevant sidebar content as it relates to a specific page.
Maybe you want to create a how-to blog post about creating videos with sample videos in the sidebar. Or you’d like a Contact Us page with a custom form widget in the sidebar like the one below.
By customizing the widgets that you display on a specific page or post, you tailor the website experience for your visitors.
How to Add a Widget to a WordPress Page
Let’s explore how plugins can help you add a widget to a WordPress page. With an easy setup process, you can update your page in just a few minutes.
Content Blocks is another plugin that lets you add widgets using the built-in shortcode functionality. What makes this plugin special is its ability to create a widget with custom content using the WYSIWYG editor.
Here’s how to use it:
Install and activate the plugin.
On the left-hand side of your dashboard, click Content Blocks.
Then, click Add Content Block.
Add a title to the content block.
Insert your desired content into the Visual Editor.
On the same page, scroll down until you see Content Block Shortcodes on the right-hand side.
Copy the shortcode and insert it into the Visual Editor of your desired page or post.
Sidebar & Widget Manager for WordPress is a premium plugin giving you full control of your content. You can drag and drop widgets to create unique layouts. It’s also compatible with WooCommerce. Learn more about the plugin and its installation process here.
Customizing your blog posts and webpages with widgets is critical to engaging your visitors. While WordPress’ default settings won’t always work for what you need, plugins offer an alternative solution to get the job done.
Originally published Sep 19, 2019 4:32:41 PM, updated September 19 2019