How to Add Content Snippets
ProProfs Knowledge Base lets you place content snippets (small pieces of customizable content) anywhere on your help site pages. The main advantage of using content snippets is that you can place them at different locations on your website without repeatedly writing the exact text.
Benefits of using a content snippet:
Prevents you from repeatedly writing the same information.
Saves time while placing the exact text at different locations on your website.
Edit the snippet once, and the changes will reflect across all instances where it is placed.
Maintain consistency across the help site.
In this article, you’ll learn:
- How to Create a Content Snippet
- How to Insert a Content Snippet on a Webpage
- How to Preview, Edit, and Delete a Content Snippet
Step 1: In your ProProfs Knowledge Base editor, go to +New > Content Snippet.
Step 2: Enter the required fields and click Save. Use the advanced toolbar to access additional editing options and design your snippet.
All the Content Snippets appear in a list like this:
Step 1: Open the page in editor mode.
Step 2: Place your cursor where you want to add the content snippet. Click Insert > Content Snippet in the advanced toolbar.
Step 3: Select the snippet tag and click Insert.
Step 4: The content snippet code appears in the editor. Save the page and preview the snippet. To publish the snippet, click Update.
If your page is not published, click Save Draft and then Preview. Click Publish to take the changes live.
Below is a full-page preview of how the content snippet appears on your page when published.
Click Preview > Content Snippet.
To edit a content snippet:
Select the content snippet.
Edit the content and click Save.
To delete a content snippet:
Select the content snippet and click Delete.
You have successfully removed the content snippet from the list.
That is all about Content Snippets.