Sidebar option not saved for pages (but saved fine for post/custom post)

Strange problem (WordPress 6.1, PHP 8.0.25):

I created a new sidebar using the Appearance -> Multiple Sidebars menu. The new sidebar appears in the selection list in the “Sidebar” section of any page and can be selected instead of “Default Sidebar.” However, after saving that page, the selection list shows “Default Sidebar” again. This strange behavior is only for pages; Any post or custom post remembers my sidebar likes (and shows the new sidebar).

I also tried using an addon (custom sidebar by webfactory), same behavior (except that the addon allowed to replace the blog sidebar with my sidebar, but I can’t use the addon just to fix that thing) I’ll do what should work). Tried selecting all other page templates in the theme (Ecoworld by Softwebmedia), tried changing the content layout to show the sidebar left/right, selection for new pages vs existing ones, no difference…

any idea?

Leave a Comment