Posted: August 25, 2017 at 8:12 pm
|
Hi guys, i am using the following shortcode [ESPRESSO_EVENTS limit=5], myunderstanding is this shoul sort the pagination out as well, but this shortcode is not even limiting my events to 5, any suggestions please. thanks |
Hi there, You may need to add pagination to your custom template because in your other topic you asked about how to customize the event list shortcode template. If you temporarily remove your customizations and switch over to one of the default WP themes does the pagination begin working as expected? |
|
|
hi, i have put back the original template and tested and it is still not working, it can be seen here http://staging.lagaligoliveaboard.com/ryan-test/ i currently have 7 dummy events setup and using the following shortcode [ESPRESSO_EVENTS limit=4] and it is listed 4 events as expected, but there is no pagination for me to access the other events please advise thanks |
Does the pagination begin displaying if you deactivate all other plugins and temporarily switch to the default WordPress theme? |
|
|
hi https://greatives.eu/themes/osmosis/ so if you can suggest anything at all that would be so appreciative. These are the last 2 things i need to complete to be able to put this site live. again, many thanks for all your help and support. |
I replied in your other topic regarding the theme conflict: https://eventespresso.com/topic/filter-by-categories-not-working/ |
|
It turns out the pagination on your site is working, the theme is actually hiding it from display. You can override the theme by adding this CSS to your custom stylesheet:
|
|
|
Hi, Thanks with your direction on pagination, now it works fine. Right now I can pick up event categories & dates only on the particular page i am in. Look forward to your reply. Thanks |
To be honest I would not know where to start building some customizations to those specifications. Is that something your developer can help you with? |
|
|
that is my developer asking you, he is trying to understand better how your system works. The problem i have right now is i have a drop down that looks at the that will only display the event dates and category names displayed on that page, event though i have multiple pages configured, if i change page then, it will update the list and give me the chance to filder across that page as well. The issue is i cant search or filter across all pages that i have have events on. This is a restriction to how EE is linking and naming the pages , but i may be wrong. If you have an idea on how this can be handle would be much appreciated. currently you do not appear to offer any kind of search of filer options for multiple events on multiple pages. thanks |
Your developer can review the documentation for the WP Query class. That’s what Event Espresso uses to generate lists of events: https://codex.wordpress.org/Class_Reference/WP_Query https://developer.wordpress.org/reference/classes/wp_query/ https://www.smashingmagazine.com/2013/01/using-wp_query-wordpress/ |
|
|
if you have a look at staging.lagalioliveabaord.com/liveaboard-pricing you will see that the pagination is working and we have search filters on each page. it just won’t look across all pages for some reason. we had a look at the links you sent me but think we are missing something pretty simple. sorry to be a pain but this is the last thing I need to get the site live. thank you |
You likely are missing something pretty simple, but the search by itinerary and search by dates features that were added to your website are not supported by Event Espresso. |
|
|
Hi Josh, this is Chilly, rhumphrey’s developer. Can I check with you.. is there a way to extend EE’s wp_query functionality, particularly this part.. $wp_query = new EventEspresso\core\domain\services\wp_queries\EventListQuery( $args ); right now I have modified loop-espresso_events.php and content-espresso_events-shortcode.php (by copying the file into child theme) which makes things how it looks now, but have no idea how to extend the event list query functionality above.. is there a file i can copy to the child theme that extends the above mentioned function? Your advise & direction would be highly appreciated. |
No it doesn’t work that way. The query can be modified by using filter hooks like |
|
|
Hi Josh, thanks again for the direction. This post on stack overflow is very close to what we are trying to achieve stack overflow question however as before, it seems to apply to the whole page dedicated to showing list of events, and not to shortcodes (or to custom made shortcode and not using [ESPRESSO_EVENTS]). if for say this is a standard installation (with no modification whatsoever) how would this search functionality (by categories) be handled if using [ESPRESSO_EVENTS] shortcode ? thanks again, sorry its been a long journey of Q&A. Sure wish we can get this to completion. – chilly – |
Hi Chilly, The code in the stackoverflow topic can be applied when you use a custom page template. It will not apply to a shortcode.
Search by category isn’t included with the [ESPRESSO_EVENTS] shortcode, so it really does require some custom development to add it. There is the option to use a custom page template instead of hooking into the shortcode’s query, that may be the simpler way to go. If you go with the option of hooking into the shortcode’s query, you can review the following example that shows an example of how to hook in to any event archive (shortcode or native post type archive) and modify the query: |
|
|
Hi josh we are still having major issues with this search function, one of the issues that we are seeing is the way EE does there pagination /page/1/, /page/2/. We are unable to get the filters working through and returning the results across the pagination. we have reviewed the links from above and still no joy. I have seen other posts as well where people are also unable to get this working. if you have any more advice and guidance that wont just help me, but many other people that will propberaly find this feature very useful. it would be really appreciated, at this time this feature is preventing my whole project from going live. many thanks Ryan |
|
one thing that i have noticed with trialing and researching this problem is a lot of the other event booking platforms that have there own developed filter and search features. when they are using pagination there url strings are very similar to this. ?tribe_paged=2&tribe_event_display=list or like this ?title=&title_1=&page=2 this conforms and actually allows the search and filter functions to work correctly. |
|
hi. ok so last night I started to trial a 3rd party search and filter plugin this was working but when it loads my search results is displays the default list and layout that if I go to the actual category group. and not the layout that I created and linked back to your shortcode. for example if you go to staging.lagaligoliveaboard.com/ryan-test and select komodo from the first reach option and click search it loads the following page. http://staging.lagaligoliveaboard.com/event-category/komodo/ how do I tell the event-category to use the custom file and not the default layout configured in ‘RE thanks |
|
hi,k i have been searching adn looking for plugins that will work for the search and filter functoin for EE, but keep running into nothing but problems, i see a post yesterday with you asking if they knew of any good plugins, the one i have installed is call Seach and filter and on there he talks about how you have none or some filters that are defined, but also stats that these are setup under your own tables so most search platforms use default WP settings, so im starting to loose the plot with this now, I need to be able to setup the filters for my events.. can EE please provide a solution for this. The back end of this plugin is great but seriously lacks basic settings like search and filter, that is offered by some many other products, i have invested a lot of time and money into getting the front end developed. i really need to get this site live. please advise on this. thanks |
|
Hi josh, i want to close this call as i have a product for search and filter, but has a couple of issues that you might be able to help out with and if so, this would be a great product add on for event espresso if we can get it to work. ill open a new post. thanks |
The support post ‘Pagination not working (2)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.