Hey, having a bit of trouble with my <p> styles.
<p class="newscontent"><?php the_content('more_link_text', strip_teaser, 'more_file'); ?></p>
But in the browser it shows:
<p class="newscontent"> <p>The Content</p> </p>
So basically it is adding <p> tags which are over-riding my <p class=”newscontent”>. How do i stop this from happening?
- The topic ‘WP Adding <p> automatically?’ is closed to new replies.