bjibril
Forum Replies Created
-
Thanks for your response. I edited the wp-content/plugins/events-manager/templates/templates/events-grid.php file.
I changed line 16 fromecho EM_Events::output( $args );to
echo EM_Events::output( array('scope'=>'future', 'groupby'=>'recurrence_id', 'groupby_orderby'=>'event_start_date,event_start_time', 'limit'=>16, 'pagination'=>1) );But still no change in the default events output on https://findhalal.co/events/
EDIT
It actually worked! But the grids are now super long. Don’t know what else to change
EDIT 2
Search also stopped working properly
Thank you. I don’t want to use the default calendar. Is there a way to edit the PHP file to use these parameters when displaying the events manager default page? That is the php version of below.
[events_list scope='future' groupby='recurrence_id' view='grid' groupby_orderby='event_start_date,event_start_time' limit=16 pagination=1]If you point me to the file to edit, I can find it from the wp-content directory
Sorry one issue came up. When I use the search form to search. The list of events still remain on the page with the search results. https://findhalal.co/test-events-page/ How can I fix this?
Also how do I search only past events?Thank you! I got the grid view with no repetition and with pagination exactly as I wanted it using all the codes together:
[event_search_form] [events_list scope='future' groupby='recurrence_id' view='grid' groupby_orderby='event_start_date,event_start_time' limit=16 pagination=1]I tried this code and it worked for me. But it is only showing events in the current month. I can’t see the page numbers at the bottom of the page. I know I have events in the future months.
This is the default page (set in EM settings) with repeated events showing all: https://findhalal.co/events/
This is the page I am trying to create using the shortcode with no repetition: https://findhalal.co/test-events-page/- This reply was modified 2 years, 5 months ago by bjibril.
If I want a different page to show only past events, how can I do that? Say I want to direct users from the main events page (upcoming events) to another page showing past events.
- This reply was modified 2 years, 5 months ago by bjibril.
Thank you!