Support » Plugin: Events Manager » ACF field in single template

  • Resolved reneequinn

    (@reneequinn)



    I want to attach an agenda to some events and have created an ACF field for events. Would really like to bring this in into the content area on single events.

    Have created a single-event.php and customised the Single event format field:

    <table class="table">
     <tr>
    <th>Date</th><td>#_EVENTDATES <a href="#_LOCATIONICALURL">
    <i class="fa fa-calendar fa-lg fa-pull-right  pt-2"></i></a>   
    </td>
    </tr>
    <tr>
    <th>Time</th><td>#_EVENTTIMES</td>
    </tr>
    {has_location}
    <tr>
    <th>Location</th><td>#_LOCATIONNAME<br>#_LOCATIONADDRESS
    <br>#_LOCATIONTOWN #_LOCATIONSTATE #_LOCATIONPOSTCODE</td>
    </tr>
     {/has_location}
    <tr>
    <th>Agenda</th><td><a href="#">View agenda<i class="fa  fa-file-pdf-o fa-lg fa-pull-right pt-2"></i></a></td>
    </tr>
    </table>
    • This topic was modified 1 year, 1 month ago by  reneequinn. Reason: no tags
    • This topic was modified 1 year, 1 month ago by  reneequinn. Reason: code
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘ACF field in single template’ is closed to new replies.