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
版权声明:本文标题:widgets - How can I remove Wordpress element IDs and Class names in the HTML? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742010619a2412816.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论