Peter5
1
I have created a snippet and saved it.
I use this on many blog posts by adding the snippet.
Now I want to update the snippet and have it change on all the places I put it.
How can I do this?
(This is very useful for me to change information in one place instead of many)
Snippets don’t allow for that. Check out Kevin’s solution (although I believe elem.innerHtml
should be elem.innerHTML
).
1 Like
Peter5
3
Thanks that workout was great!
1 Like
rettx
4
Where are these saved if I were to self host ghost? I assume in the database and if I wanted to update the snippet I could overwrite the record?