Custom Hook
-
So I’m trying to insert a hard coded block of html code into some pages on my Generate press site.
I wanted to hard code the html in an element as a hook, and then call the element when needed.
There is a Hook option called Custom Hook, and you can name it. But I don’t see how I can call it up in the actual “Edit Page” on a page.
Would be nice if it could be called/inserted when needed. I’m trying to avoid having to hard code in these lines of code every time I need this into the actual page’s code. That way, if I need to update the code later, I can change it in the element, and it updates across the entire site.Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom Hook’ is closed to new replies.