Home › Forums › Weaver Xtreme Theme › No Sidebars for a Specific Category – Split the Rest
- This topic has 8 replies, 3 voices, and was last updated 1 year, 8 months ago by
williamweaver.
-
AuthorPosts
-
January 13, 2025 at 02:54 UTC - Views: 75 #75328
Split sidebars by default for archives.
Can I go sidebar free for the category Cats?
January 13, 2025 at 04:26 UTC - Views: 71 #75329User
Moderator@Scrambler will need to comment.
January 13, 2025 at 05:06 UTC - Views: 65 #75330User
ModeratorI am outside at the moment, so can’t check much, but I believe that a combination of using the appropriate Page Template and a Category selection etc on the Weaver Xtreme Options will get you there.
Regards!
January 13, 2025 at 05:56 UTC - Views: 63 #75331scrambler
ModeratorArchive category pages are automatically generated so they do not have individual page settings to change the sidebar.
One way around it would be to create that category page manually using a page with posts which will then have per page sidebar options. But that will not change the default category page, so it depends how you are accessing that page.
May be give us more details and a link to the site and page and the scenario for accessing that category page.
There would eventually be a possibility to use custom CSS to remove the sidebar on one specific category page. Here again, we need a link to the page to help
January 13, 2025 at 12:37 UTC - Views: 55 #75332williamweaver
Participanthttps://testsite.top/category/apples/
https://testsite.top/category/bees/default split sidebars
https://testsite.top/category/cats/
no sidebars, please and thanks
January 13, 2025 at 16:31 UTC - Views: 45 #75333User
ModeratorUnless I am missing something, that seems eminently doable with the standard manual written Xtreme Page Template options and a Category selections from the Weaver Xtreme Options. So, one page per category item is needed.
Then again, if you wish to just have a list of posts of given Categories, then the plugin “List Category Posts” will do that perfectly. But again, it will require one unique page per category.
The “no sidebars” is a stock Xtreme option as I recall.
Hope this helps.
Regards.
January 13, 2025 at 16:47 UTC - Views: 38 #75335williamweaver
ParticipantA page with posts is not going to work.
The post will say: Posted in: “Cats”, so that link points to a category called Cats, not a page with posts called Cats.
January 14, 2025 at 01:03 UTC - Views: 35 #75337This reply has been accepted as the best answer.
For a right and left sidebar as on the linked page, adding the CSS below to the theme Global custom CSS rule box should hide the sidebar and resize the content just of the cats page
.category-cats #container-inside #primary-widget-area, .category-cats #container #secondary-widget-area {
display: none;
}
.category-cats .l-content-ssb {
width: 100%;
margin-left: 0;
}If the sidebar configuration changes, the CSS will be different
There also probably ways to redirect a category page to a regular page using a plugin like below
Using such a plugin, you could redirect the default WordPress category page to a Page with posts created by you displaying the same but with the per page option set to no sidebar
January 14, 2025 at 02:35 UTC - Views: 9 #75338williamweaver
ParticipantThank-you @scrambler. I knew that you would know how to code it out. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.

