admin管理员组

文章数量:1317909

Very much following this advice for body class: /

I'd like to remove the IDs and Classes that WP automatically ads to all its elements.

Someone has posted how to do this with menu items: wp_nav_menu remove class and id from li

But I can't figure out a way to do it for say, custom HTML widgets, or text widgets, which produce an ID for each one that is created or added to a site --> it seems unnecessary since other classes control these areas.

Also asked this question about the parent page IDs

Trying to reduce all the added CSS and HTML references to help with site speed...hopefully.

本文标签: widgetsHow can I remove Wordpress element IDs and Class names in the HTML