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

    It seems that I have a dilemma .. the share buttons are not displaying on individual blog posts. I have the blog post page setup using the Avia Layout Builder .. which I need for my clients design. But it seems that if I do that all the individual blog posts are not displaying the share buttons.

    Doing some research it seems that I would need to add those using the layout builder on each post page. There are too many posts to go back and manually edit them. And I don’t expect my client to remember to add those for each post.

    How can I code the share buttons at the bottom of each blog post?

    Thanks!

    #488527

    Hey rhondastark!

    Thank you for using Enfold.

    If you use the advance layout builder to build the posts then you will have to add the entire content manually including the social share button. However, you can modify the template-builder.php in order to add the social share button automatically. Look for this code:

    $content = apply_filters('avf_template_builder_content', $content);
    	echo $content;
    

    Below, add this:

    //share links on single post
    	if(is_singular('post')) {
    	avia_social_share_links();
    	}

    Best regards,
    Ismael

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