Marketpath CMS Developer Tutorial Series


Last Updated 3/6/2018

Snippets can be a helpful tool both for developers and content creators/editors. Re-using snippets across a site can improve consistency and maintainability.

Generally speaking, if you find yourself copying the same content into multiple HTML fields, you should consider replacing the field with a snippet. This makes it easy to edit that content once and instantly apply your changes everywhere that it located. If you find yourself commonly creating snippets that are only displayed on a single page, consider changing it to an HTML field which will simplify page creation and maintenance by making all content editable directly from the page edit interface.

ProTip: Consider using <liquid-markup> sparingly in snippets to reference functionality defined elsewhere in the site (eg: templates, javascript, galleries, forms, etc...).

---- End of Lesson ----

Question? Correction?

Let's work together to make our documentation as helpful as possible.

What is your name? 
What is your email address?