• Hello,

    I have a filter which uses the search function of wordpress to filter products from certain category with certain tags.
    Everything works great when in the default language.
    Almost everything works on the other language…

    in the results page, I have the woocommerce classes in the body class, this includes the class tax-product_cat. I use this class to CSS and also to define other things on the results page.
    In English which is not the default language, I don’t have the woocommerce classes in the body class for some reason and this causes the entire results page look very different and without the proper design and features it should have.

    Please help me figure out why the woocommerce classes are not showing in the secondary language search results page.

    https://wordpress.org/plugins/polylang/

The topic ‘search results body class’ is closed to new replies.