• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Add Featured Image After 1st H2 Heading Tag in Single Posts

This code inserts the featured image after the first sub heading as long as its wrapped in h2 tags.

You can change the code to insert after other heading tags simply by changing the h2 in the code to something else like h3 or h4.

Register or login to access the code :

Register for full access

Related Tutorials

  • Simple PHP Regex To Insert Featured Image Before 1st H2 Tag
  • Add Featured Image After Paragraph
  • How To Add Featured Image Before 1st H2 Tag In Any WordPress Theme

Featured Image The Content

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.