Fragments and templates
You don't always have to start from scratch. Fragments allow you to reuse and edit any existing part. Use templates to prepare entire pages with all the content you need.
Fragments
Sometimes, you don't need to reinvent the wheel. Maybe the "Report claim" CTA from the front page could be reused on your product pages?
For such cases, you'll be using Fragments. Fragments are ready-made parts you have saved for later. Rather than copying and pasting the content, you'll save the CTA from the front page as a fragment, and upload that to the car insurance page.
Fragments are ready-made parts you have saved for later.
Creating and reusing fragments
- Right-click on the pre-made part
- Select "Save as fragment"
- You will be taken to the new Fragment content. Give it a name that helps any editor understand what it is and when to use it.
- The fragment will have been saved under the page on which you first made it. Move it to the "Fragments" folder.
- Go to your new page, and choose the "Insert" tab in the context panel.
- Rather than dragging and dropping a new part, drag and drop a fragment
- Select your new fragment, and you're done!
-
If you make changes to the fragment, it will be updated on all pages it is used. If you need to change the fragment on only one page, right-click and "detach from fragment". You keep the content, but turn it back into a part so that you can customise it without affecting the fragment.
Templates
Some pages have much of the similar structure, such as product pages or overviews.
If you know that several pages will contain (roughly) the same parts in (roughly) the same order, we recommend that you create templates to speed up your work.
Templates are the reason your new page already has content on it
When creating new pages, Content Studio will always assume that you wish to use the newest template for this page – the one furthest on top in your list of templates.
Make sure to always keep two blank templates at the top – one for General pages and one for Article pages.
Creating and using Templates
- Create the first of your group of pages (e.g. the product page "car insurance"). The page type you choose must be used for all pages that you wish to use its template for
- Add the parts that you will normally need on this type of page (but don't fill them in yet)
- Select the "Page" toggle in the right side context panel
- Click "Create template", and your page will appear in the "Templates" folder
- Name your template so that it is easy to recognise and understand for other editors, such as "Insurance product pages – Private"
- Move your new template below the two blank templates, they should always be on top
- Create a new page you wish to use your template on
- Select the "Page" toggle in the right side panel and find the correct template in the dropdown