How to include snippets inside page/blog editor content

Excursionist
97 0 9

I have some blog pages and regular pages where I have some products/ads shown now and then after some paragrahs in the text.

Currently, when I need to change these products/ads on the page - I have to manually edit all posts and pages.

 

I know I can't insert liquid code in the editor - but is there any other way to automatically include a snippet or other type of content into the editor - so I can just edit the stuff one place - and then it's updated in every page / blog where it's included?

Owner @ https://en.authentic.dk
0 Likes
Shopify Partner
1149 131 193

Absolutely. You can add your code into templates/article.liquid and templates/page.liquid. These are the blueprints for all pages and blog articles.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes