Forums

Stopping wordpress from removing ID (6 posts)

  1. timsainb
    Member
    Posted 3 months ago #

    WordPress removes IDs from my posts/pages whenever I try to 'Preview Changes'. Why is this happening, and is there any way to fix it?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 months ago #

    Removes what ids from where?

  3. timsainb
    Member
    Posted 3 months ago #

    From the content of the post in HTML editor. For example, <div id="test" class="test"></div> would be formatted to <div class="test"></div>

  4. esmi
    Theme Diva & Forum Moderator
    Posted 3 months ago #

    Are you switching editing tabs?

  5. timsainb
    Member
    Posted 3 months ago #

    Nope, not switching editing tabs, I've disabled them.

    This problem is only experience by a different user, I've tried logging into their account, which is listed as an admin, and I get the same problem. The editor just removes all ids whenever they try to edit page.

  6. jrevillini
    Member
    Posted 2 months ago #

    I don't seem to have the issue with editors but I do with revisors (using Revisionary plugin).

    Workaround: You can get away with using classes for some reason.

Reply

You must log in to post.

About this Topic