Forums

plugin to split a post (5 posts)

  1. argie01
    Member
    Posted 5 years ago #

    Hi,

    I know using the quicktag <!--netxpage--> I can split a post. The problem with it is there isn't a way to view the entire post. So, if someone wish to print the entire post it's not possible.
    I'm using a plugin to split my post called pagepost (http://www.coolcode.cn/?p=115). This has the possibility to show all the post or page by page. The problem with it is itsn't W3C compatible, and I get this kind of errors:

    # Error Line 122 column 108: character "=" is not allowed in the value of attribute "name".

    a name="pp=0" a name="pp=1"

    It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.

    # Error Line 122 column 111: document type does not allow element "a" here; missing one of "object", "span", "bdo", "applet", "iframe", "tt", "i", "b", "u", "s", "strike", "big", "small", "font", "em", "strong", "dfn", "code", "q", "samp", "kbd", "var", "cite", "abbr", "acronym", "sub", "sup", "label", "ins", "del" start-tag.

    a name="pp=0" a name="pp=1" a name="pp=2"

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "" or "<table>") inside an inline element (such as "", "<span>", or "<font>").

    So, someone can give the name of a plugin to split a post with the characteristics I wish ?
    Or is there a way to hack the wordpress code to show also the option "all the post" when I use <!--nextpage--> ??

    Thank you !

  2. tsguitar
    Member
    Posted 5 years ago #

    If your current plugin does what you want it to and it's validation you're concerned with, please provide a link to your site. I bet a few massages here and there will produce valid code.

  3. argie01
    Member
    Posted 5 years ago #

    Yes, your're right, sorry. This is my site: http://www.gotanblog.com.ar

  4. argie01
    Member
    Posted 5 years ago #

    I fixed the problem with the plugin, and now it's W3C compliant. I sent it to the author.

    You can download the W3C compliant plugin from here (with spanish texts):

    http://www.sharebigfile.com/file/103/pagepost.tgz.html

    Thank you.

  5. tsguitar
    Member
    Posted 5 years ago #

    Can you mark this "Resolved"? Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags