Add html code behind date and time in summary calender list and photo view

Home › Forums › Calendar Products › Events Calendar PRO › Add html code behind date and time in summary calender list and photo view

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #974294
    Lars
    Participant

    Hi, could you tell me, which file to edit and upload to which directory to add a piece of post_meta code of an event behind date and time in die summary calender list and photo view (for example a text “fully booked”).

    e.g.

    EVENT TITLE
    25 Juli, 14:00 – 15:30 <?php $BookingStatus = get_post_meta( get_the_ID(), ‘_EventBookingStatus’, true );
    // check if the custom field has a value if( ! empty( $BookingStatus ) ) {echo $BookingStatus;} ?>

    Best,
    Lars

    #974720
    Geoff
    Member

    Hi Lars,

    Thanks for getting in touch and good question!

    You can edit the photo view in this file:
    /plugins/events-pro/view/photo/single-event.php

    …and the list view here:
    /plugins/the-events-calendar/views/list/single-event.php

    Let me know if this helps get you to the code you’re looking for. 🙂

    Geoff

    #975512
    Lars
    Participant

    Great, thanks for the hint.

    #976026
    Geoff
    Member

    My pleasure! Thanks for reaching out and thanks too for marking the thread Resolved–I’m so glad this helped. Feel free to start a new thread if any other questions pop up. 🙂

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add html code behind date and time in summary calender list and photo view’ is closed to new replies.