[resolved] remove id & class from menu and pages (3 posts)

  1. Cammy_WP
    Posted 5 years ago #

    <li id="menu-item-55" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-55">
    <li class="page_item page-item-37">

    the menu and pages creates those id's and classes i have no use.
    want to keep the html clean
    just want
    how i can get rid off those id's and classes?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    You can't - unless you want to create your own custom menu or page listing functions.

  3. dompl
    Posted 4 years ago #

    This might help.

Topic Closed

This topic has been closed to new replies.

About this Topic