Skip to main content

ACF Custom Field on Button

Comments

3 comments

  • Sandra Prunici

    Hi, Nicholas,

    How did you declare the CTA in ACF? I can suggest to create a new field and set it with the URL type field https://jmp.sh/QC1uiMQ. After this go to the template and add a button. Set the button with the URL custom field. For example in my case, I create an URL Custom Field "Link". For the button, I selected the "Link" field. https://jmp.sh/tQY6kLy

    In the preview, the button works with the URL I set in the Post.

    Best regards,
    Sandra

    0
  • Nicholas Worth

    I’ve used a text field type since this is just the label I was adjusting. Was attempting to use # linking but no options are prompted so assuming buttons don’t have this feature... yet?

    0
  • Sandra Prunici

    If you set the Custom Field as "URL", you can attach it to the button as I show you in the previous screens. Could you check them again?

    Best regards,
    Sandra

    0

Please sign in to leave a comment.