Thanks for your reply!
I already tried this but because of your reply, i tried it another time with the same result. I get an error message that i try to get an ID of a null object. global $EM_Event is null if i print it with var_dump(). This is my code in the event_list_item_format.php:
...
...
<div class="em-item-info">
<?php
global $EM_Event;
$hasDetails = get_post_meta($EM_Event->post_id, "EventDetails", true);
if($hasDetails == "Yes")
{
echo "#_EVENTLINK";
} else {
echo "#_EVENTNAME";
}
?>
...
...
-
This reply was modified 12 months ago by hamish1969.
-
This reply was modified 12 months ago by hamish1969.