[Plugin: Events Manager] Display Event php code
-
Hi everybody,
I’m developping a wordpress theme, and I would like to display some events in a specific page.
I would like to know how to display an event in php code ?
After creating some dummy events, I tried to display them using this code:if (class_exists('EM_Events')) { echo EM_Events::output( array('limit'=>2,'orderby'=>'name')); }But nothing appears, and when I use “echo ‘aaaa'” in an else condition, it always enter in that block.
Anybody has an idea ?
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘[Plugin: Events Manager] Display Event php code’ is closed to new replies.