• Resolved wildmtsky

    (@wildmtsky)


    I just updated to the WP 4.7 and I lost all of my body tag support – https://developer.www.ads-software.com/reference/functions/body_class/

    Basically my body class went

    FROM:
    page page-id-0 page-parent page-child parent-pageid-450 page-template-default logged-in admin-bar group-blog responsive layout-full has-sidebar panels-style-force-full page-layout-default responsive-menu-slide-left customize-support sfsi_plus_2.51

    TO:
    logged-in admin-bar group-blog responsive layout-full has-sidebar panels-style-force-full page-layout-default responsive-menu-slide-left customize-support sfsi_plus_2.51

    NO page ID classes at all. My code for the class still exists:

    <body <?php body_class(); ?>>

    I use this ALL of the time. Is this no longer supported/deprecated? I didn’t see this in the list for the version. Please advise. We can’t have clients updating WordPress to find out their pages don’t look right because the body class ID is gone.

    I asked in the main WP forum about this and they suggested to troubleshoot my plugins. I switched to the default theme and started one by one with the plugins. I narrowed the issue down to this one. Any thoughts on how to resolve?

    Thank you!
    Sarah

Viewing 1 replies (of 1 total)
  • Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi Sarah,

    No changes from my plugin side and not an issue anyone has reported or that I am experiencing on any of my sites.

    Have you made sure to clear any caches etc?

    All the best

Viewing 1 replies (of 1 total)
  • The topic ‘Upgrade to 4.7 loses body class support’ is closed to new replies.