Support » Requests and Feedback » Changing themes will loose widgets arrangements for previous theme

  • Every time I change the theme the widgets area is reset. It is understandable since every theme doesn’t have same widget area. But could WordPress just remember the widget settings per theme? When I switch back to a used theme, it won’t remember what widgets were associated with it so I have to put them back one by one from the “Inactive Widgets” stock.

    Sorry this is asked several times before but the previous related topics are all closed and the problem is still there…
    This is quite annoying and I’ve waiting for longtime for the update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Not right now, because all themes use the same wp_options setting for widgets. There’s no real theme ‘deactivation’ which would allow you to back those up, and unlike Plugins, these options are essentially ‘reused’. It’s working as designed right now.

    Would it be a good idea to have theme specific options, perhaps by prepending the theme slug onto the option name?

    Thread Starter noixdarec

    (@noixdarec)

    Thanks Ipstenu, got it. hope that would be considered as a todo.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    noixdarec – It’s in Trac I believe, but flagged ‘future’.

    fonglh – I think they are flagged that way, which is why you lose them between theme changes. I remember listening to folks chat about this, and how annoying weird and complex it was.

    Personally I’m thrilled they save ’em in inactive! I remember when they were just GONE!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing themes will loose widgets arrangements for previous theme’ is closed to new replies.