R
R
RigidStyle2018-07-02 18:34:15
WordPress
RigidStyle, 2018-07-02 18:34:15

How to remember widgets on the sidebar so that they are not deleted when it is disabled?

I registered my custom sidebars (via register_sidebar), brought them to the right place. Filled them with the necessary widgets. But if I deactivate the sidebar (sometimes necessary), then after activation, all the widgets fly off it, and I have to push everything anew and configure it. How to save widgets and their settings in custom sidebars?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question