Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Amit Singh

    (@apprimit)

    Hello,

    Try to follow the documentation to do it – https://docs.oceanwp.org/article/203-altering-layouts

    Thread Starter brandeeenie

    (@brandeeenie)

    Because I’m not that good at coding so I did it with the ocean extra plugin but it doesn’t show up on woocommerce category page edit section

    • This reply was modified 6 years ago by brandeeenie. Reason: Grammer
    Plugin Author Amit Singh

    (@apprimit)

    OceanWP settings will not appear on the woocommerce category pages.
    You need to add the below code the functions.php file of the child theme or use code snippet plugin to add the code –

    function my_post_layout_class( $class ) {
    	if ( is_shop() || is_product() || is_product_category() ) {
    		$class = 'full-width';
    	}
    	return $class;
    }
    add_filter( 'ocean_post_layout_class', 'my_post_layout_class', 20 );
    Thread Starter brandeeenie

    (@brandeeenie)

    Thank you????

    Thread Starter brandeeenie

    (@brandeeenie)

    One more thing though how do you get rid of the title in the category page since oceanwp settings don’t appear in the woocommerce edit category page

    Link: https://dogy-shop.com/product-category/dog-accessories/

    It’s the “Dog Accessories” bit I want removed

    Plugin Author Amit Singh

    (@apprimit)

    To remove the page title from all the pages, go to Customize > General options > Page Title and select Hidden from the Style dropdown.

    TO remove it only from the product category page, add the below code to the functions.php file of the child theme –

    function disable_title( $return ) {
        if ( is_product_category() ) {
            $return = false;
        }
        return $return; 
    }
    add_filter( 'ocean_display_page_header', 'disable_title' );
    Thread Starter brandeeenie

    (@brandeeenie)

    Last thing, how can you put the elementor editor on the woocommerce category pages

    Plugin Author Amit Singh

    (@apprimit)

    It can’t be possible to edit a category page with Elementor. You need to use the Elementor Theme builder to create your custom archive template.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Ocean world settings don’t work on woocommerce category pages’ is closed to new replies.