CB Split - Admin - Content > Snippets Insertions
In previous topic we covered CBSplit Snippets section. They are reusable HTML codes that can be reused in several places.
Suppose we have created a snippet like this. Saved it as - hello. You can use it in any page manually with this shortcode.
[[ $snippet name="hello" ]]
However if you want to auto insert this snippet in several pages. You can use Snippet Insertion module.
Usage
Admin » Content » Snippet Insertion
Find + button on top right of the page. Then click it.
Select the snippet you created previously. In our case we select hello snippet.
Select where you want to auto inject this snippet from options given
- any page
- selected pages
- selected page folders
- conversion page
- non-conversion pages
Location for snippet
- head area of html
- top of the page
- bottom of the page
Once auto insertion snippet is created, it will show you this screen where all settings are available.
You can use pages to omit insertion here in combo. Combo Options changes with radio buttons you click. Once your insertion done you can test it on live page.
Again if you want to change pages or location of auto insertion. you can navigate to Snippet Insertion and edit the options.