WordPress.org

Support

Support » How-To and Troubleshooting » Stopping wordpress from removing ID

Stopping wordpress from removing ID

  • 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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    @esmi

    Forum Moderator

    Removes what ids from where?

    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>

    esmi

    @esmi

    Forum Moderator

    Are you switching editing tabs?

    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.

    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.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Stopping wordpress from removing ID’ is closed to new replies.