Tagged: devin-docs
Hello,
Recently you helped me with differents issues. Thanks a lot.
Now, i have a two new questions.
When i publish a post, at the end there are different buttons to share entry with facebook, googleplus, …
I would like to know if is possible to do same with items portfolio and how?
As well, at main page of different language i need to insert a script to notify new costumers cookies rules and possibility to accept first time.
How can i do it?
Thanks
Sergio
Hi sergio!
Please add following code to Functions.php file in Appearance > Editor
add_action('ava_after_content', 'avia_add_social_toolbar', 10, 2);
function avia_add_social_toolbar($id = "", $context = "")
{
if($context == "page" || $context == "single-portfolio")
avia_social_share_links();
}
Cheers!
Yigit
Hello Yigit,
I tried to edit file from aparence – editor – theme functions (functions.php) and i got a message from back end that says that i m not allowed to write that file.
I downlad with filezile, i inserted at the end, just before require_once( ‘functions-enfold.php’);, i upload file, check by editor that file changed but when visit item-portfolio (exemple: http://www.yachtcharterbcn.com/charter/rent-sailboat-jeanneau-so39ds/), there isn t links to share.
i deleted code to avoid issues.
Any idea to get same result that “http://www.yachtcharterbcn.com/new-website-sailboat-charter/” with end buttons for share and coments?
Regards
Sergio
Hi!
Sorry for the late respond Sergio. Please refer to Peter’s post here – https://kriesi.at/support/topic/set-social-share-icons-manually/#post-281552
Cheers!
Yigit