• tazotodua

    (@tazotodua)


    hi.
    adding classes can be done using javascript too.
    for example, cache whole menu only once, and in wp_footer add the hook to determine current category/post/page/author… etc… if is included in NAV-menu, and if yes, then with javascript, add CLASSES or etc…

    https://ww.wp.xz.cn/plugins/menu-cache/

The topic ‘adding classes’ is closed to new replies.