• In the post options of UAM I set something like this in the post content field (to be shown before the more-tag):

    <p class="note">You need a <a href="http://www.domain.com/login"/>login</a> for this post.</p>

    But that doesnt work, because after I update the settings it escapes the quotation marks with backslashes:
    <p class=\"note\">You need a <a href=\"http://www.domain.com/login\"/>login</a> for this post.</p>

    So I need to enter it that way:
    <p class=note>You need a <a href=http://www.domain.com/login/>login</a> for this post.</p>

    That works, but produces a lot of W3C-errors:

    an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
    document type does not allow element “p” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag
    an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
    NET-enabling start-tag not immediately followed by null end-tag
    end tag for element “a” which is not open

    I tried it with entities like <p class=&quot;note&quot;> ... but that doesn’t work neither.

    I had this issue before, but it was never resolved:
    http://wordpress.org/support/topic/plugin-user-access-manager-not-possible-to-link-to-pages-in-options-dialogue

    So how can I set up a login-note to my visitors without W3C-errors?

    http://wordpress.org/extend/plugins/user-access-manager/

  • The topic ‘W3C-Issues’ is closed to new replies.