WordPress.org

Ready to get started?Download WordPress

Forums

Stopping wordpress from removing ID (7 posts)

  1. timsainb
    Member
    Posted 2 years 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 2 years ago #

    Removes what ids from where?

  3. timsainb
    Member
    Posted 2 years 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 2 years ago #

    Are you switching editing tabs?

  5. timsainb
    Member
    Posted 2 years 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. James Revillini
    Member
    Posted 2 years 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.

  7. thob
    Member
    Posted 1 year ago #

    we face the same issue. Only admins can work with IDs. Stupid thing

Topic Closed

This topic has been closed to new replies.

About this Topic