Separate Meta Information

Home Forums Calendar Products Events Calendar PRO Separate Meta Information

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #858621
    Dante Fillyau
    Participant

    I am trying to customize my calendar to resemble my blog style on this template. Where in the meta files can I separate the date, month and time to be on separate lines/fields. I see <?php esc_html_e( $start_date ) ?> and <?php esc_html_e( $start_datetime ) ?> but I cannot place these fields into the single-event.php to generate those values.

    Current Calendar: http://dibiaathletic.com/V4/events/
    Blog Setup with Date to the left: http://dibiaathletic.com/V4/news/

    #858721
    Barry
    Member

    Hi!

    Would it work for you to add something like this?

    <?php echo tribe_get_start_date( null, false, 'l' )  // Day ?>
    <?php echo tribe_get_start_date( null, false, 'jS' ) // Date ?>
    <?php echo tribe_get_start_date( null, false, 'F' )  // Month ?>
    <?php echo tribe_get_start_date( null, false, 'Y' )  // Year ?>

    You could separate each out / wrap them in divs or spans as needed (and that should work from within your custom single-event.php template, too).

    #880467
    Dante Fillyau
    Participant

    thanks.

    #882246
    Barry
    Member

    Our pleasure!

    I’ll go ahead and close this thread since it sounds like you’re all sorted – but if we can help with anything else please don’t hesitate to create new threads as needed and one of the team will be only too happy to help.

    Last but not least, if you have a moment to spare, we’d love to hear your thoughts on The Events Calendar across on our plugin review page 🙂

    Thanks again!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Separate Meta Information’ is closed to new replies.