• Resolved oweck

    (@oweck)


    Hello, i would like to thank you guys for this great plugin.. everything works great for about few days unitl I today find the mistake. I dont see in the wp-admin area, in the Production list the date of the event…also this is now rewrtiting to the frontend where I call this infos abotu place, dates atc. via shortcode…I dont know why but the one event has got the date shown, and also this date goes to frontend to the detail page…can you please give me a solution..?

    Here is th link for the screenshot

    Thank you in advance for your help..Petr

    https://www.ads-software.com/plugins/theatre/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeroen Schmit

    (@slimndap)

    Hi

    I am not sure what problem you are referring to, but maybe this explains it:

    The dates that you see next to the production are only the dates of the _upcoming events_. As soon as an event has started, it disappears.

    Thread Starter oweck

    (@oweck)

    Ah, so this is the answer for me…but…the depending question – I am showing the informations about the date, ticket price, links and other inputs from admin – in the detail of the event page on frontend. But if I visit already started event, i dont see this information anymore…is this right? But dont know exactly why? Imagine, that the event is for 3 months, and it alreasy stars, but I have still the event in my listings, and want to have on the page also infoarmation about start date, end date, ticket price and so on…is it please possilbe with some PHP hack? I looked up to the Shortcodes list, but I think there is no way to do what is needed…

    Plugin Author Jeroen Schmit

    (@slimndap)

    Unfortunately this is not possible.
    Multi-day events are not supported. You have to create a new event within the production for every single day.

    evivamedia

    (@evivamedia)

    Hi! Oweck

    Have you tried creating your own Single page template for “Production”? (eg. single-wp_theatre_prod.php)

    and you can call all the “Past production” info by declaring the theatre global variable.
    EG:

    global $wp_theatre
    $filter=array('production' => get_the_ID);
    foreach ($wp_theatre->events->get($filter) as $event){
    $startDate = new DateTime($event->startdate());
    echo $event->remark(); //display event remark
    echo $startDate->format('D'); //display startday of the event
    }

    Thats how i did mine to show “Past production” information

    Thread Starter oweck

    (@oweck)

    OK Evivamedia will try this…thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dates not showing in admin production list’ is closed to new replies.