How to Add Your Own Widget Area in WordPress

Sometimes, WordPress themes don’t have the right number of widgets placed in proper locations. This can be frustrating because you like the theme, but couldn’t use it well because it lacks the number of widgets you need. Well, don’t you worry now because you can add your own widget area in WordPress. All you need to do is to register a sidebar using the register_sidebar() function, then customize the theme as you see fit. You can use HTML5 for customization. After that, you can now add a sidebar to your chosen theme. Add the following snippet to your footer.php:

<div>
<?php
// Custom widget Area Start
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Custom Widget Area') ) : ?>
<?php endif;
// Custom widget Area End
?>
</div>

Read the rest of the article here: http://www.cheesetoast.co.uk/add-custom-widget-sidebar-area-wordpress/

Leave a Reply

Your email address will not be published. Required fields are marked *

*