Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #670331

    Dear Enfold support,

    I want to add a comments and social sharing section to all of my post (blog) pages.

    Now I’ve searched over this forum and the internet to figure out how I can activate Enfold’s social sharing and/or Comment/Reaction features on every single blog page. And indeed there are some pages with information about this topic but none of them are giving a satisfying answer.

    I know that this is a function which is fully supported but it has to be possible to activate the options somehow.

    I already figured out how to add the social sharing section below all the blog pages combining two different codes which I’ve found on this forum:

    function avia_add_custom_social_icon($icons) {
    	$icons['Icon Label'] = 'icon_name';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    
    add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder', 10, 1);
    function avia_add_social_toolbar_template_builder($content = "")
    {
           if(is_single()) {
            $content .= '<div style="height:1px; margin-top:20px;" class="hr"></div>';
    	$content .= avia_social_share_links(array(), false, '', false);
           }
    	return $content;
    }

    I want all post (blog) pages to also display the comment section below the social sharing icons just like when I’m not using the template builder. Hope you can provide me a code which I can add to functions.php which will activate the comment section for all blog pages.

    Thanks in advance!

    -Patrick

    • This topic was modified 8 years, 4 months ago by tipict. Reason: change of question description
    #670448

    …anybody?

    • This reply was modified 8 years, 4 months ago by tipict.
    #671286

    I would like to also display the author & date information below the blog, above the social sharing icons.

    #672065
    #672808

    Hi Andy,

    Thanks for your reply. I’ve already read that topic but that’s not the solution I’ve asked for.

    I already noted that I want to add these features to all my blog pages. Now I have to manually add these features to every single blog and that’s not an option for me (also when we want to disable the option in the future for all blogs).

    Hope you can provide me a code which I can add to functions.php which will activate the comment section for all blog pages.

    Hope to hear soon.

    Patrick

    #672845

    Hi!

    You will have to edit the single.php, to make that work.
    If you do not know how, please consider to hire a developer who will be able to help you, as so much custom code is outside
    our main support policy.

    Thanks a lot

    Cheers!
    Basilis

    #674702

    Dear Basilis

    And only simple post information (no comments) like date, time, author, tags?

    Patrick

    • This reply was modified 8 years, 4 months ago by tipict.
    #674740

    Hi,

    I already send you the link for adding meta infos to your blog build by ALB. If you need anything further then you need to hire a freelance developer for this job: http://kriesi.at/contact/customization

    Best regards,
    Andy

    #677020

    Hi

    In reply to #672845

    And where do I put the post_meta_infos.php file ?

    TIA

    Best regards

    • This reply was modified 8 years, 4 months ago by FAML.
    #677023
    #677049

    Hi

    It worked perfectly

    Thanks

    #677052

    Hey!

    Great!
    We will keep the thread open and wait to hear from the OP. If you have any other questions or issues, please feel free to start a new thread!

    Cheers!
    Yigit

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