-
AuthorPosts
-
August 9, 2016 at 2:18 pm #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
August 9, 2016 at 6:00 pm #670448…anybody?
- This reply was modified 8 years, 4 months ago by tipict.
August 11, 2016 at 12:58 pm #671286I would like to also display the author & date information below the blog, above the social sharing icons.
August 12, 2016 at 9:09 pm #672065Hi,
check out this: https://kriesi.at/support/topic/how-to-add-blog-meta-information-to-posts-designed-with-the-advanced-editor/#post-572997
Best regards,
AndyAugust 15, 2016 at 5:18 pm #672808Hi 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
August 15, 2016 at 7:29 pm #672845Hi!
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!
BasilisAugust 19, 2016 at 12:04 pm #674702Dear 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.
August 19, 2016 at 1:02 pm #674740Hi,
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,
AndyAugust 24, 2016 at 3:19 pm #677020Hi
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.
August 24, 2016 at 3:20 pm #677023Hey!
Please refer to this post – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Regards,
YigitAugust 24, 2016 at 3:41 pm #677049Hi
It worked perfectly
Thanks
August 24, 2016 at 3:46 pm #677052 -
AuthorPosts
- You must be logged in to reply to this topic.