Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #375145

    Hello,

    I’ve added this code to my child-theme:

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

    return $boxes;
    }

    I’m using this to get the layout builder to work on posts.
    I used this on a blog post and that works perfect, but now I don’t have the reaction field there and also the Social Media buttons are missing.
    Can you explain to me how this is possible and how I can get it to work.

    Greets Jeen

    #375358

    Hi Groeier!!

    It was disabled on posts for a reason. What are you trying to do? We may be able to offer some alternatives.

    The posts have the magic wand icon which you can use to insert shortcodes.

    Cheers!
    Elliott

    #375642

    Hello Elliot,

    We are having a blog page on home:
    http://www.groeier.nl/

    If we are going to a single blog post like this one:
    http://www.groeier.nl/waarom-slimme-bedrijven-voor-wordpress-kiezen/

    We would like it if the Social Media icons are showing up. This works if we don’t use the advanced layout builder for the blog posts,
    but when we use this editor (like we did with the above post) the Social Media icons are gone and so is the possibility to react on a post.

    Greets Jeen

    #375857

    Hi!

    Try opening up /enfold/single.php and find line 47.

    <!--end content-->
    

    Add this above it.

    <?php avia_social_share_links(); ?>
    

    Regards,
    Elliott

    #378223

    Hello Elliot,

    It doesnt work. Can that be because I use a child-theme?

    Greets Jeen

    #378837
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.