How to add content into <P></P> around <?php the_content(); ?>
I want to add the name of my blog with a colon at the beginning of each of my posts. However, when I add it, it always is one online above my content.
I want it to look like:
MyBlogName.com: Post starts here…
Why is it a line above? Because the content in “the_content” is automatically placed with
<p>. This is really aggravating! Ahh!
How can I easily add my blog name (or any content) right after that first
<p>tag and before my content starts? What can I change in
<?php the_content(); ?>? I also do not want to add the name in the post when I write it, because in the future I also want to add the date and othet items…
I would be happy to hardcode my blog name into the file that sets the
<p>tag, but I have not been able to find the file in WordPress…
Tks for your help!
- The topic ‘How to add content into <P></P> around <?php the_content(); ?>’ is closed to new replies.