Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Hi Ismael,

    That finally did the trick! Once I started with a fresh child theme the ALB button appeared again. I tracked the error down to the following line of code in my functions.php file:

    add_filter('avf_builder_boxes','enable_boxes_on_posts');
    function enable_boxes_on_posts($boxes) {
    	$boxes[] = array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('page','post', 'portfolio'), 'context'=>'normal', 'expandable'=>true );
    	$boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('page','post', 'portfolio'), 'context'=>'side', 'priority'=>'low');
    	$boxes[] = array( 'title' =>__('Additional Portfolio Settings','avia_framework' ), 'id'=>'preview', 'page'=>array('page','post','portfolio'), 'context'=>'normal', 'priority'=>'high' );
    	
    	return $boxes;
    }

    Not even sure anymore what I used that for, but after removing that everything seems to work again.

    Thank you a lot for you help!

    Axel

    Hi Ismael,

    Thank you for your reply. The problem is not with the base product/shop pages, there the advanced layout editor works. It’s the single product pages that are missing the advanced layout editor. There isn’t even the ‘warning’ about the advanced layout editor being disabled due to WooCommerce on the single product pages, even though I do get this warning on the base product/shop pages (because I haven’t added the line of code yet you mentioned).

    Any other ideas? :)

    Axel

    Hi guys,

    Apologize again for the long delay, this project has been side-tracked for a little due to other work.

    I’ve been trying to fix it again for the last couple of hours, unfortunately without any results.

    Installed the newest version of the theme (3.5.3), deleted and installed Woocommerce a bunch of times, all plugins are disabled. Funny thing is that even though I delete woocommerce, after reinstall all my product pages reappear again. It seems like the avia builder doesn’t recognize the ‘product’ post-type for single product pages. If I start a new ‘normal’ page I can see all the functions of Woocommerce in the avia builder, although only half are useable since the others are only for ‘single-product’ pages. On a product page however, I don’t see the avia builder but if I look at the shortcodes options I can see the Woocommerce shortcodes, but only the ones that are available on all page types.

    Hope my explanation makes some sense to you, I’m kinda out of ideas at this point.

    The login credentials are still valid if you want to take a look yourselves.

    Thanks!

    Axel

    Sorry for the delay, would be great if you could take a look!
    Details are below.

Viewing 4 posts - 1 through 4 (of 4 total)