Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

$EM_Event->output( ‘#_EVENTLOCATION’ ) not working

$
0
0

Replies: 0

Hello,

I have a query for the events in my theme template:


    $events = EM_Events::get( $args );
    foreach( $events as $event ){
       ...stuff
       echo $event->output( '#_EVENTLOCATION' );
       ...more stuff
    }

For some reason $event->output( '#_EVENTLOCATION' ) is no longer working in my template files. It used to work and I haven’t changed anything, and all of the other output placeholders are working, it’s only that one. I looked through my backup screenshots and it’s missing in all of them so it seems like it’s been this way for a while and not caused by a recent update. I’m not sure when as a hadn’t noticed until now.

Did something change in the location placeholder that might be causing this?


Viewing all articles
Browse latest Browse all 59525

Trending Articles