Support » Plugin: Simple Page Sidebars » Woocommerce

  • Resolved ed4becky

    (@ed4becky)


    Is there a way to make this plugin active on Woocommerce product and/or shop pages? Those pages don’t show the widget to select sidebar.

Viewing 1 replies (of 1 total)
  • Plugin Author Brady Vercher

    (@bradyvercher)

    I don’t think it’s possible to add support to the shop pages, but you can add support to products by dropping this snippet in a child theme’s functions.php file or a custom plugin:

    add_action( 'registered_post_type', function( $post_type ) {
    	if ( 'product' !== $post_type ) {
    		return;
    	}
    
    	add_post_type_support( 'product', 'simple-page-sidebars' ); 
    } );

    Otherwise, you might give something like WooSidebars a try.

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce’ is closed to new replies.