Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119358

Hikups on "[Plugin: Events Manager] date of event instead of posting date"

$
0
0

Hello,

I created a single-event.php page that i based on the single.php blog page from my theme. So all of the events are posted in a simalar way as blog post. What is good.

My theme shows a nice big post date on top of each blogentry.
So as i based the single-event page on my blog page, this is also the case with my event entries.

But it's confussing as my events are future events and the big date showing up is the date of the blog entry.
So i would like to know if i could change the date of entry to the date of the event.

The day and month are extracted in this way in my theme.

<div class="first_row"><?php the_time("d"); ?><span class="second_row">
<?php echo strtoupper(get_the_time("M")); ?></span>
</div>

For the widget on my homepage, ti works well.
i was able to do this like this.

<ul>
<li class="class">
<div class="events_box">
<div class="first_row">#d
<span class="second_row">#M</span>

But this code was not hardcoded in the php. This code i've put in the widget area where it says : list item format

So my question, how do i extract the date of the event and add it in my single-event.php?

Thanks


Viewing all articles
Browse latest Browse all 119358

Trending Articles