I would like to know how to separate the behaviour of a single post beloning to a different category, coming from a different page...
I have a blog page with post category blog and a portfolio page with post category portfolio. The blog page needs a sidebar, also shown with a single blogpost. But the single portfolio post needs to be shown as a full page without sidebar.
I thought it would be easy but with all the new possibilities I seem to get lost somehow...
How can I achieve this? Thanks in advance!
How to separate the behaviour of single posts beloning to different categories?
(2 posts) (2 voices)-
Posted 4 months ago #
-
You can use the custom single functionality. Check the "Enable custom single templates" in the theme settings and then add cs:single-nosidebar.php or cs:single-portfolio.php to the description the category.
Posted 4 months ago #
Reply
You must log in to post.