Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Removing default sidebars


21cdb
Participant

@21cdb

So every time i add a sidebar to my custom theme the id of the bp-default sidebar is count up by 1? That would mean i have to dive back into child-themes function.php and higher the unregister_sideabar(‘sidebar-x’) by one?

Edit: I checked it in my child-theme and the procedure above is unfortunately true. WordPress Codex also says it only goeas by ID: https://codex.wordpress.org/Function_Reference/unregister_sidebar

Skip to toolbar