Forum
Events Filter by Category
Hi,
When I create a link to a search filter by using this url:
/training-events/event-search.php?cat=Bedfordshire
I get no return on the search resluts if the Event is not this month.
In the event-search.php I am using the following to display events:
<?php $opts = array(
'past-events'=>true,
'category' => perch_get('cat') );
perch_events_listing($opts); ?>
I must be missing something here, is perch_events_listing the wrong thing to use here? I want to list all events from now going forwards in the specified category.
Thanks
Adam
I think you want to use
perch_events_custom()
for that.That did it, thanks very much.