• Resolved Nadya Well

    (@nadya-well)


    Hi,

    I’ve added a ACF custom field to SP events to add buy tickets link to each event. I’d like to display the field value as a link under each event in the event blocks view. I amended the template, but the ACF text field value is not pulled into the href

    <div class='tickets-link-wrapper'>					
    <a href='<?php echo get_field("tickets_link"); ?>' target='_blank'>Buy tickets</a>
    <p><?php the_field("tickets_link");?></p>
    </div>

    Can you please advise on how to make it work?

    • This topic was modified 2 years, 11 months ago by Nadya Well.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi there!

    Thanks for reaching out.

    Unfortunately, we can’t provide support to ACF here. Please get in touch with their team, and they’ll be able to help you.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Custom ACF field in event blocks template – value not pulled in’ is closed to new replies.