Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #428873

    Hi,

    I’ve got an issue with different posts.

    When I create a post without the AVIA builder, the post will appear WITH share-buttons and a sidebar (with only archive and google maps)
    example: http://www.derooyhoveniers.nl/uncategorized/woonstijl-column-nr-3-klasse-hoeft-niet-duur-te-zijn/

    But when I create a post with the AVIA builder, the buttons disappear and another sidebar is showing.
    example: http://www.derooyhoveniers.nl/uncategorized/tuinontwerp-vlonder-met-karakter/

    Any suggestions?

    Regards, Jeroen

    #429448

    Hi schoenj!

    Thank you for using Enfold.

    When you create the post in the advance layout builder, the sidebar is set as if it is a page because of the template-builder.php file. Note that you need to add all the contents manually when you use the advance layout builder for posts including the featured image, share buttons etc. If you want to use the same sidebar, edit template-builder.php file. Look for this code:

    $avia_config['currently_viewing'] = 'page';
    

    Replace it with:

    $avia_config['currently_viewing'] = is_single() ? 'blog' : 'page';
    

    Regards,
    Ismael

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