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

WP SITES

2468

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Subscribe
  • Register
  • Videos
  • Log in

Need Help? - Get Coding Support Now

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 :

Click here to get full access to all tutorials

Related Tutorials

  • Simple PHP Regex To Insert Featured Image Before 1st H2 Tag
  • Add Featured Image After Paragraph

Featured Image The Content

Primary Sidebar

Recently Coded

  • Infinity Pro – Change Team Page From 4 To 3 Columns
  • Infinity Pro Vertical Menu
  • Genesis Sample Theme – Custom Archive Page Template With Different Hero Images
  • Foodie Pro – Reposition Search Box Before Nav Menu
  • Showcase Pro – Use Custom Image As Single Post Entry Header Background

Brad Dalton Specializes In Genesis child theme customization & code modification.

Advertise · WPEngine · Genesis · Log in

  • Membership
  • by Theme
  • Contact
  • RSS
  • Newsletter ( Twice Weekly )