Support » Plugin: Event post » Start-date in the post title?

  • Resolved ixinho


    Hello is it possible to have start date somehow in the post title ?
    I have a category posts widget on my homepage which displays these posts, and i would like to have an option of letting people know when will the event happen without clicking on the post. . .

Viewing 9 replies - 1 through 9 (of 9 total)
  • With this code you get the Event-Date instead of the publication date.

    <?php  $display_date = date('d.m.Y', strtotime(get_post_meta($post->ID, 'event_begin', true)));
                             if ( $display_date == '01.01.1970'): { the_time('d.m.Y'); } else: { echo $display_date;  } endif; ?>

    Thank you for the reply. Where should i place the code?

    Depends on your theme. In my case in archive.php

    Hm, but will it replace the date for all post types or only for event posts made with this plugin?

    And shall i use it without php tag if i put it in some php page that already has tags?

    Plugin Author Bastien Ho



    you can also use in your theme the wrapper functions (listed here:



    Thank you. Could you please assist me with that, since i don’t know where and how should i put it ?

    Could i please have some help on having the event date instead of published date for the event-posts ? It’s kinda really urgent to me : /

    Plugin Author Bastien Ho


    Has @dombucheli said, you have to manage it in your theme. actually, if you do not touch php, you can’t.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.