You might have notice'd we'd implemented a autoformat button. We'de like to share our knowlege with you so you can be as lazy as you can get when activating this plugin. So wake up and take some coffee because this is how it works:
- We loop trough all registered sidebars.
- When a sidebar has a 'category' field we take that as our active sidebar.
- We split the id of the sidebar on a underscore (_) or a hyphen (-), when the splitting actually works the first group is considered as the category.
- Your sidebar is listed under the other sidebars.
Example of id conversions:
- post-archive-header | Will result in category: post
- post_archive_header | Will also result in category: post
- postarchiveheader | Will result in category: other