This code is similar to this snippet however it enables you to add any type of content, in this case the featured image, before the 1st h2 tag in single posts and pages.
Video Demo
Shows how the featured image is inserted before the first of 2 H2 heading tags in a single post.
Note : You can use this code to insert any type of content before any type of HTML tag in your posts and pages.
Register or login to access the code :
Leave a Reply