Skip to content

PHP Customization - how to register new sidebar?

1 minute read

  1. 1 Find /wp-content/themes/myhome/includes/class-myhome-init.php file
  2. 2 Backup the file
  3. 3 Search for add_sidebars
  4. 4 Add new sidebar e.g. Copy MH Sidebar
  5. 5 Please use unique "id" - IMPORTANT: ID should be LOWERCASE**
  6. 6 Paste and change name and id (e.g. My New Sidebar + my-new-sidebar)
  7. 7 Your new sidebar will be aviable, you can drop there own widgets
  8. 8 You can display it on any page e.g.

It will be displayed at the bottom of a page e.g.

Ask the people who build MyHome WPBakery

We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.

Was this guide helpful?