WordPress.org

Support

Support » Miscellaneous » Authors using class and id (XHTML/CSS)

Authors using class and id (XHTML/CSS)

  • rghedin
    Member

    @rghedin

    Hi!

    In my site, the register is opened to visitors. With this, they can publish content. But I’m having a problem with this…

    When somebody that is not admin send a post to moderation, and I (admin) publish it, if there are some class or id in XHTML tags, that aren’t publish.

    For example: if someone publish a post with <p class="not_download">Download</p>, when I publish, it appear at blog as <p>Download</p>.

    How I correct this issue?

    []’s!

Viewing 1 replies (of 1 total)
  • Samuel Wood (Otto)
    WordPress.org Tech Dude

    @otto42

    You don’t. Non-Admins get their posts filtered. They’re not allowed to use classes and such.

    If you install the Role Manager plugin and then give those users that you trust a role with the “unfiltered_html” capability, then they’ll be able to post html code that won’t get filtered like this.

Viewing 1 replies (of 1 total)
  • The topic ‘Authors using class and id (XHTML/CSS)’ is closed to new replies.