Custom ACF field in event blocks template – value not pulled in
-
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?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom ACF field in event blocks template – value not pulled in’ is closed to new replies.