ajmo
Forum Replies Created
-
Axel, I hope you solve your problem, for me it turned out stupidly simple, for unexplained reasons all the event creation/editing permissions had been taken off the options. Simply reinstating them solved the problem.
Regards.
OK I have disabled all plugins, except events, and reverted to the Twenty Thirteen theme (I had a modified child). However problem persists.
I would welcome further advice.
Regards
I have a similar problem, after upgrading to WP4.6.1 and Events Manager 5.6.6.1 when I look at events in the backend I only have menu entries for ‘settings’ and ‘help’.
I have a test environment that works ok on WP4.6.1 and Events manager 5.6.2 that has almost identical plugins to live site, save a couple for handling email differently.
I could appreciate some help in solving this. Thank you.
Hi caiman, Thanks for your help
Regards,
Ok as you probably guessed I am a novice at this. After much flapping around I have alighted on a solution. I have written a custom shortcode function as follows:
function my_shortcodef($atts) {
if (class_exists(‘EM_Events’)) {
$events = EM_Events::get( array( ‘scope’=>’past’, ‘limit’=>1, ‘orderby’=>’name’) );
foreach ($events as $event) {
echo ($event->event_name).’
‘;
echo ($event->post_content).’
‘;
echo ‘——————————————————————
‘;}}}As you can see it lacks formatting but I can at least get hold of the data.
Hope this approach is supportable.
Regards,
Hi angelo, I am grateful for your reply, I had appreciated the point you made. So my question is:
Is it possible to display events in more than one format on differing pages?
If this requires some customisation I am happy to have a crack at that. However from what I have read this does not seem to be possible because talk in the codex refers to ‘over riding’ templates rather than adding additional. Or is this simply a semantic miss understanding on my part?
Regards,
Hi caiman_nwl,
Thanks your reply, apologise my delay in so doing. I was aware of being able to do that in the events list. I want to keep the events list format as is for one page, but separately show a single event itself (the most recent one that has taken place ) on a separate page, using something like:-
[event scope=”past” ] but this does not work since this shortcode requires a postid to pick up a specific event. Even then I would like to be able to format this event differently from future events (e.g. not showing date/time/map etc).An alternative that I understand is not possible is to have a second template for the events_list.
—-perhaps I am hoping for too much.
Regards,