lalas
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Subscribe to single categoriesThank you very much for your help.
Thanks, that did it!
One more question:
I think I figured out what the problem was.
I added this code to my child theme’s functions.php to exclude category 289 from my feed:
function exclude_category($query) { if ( $query->is_home || $query->is_archive) { $query->set('cat', '-289'); } return $query; } add_filter('pre_get_posts', 'exclude_category');
And it seems to interfere with the Events Calendar Shortcode plugin.
Is there a better way to exclude blog categories?Thanks in advance.
Thanks so much for your help, Brian!
On my other site (https://www.quirmbach.com) the remaining issue seems to be with the theme. I’ve repeatedly tested both – theme and correct ‘ character – but maybe not both at the same time ??
Now I’ve got it!
Thanks for your patience.
I emailed the admin access – did you get it?
Thanks for your help!
I set up another test page (not on multisite) and categories parameter is still not working…Shortcodes:
[ecs-list-events cat=’event-cat-one’]
[ecs-list-events cat=’event-cat-two’]Cats: Event Cat One with Event One, Two, Three and Event Cat Two with Event Four, Five, Six.
I didn’t use the limit parameter this time around. And if you click on any of the single events and then at the bottom of the page on Event Category it’s working as expected:
https://hi.lalanova.com/you/events/category/event-cat-two/
https://hi.lalanova.com/you/events/category/event-cat-one/I set up a test site on a multi site network and disabled all plugins and switched to the Twenty Sixteen theme for the test site.
I created two categories with 3 events each.
Category 1: Event: one, Event: two, Event: three
Category 2: Event: four, Event: five, Event: sixhttps://kurse.quirmbach.com/test/
I’m using shortcodes:
[ecs-list-events cat=’category-1’ limit=’2′]
[ecs-list-events cat=’category-2’ limit=’3′]But option cat is still not working…
Thanks for your help!