• Resolved gooroo666

    (@gooroo666)


    Hello,

    I have a custom post type called “tutoriels”. So, in my theme, I have a archive-tutoriels.php and a single-tutoriels files to display it. But it does not work anymore when I activate the woo-poly plugin. (all data are displayed on index.php).

    Also, all body classes are changed when I activate the plugin (for example, on my homepage, the body class “home” is removed).

    What can I do ?

    Thank you ! ??
    GooRoo

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    the plugin does not have any code that changes body classes, it is most likely to be a theme issue.
    Please check eg using Storefront.

    Thread Starter gooroo666

    (@gooroo666)

    The problem is when I select a specific static page for Front page (in Administration > Settings → Reading).
    Before activate the plugin, the body class on this specific homepage display a “home” class, then I activate the plugin (v1.0.3) and the “home” class disappears.

    Is there a solution ?

    Thank you ! ??
    GooRoo

    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    please note, as per the pinned post, there is no support on these forums.

    If you can reproduce the issue on a vanilla theme like storefront or twenty-sixteen by all means report it on https://github.com/hyyan/woo-poly-integration/issues

    Hint: check your theme or other plugin code for
    add_filter('body_class'
    to see what functions are affecting that.

    (this plugin does NOT hook this filter)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with body classes & Custom Post Types’ is closed to new replies.