Hello,
Can you help me understand how this snippet code works : https://gist.github.com/hivepress/f07d7a33263e55a46f5afe38e27deb91
Indeed, I tried to get inspiration from the code present in this discussion topic :
- https://community.hivepress.io/t/social-links-inside-of-listing-view-block/1294,
- https://community.hivepress.io/t/add-or-customize-social-links/4393.
- https://community.hivepress.io/t/default-country-code-for-the-phone-number/3683
…but it wasn’t enough.
The social links extension is very well done, but the order in which the various links appear doesn’t follow any logic. So I’d like to customize the organization of the links (Facebook, Instagram, Tiktok - Google play, App store - Pinterest, Etsy - …), to make reading the links more fluid for the site visitor.