I love the new “collapsible content” field, however when using it on a “page”, its used on EVERY page. Essentially I want to be able to use the collapsible content for a FAQ, but its being shown on every “Page”. For example, I made a page called FAQ, and I want the collapsible fields to show up there, but it also shows up at the bottom of my About Us page as well. How can I get it to only show up on the FAQ page and not every single page?
Hey there!
When you create a page in your shopify dashboard you can choose a specific page template (you can find it in the last block of the page editor. In order to have different designs for diverent page categories, you can create a custom page theme in your code editor for your faq. Go to the code editor and create a new template for your faq page and design it as you want. Afterwards open your faq page in the page editor and change the theme of the page to your created page theme.
Should work
For example, I have two pages. One is FAQ with theme Template “FAQ”. The other is What We Do with theme Template “Default Template”
When I create collapsible content on the Shopify theme editor on the FAQ page, it gets added to the What We Do page as well, even though they are on different page templates.
This seems somehow impossible. Did you put your javascript into the page content or into your page-template.liquid?
I have not touched anything javascript or liquid to date. Heres a screenshot of the shopify store editor. It essentially puts the “page” first, and then anything else I add is added to all “Pages”
Just to prevent a misunderstanding. Are you sure that you are using two diffenent page templates? Is the faq page template (liquid template file) different from the default template (liquid template file) ? Did you create a new liquid file page template for the faq page? If not, you can create as many pages as you want and they will all behave the same if they use the same default template file.
I’m still awaiting answers for your question above as I’m having the same issue. Someone from Shopify, please help answer this question.