WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] More prompt issue (3 posts)

  1. pizzaman
    Member
    Posted 4 years ago #

    In posts with a <!--more--> prompt I'm noticing <p> tags around the when I view the source for post.

    The source looks like this:

    <a href="http://mysite.com/?p=1533#more-1533" class="more-link"><p>Read the complete article…</p>
    <p></a></p>

    Is this a bug in WP 2.8?

  2. Ryan S
    Member
    Posted 4 years ago #

    I didnt face this issueafter upgrading, so I dont think this is a bug..

    Try changing the theme

  3. pizzaman
    Member
    Posted 4 years ago #

    I don't think it's the theme. I used all 3 arguments for the_content and the problem went away. However, it's still there if only one argument is used.

    Ex: the_content('(more)...') causes the <p> tags around the </a> tag.
    the_content('(more)...', false, '') no <p> tags around the </a> tag.

Topic Closed

This topic has been closed to new replies.

About this Topic