WordPress.org

Forums

Page-list
[resolved] Valid code with [pagelist] (2 posts)

  1. lalalapo
    Member
    Posted 2 years ago #

    Hi,

    I'm using your plugin. It is very well done. My ploblem is, that the code is invalid: I get the hint:

    Line 219, Column 9: No p element in scope but a p end tag seen.

    </p>

    So the plugin adds a p endtag and this makes the HTML5-Code invalid. How can I delete this </p> tag to get a valid code? Is this possible?

    Regards,

    lalalapo

    http://wordpress.org/extend/plugins/page-list/

  2. lalalapo
    Member
    Posted 2 years ago #

    I found the mistake myself: WordPress added the p endtag because because the text before the shorcode did not end with a </p>. So it was added at the end of page. Solution: Add a <p> and </p> at the text before the shortcode. Now it is working correctly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Page-list
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags