Updating a snippet in many posts at once

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

Thanks that workout was great!

1 Like

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?