Skip to main content
Added a new tag and removed the "Thanks" part since that's not usually included in the questions. You can revert this if you don't agree ;-)
Source Link
birgire
  • 67.8k
  • 7
  • 119
  • 251

I would like to add some text or image at the start of each post (in a given post layout).

I have found numerous ways to implement this before the content starts ie atop the content (of course, I could just do this by adding the text above <?php the_content(); ?>).

But I want to insert it really at the start of the content--on the same line, like:

HERE IS SOME CUSTOM TEXT and here starts the content entered for the post.

HERE IS SOME CUSTOM TEXT and here starts the content entered for the post.

Any ideas, Community? Thanks,

Justin

I would like to add some text or image at the start of each post (in a given post layout).

I have found numerous ways to implement this before the content starts ie atop the content (of course, I could just do this by adding the text above <?php the_content(); ?>).

But I want to insert it really at the start of the content--on the same line, like:

HERE IS SOME CUSTOM TEXT and here starts the content entered for the post.

Any ideas, Community? Thanks,

Justin

I would like to add some text or image at the start of each post (in a given post layout).

I have found numerous ways to implement this before the content starts ie atop the content (of course, I could just do this by adding the text above <?php the_content(); ?>).

But I want to insert it really at the start of the content--on the same line, like:

HERE IS SOME CUSTOM TEXT and here starts the content entered for the post.

Any ideas, Community?

Source Link
Justin Munce
  • 199
  • 1
  • 1
  • 9

How to add custom content (text/image) at start of content (IN content ie the same line)

I would like to add some text or image at the start of each post (in a given post layout).

I have found numerous ways to implement this before the content starts ie atop the content (of course, I could just do this by adding the text above <?php the_content(); ?>).

But I want to insert it really at the start of the content--on the same line, like:

HERE IS SOME CUSTOM TEXT and here starts the content entered for the post.

Any ideas, Community? Thanks,

Justin