Bug when adding new widget locations to a wordpress theme
Hi, I noticed a kind of annoying bug and wanted to know if it had been reported or if it can be fixed in later versions of WordPress.
I code my own themes from HTML –> WordPress.
Let’s say I create 3 widget positions in functions.php and then I go and add some widgets in the WordPress admin section.
Later on I decide I want to create another widget position in functions.php … If I add this new widget positition to the top or the middle of the existing widget positions, then when I go back to the widget manager in wordpress, it actually shifts all my widgets around so that things assigned to Widget Position 1 get moved to Widget Position 2, etc… The only way around this is to add the new widget position as the last one being declared in functions.php .
I know the easy solution is to just add it to the end, but this is still kind of annoying. Widgets should stick to the assigned position regardless of how many new ones are created.
- The topic ‘Bug when adding new widget locations to a wordpress theme’ is closed to new replies.