This code enables you to add your featured image after any number of paragraphs on single posts.
The above example shows the featured image added after the first paragraph within the content area of the post.
The code also enables you to change the:
- Image size
- Image attributes
- The number of paragraphs after which to display the featured image
- Alt Text
The code works in Genesis and any other WordPress theme.
Here’s the code: