Boto dinàmic ACF

Posted in: Newspaper
Post count: 10

I have created a custom field, which is a link and I would need to add this link in a boto. ACF let me create the field but in the template I can’t find any option to add this field. could you help me Thanks!

Post count: 27744

Hello,

You can use the shortcode to add the acf https://www.advancedcustomfields.com/resources/shortcode/ and set the shortcode in the column text element in the text area.

Thank you!

Post count: 10

I have enabled the shortcode but when I add the code to the URL of the button it does not work, it remains of the type: https://patillimona.net/tallers-culturals/fotografia-basica/%5Bacf%20field=’enllac_inscripcio’%5D.

Or can’t I add it directly as a button and change the URL to the shortcode? Or should I create the boto directly with html?
Thank you so much!

Post count: 27744

Hi,

Can you please provide a video of how you created the field and how you added it?

Thank you!

Post count: 10

Hi,

Here => https://youtu.be/YjjNLb_I3ss

thanks

Post count: 27744

Hi,

You need to add the shortcode in the column text, not on the button.

Thank you!

Post count: 10

I put the same code with the text nothing appears.

I need it to be a button, because it is a registration and the content must be dynamic. So does the template allow you to put a button with an ACF field?
thanks!

Post count: 27744

Hi,

You need to add in the element -> https://i.imgur.com/BDXbsPr.png if in this element is not working, then the implementation for this type is not made.

Thank you!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.