Don’t believe this is covered elsewhere on the forum but if so I apologise.
I am trying to insert an HTML asset above the first h2 in relevant posts. So far I have created the asset in Elements and it working correctly on page when assigned against one of the standard locations.
What I need to do now is work out how to position it above the first h2, which I assume requires a combination of custom hook and a snippet to insert reference to that hook in the functions.php?
I’m attempting to do the same thing, but this hook isn’t working for me. I copy and pasted it into a custom hook element, added in the correct HTML (checked and double checked to make sure it was right), and tried assigning it to WP head targeting all single posts, with no luck. It just messed up my formatting.