GetSimple Support Forum

Full Version: Problem With Adding Hooks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay, so I'm new to the rear-end of Get-Simple. I've decided to get started on making plugins. My first plugin requires me to insert HTML dynamically right after the body tag of every page. How would I even go about making a custom hook to do this? Or is there one available out-of-the-box that I am missing?

EDIT: Got that working, now another problem... how do I dynamically push my hook into the header.php after the body tag?
After the body tag? You mean footer?
After the opening body tag, I apologize, I should have been more specific.
This is inside your theme, so there are no hooks, it is outside of gs control.
There is content-top hook fired from get_content..

Maybe post ehat you are trying to do
(2016-02-20, 11:13:12)shawn_a Wrote: [ -> ]This is inside your theme, so there are no hooks, it is outside of gs control.
There is content-top hook fired from get_content..

Maybe post ehat you are trying to do

I was having quite the brain fart... jQuery is more than suitable for what I need to do. Lol.
For custom stuff your best bet is templates or components.