I have three custom fields to enter social media url for each gym.
I want to extract the value of each of those fields to map to social buttons in Gutenberg within a view, but I can't find a way to make it work.
I am testing with this (first link)
Where you can link the custom field value to your social share icons but we have a known bug currently with this block and fix for that will be released soon by today or early next week.
Can you please confirm you want to link your custom field URLs to social share icons and correct me if I misunderstood your query.
I DO NOT want to share on social networks.
I am building a directory of entities. Each has its own social networks and its own website.
I have created URL fields (web page, twitter page, facebook page)
I want to assign each URL to a button so that it leads to your website or social network.
My english is very bad, sorry
Thanks for your attention, I await your indications
Can you please share problem URL where you want to display the social icons?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I would like to inform you that Toolset Blocks 1.4.1 is published that contains the fix for this issue.
Can you please update Toolset Blocks plugin and try to resolve your issue. You can download the latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/
I don't need buttons to share. I need votes to link to the facebook fanpage or the directory companies website.
Instagram does not allow sharing nor do I want to share, I just want to take to the client's instagram page
Thank you but your solution does not help me
I don't need buttons to share. I need votes to link to the facebook fanpage or the directory companies website.
==>
It seems you may be confused with the block name.
So, lets clarify the confusion and make sure we are on the same page.
I see you have a custom field group which hold the URL type custom field for facebook, twitter, Instagram.
=> hidden link
Now, you want to link the icons of facebook, twitter, Instagram with the associated value of custom field you created like facebook, twitter, Instagram.
- Facebook icon should be linked to the URL value you added to facebook custom field
- twitter icon should be linked to the URL value you added to twitter custom field and son on.
Is this correct? Please correct me if I misunderstood your requirement here.
As there was not easy way to display the icons, I've added the HTML block and added the fontawesome CDN link and custom CSS style at top of the page just above view block:
=> hidden link
And then within the "Field and Text" block, I've added the following: