Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1378482

    Hi Supporters,

    without updating Enfold for some reasons the social media link to facebook isn’t working anymore.

    I’ll let you now the links in the private area.

    Thanks for supporting

    #1378526

    Hey slikslok,

    Thank you for the inquiry.

    The FB icon seems to be redirecting to the correct URL. Would you mind providing a short clip of the issue?

    Best regards,
    Ismael

    #1378556

    You’ll find in the private area.

    #1378557

    Does this mean the link works on your site? Its not only a problem in my network also the client have the same problem!

    #1378561
    This reply has been marked as private.
    #1378753

    Hi,
    Thank you for your patience when I look at the links in your footer I see the social links are a “share box”.
    I assume that you added this by using the “social buttons” element in your footer page, this element is a “share box” and not a social profile link.
    You can copy the social profile code from your header and add in a code block element or you can use the icon elements to create your own social links.
    Please see this thread
    If you like the layout you currently have and just want to change the links for your footer page “share box”, Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function change_share_box_links_to_social_profile_links() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
    	var facebook = "https://facebook.com";
    	var linkedin = "https://linkedin.com";
    	var instagram = "https://instagram.com";
    	var youtube = "https://youtube.com";
      $("#footer-page .av-share-box-list").each(function(){
      $(this).find(".av-share-link.av-social-link-facebook a").attr("href", facebook);
      $(this).find(".av-share-link.av-social-link-linkedin a").attr("href", linkedin);
      $(this).find(".av-share-link.av-social-link-instagram a").attr("href", instagram);
      $(this).find(".av-share-link.av-social-link-youtube a").attr("href", youtube);
    });
    })(jQuery);
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'change_share_box_links_to_social_profile_links');

    and adjust the social links to suit.

    Best regards,
    Mike

    #1378809

    Hi Mike, thanks.
    I used this code and delete everything than facebook because I want exact this layout.

    BUT: FB is the only share-link which is not working. So that could not be the final solution. Why are the other 3 Links working but not facebook?

    Best Regards
    Tim

    #1378810

    Possible, that FB has changed the syntax and Enfoldy isn’t correct anymore?
    Pleas have a look in private area fpr details.

    #1378812

    Hi,
    Perhaps I misunderstood, do you want these to be “share links” or do you want them to be links to your FB page?
    If you want them to be “share links” then they should not be in the footer of your site, it only works correctly if it is on a post page.
    that is why the link has this in it %2Ffooter-template%2F&t=Footer%20Template it is passing the footer page link.
    the linkedin is also a “share link” the other two don’t have “share links” so they are links to your page.

    Best regards,
    Mike

    #1378827

    Thanks Mike, that clears up things. Strange, that the Insta-Link is working anyway…
    Isn’t there a solution via functions.php to change normal to share-links in the footer? Otherwise I have to edit every site/post by hand to implement a code block…

    Best
    Tim

    #1378838

    Hi,
    Unfortunately not, the “social buttons” element is not designed to work in the footer page.

    Best regards,
    Mike

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