Problem with new sidebars
-
Problem with new sidebars
1. In Woodmart, I created two new sidebars: stays/space
2. I set the two new sidebars in the geodirectory pages, but it seems that listing only shows “main sidebar.” Is there a solution?
Many Thanks
Attachments:
You must be
logged in to view attached files.
Hello,
You need to edit the page and in the bottom of the page settings, choose the sidebar where you want to show.
https://postimg.cc/470nZj3G
Best Regards,
Hi, I did what you said, but unfortunately it only works with fixed pages. For example: https://b2bstay.com/account/
The listings are generated from on-the-fly geodirectories and only show the main area. If there’s a solution, that’s great. Otherwise, I hope I’ll adapt the main area.
Thanks again
Hello,
In this case, this behavior is expected. GeoDirectory listing pages are generated dynamically and do not use standard WordPress page templates, so the page-level sidebar selector (the option you used at the bottom of fixed pages) does not apply to them. That’s why only the Main Sidebar is being displayed on those listing pages.
Unfortunately, Woodmart can only assign custom sidebars to Static pages, Posts, WooCommerce pages.
For on-the-fly GeoDirectory archive/listing pages, sidebar assignment is fully controlled by the plugin itself, not the theme.
Best Regards,