Adding a Widgetized Area to a Web Design Services Theme Updated on November 30, 2020 by InMotion Hosting Contributor 1 Minutes, 59 Seconds to Read When we build your site, we definitely do our best to “future-proof” your site so that you have access to everything on the site. This means, access to the items in the header and the footer. We use a plugin called Black Studio TinyMCE which allows for a visual editor to be used in the widget area. Widgets aren’t just for sidebars. Adding a widgetized area to a WordPress theme is a great way to add things like menus, embed code, etc. By using a widget area, creating a custom menu, and adding that menu with the Custom Menu widget in WordPress (Appearance > Widgets > Custom Menu) you can create a menu that anyone can easily update. This is especially handy for things like footer menus, and makes it possible for customers to easily update these areas, and can save everyone time. Copy and paste existing widget/sidebar code in functions.php, will look similar to this: register_sidebar( array( 'name' => __( 'Right Sidebar', 'yourweblayout' ), 'id' => 'sidebar-2', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h1 class="widget-title">', 'after_title' => '</h1>', ) );Change name (e.g. ‘Right Sidebar’) and id (e.g. ‘sidebar-2’) to name and id you will use for your new widget area. Will look similar to this once changed: register_sidebar( array( 'name' => __( 'Header Widget', 'yourweblayout' ), 'id' => 'header-1', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h1 class="widget-title">', 'after_title' => '</h1>', ) ); If needed, adjust before_widget, after_widget, before_title, and after_title to change the element and/or add classes.Add following code (change header-1 to match the id you used for your widget area in Step 2) to wherever you want to add the widgetized area (e.g. header.php or footer.php): <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('header-1') ) : endif; ?> Please note: When you copy the code from these areas, that they will properly indent and each line will have the correct format when you paste it into your code editor program. For more tutorials and information on how you can customize your website, please check our Web Design Services guides. Need assistance? From Website Rebuilds to Monthly Maintenance Plans, our Professional Website Services team is here to help you succeed. Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles How To Choose A Web Design Team Adding a Featured Image to Leaderboard of Web Design Serivces Website What To Do After Your Website Launches How to Add Blog Post Notifications on Web Design Services Website Learn More about Web Design Services Mobile Comps Using Advanced Custom Fields in WordPress Templates Using Google Docs for Project Revisions Creating Your Site Icon for Web Design Services Optimizing Your Images for the Web Design Services Process Membership Functionality Considerations for Web Design Services Websites