ngk
Forum Replies Created
-
Subscriber
Hi
Thanks for your reply. No, the category is enabled, as well as the boxes in user categories ticked. It’s very odd. I feel that the issue started when I gave some users permission to publish events, but in my opinion that shouldn’t affect the categories.
any other idea?
Hi,
Many thanks for the reply.
Do you mean like this?
<?php
/*
* Default Events List Template
* This page displays a list of events, called during the em_content() if this is an events list page.
* You can override the default display settings pages by copying this file to yourthemefolder/plugins/events-manager/templates/ and modifying it however you need.
* You can display events however you wish, there are a few variables made available to you:
*
* $args – the args passed onto EM_Events::output()
*
*/$args = array( ‘category’ => ‘-27’ );
$args[‘pagination’] = true;$args = apply_filters(’em_content_events_args’, $args);
if( get_option(‘dbem_css_evlist’) ) echo “<div class=’css-events-list’>”;
echo EM_Events::output( $args );
if( get_option(‘dbem_css_evlist’) ) echo “</div>”;
——————————-
Thanks!
Hi
I have a similar problem. I used $args = array( ‘category’ => ‘-27’ ); in events-list.php to exclude a category from my main events page. This worked, but it also removed my pagination. Any ideas why that is?
Thanks.