Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #270393

    Hello Support,

    Is it possible to add the “Share this Entry” which is available on the single posts for the pages on our Dev Website.

    Post “Share this entry” on bottom of the page.
    http://shelli.bydecosta.com/blog/peanut-meets-the-pigtailed-firefighter/

    We need to add this feature on the pages eg:
    Author Page: http://shelli.bydecosta.com/author/
    We need to place the white sharing bar after the image of the book and before the “upcoming projects” header.

    Fire Captain: http://shelli.bydecosta.com/fire-captain/
    We need the Sharing bar immediately before the email the bottom sign-up form.

    Pet Rescuer: http://shelli.bydecosta.com/pet-rescuer/
    Here the white sharing bar should be placed immediately before the email the bottom sign-up form.

    Please let me know if this possible.

    Thank you,
    Marcelo

    #270440

    Hey kpundyk!

    Please refer to Peter’s post here – https://kriesi.at/support/topic/share-icons-on-pages-and-portfolio-items/#post-260646

    Cheers!
    Yigit

    #270543

    Hello Yigit,

    Thanks I see the code that was on the other post but it doesn’t explain where I should be putting the code on.

    http://shelli.bydecosta.com/pet-rescuer/
    So if I want to put the share buttons in the Pet Rescue Page, do I need to go to the editor and using the Avia Layout Builder select “Code Block” and paste the code on it in order for it to work?

    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();
    }

    add_filter(‘avf_template_builder_content’, ‘avia_add_social_toolbar_template_builder’, 10, 1);
    function avia_add_social_toolbar_template_builder($content = “”)
    {
    $content .= avia_social_share_links(array(), false);
    $content .= ‘<div style=”height:1px; margin-top:50px;” class=”hr”></div>’;
    return $content;
    }

    Hope you can provide me help soon as we need to present the website to our client today.

    If you need me to give you WP admin Login and Password info to the site, let me know.

    Thank you

    #270658

    Hey!

    No, you should add the code to bottom of Functions.php file in Appearance > Editor.

    Cheers!
    Yigit

    #275455

    Thanks for your help.

    MP

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Sharing Bar for Pages like the Blog Posts’ is closed to new replies.