At the moment there is a bug going on in The Events Calendar that would need to be solved soon. Great plugin regardless! Since when clicking onto the Calendar and clicking another month — either previous or the next — would use AJAX to view the next or previous months, but the View All x Events link in each and every one of those next/prev months would not link properly.
To remedy this, the following code can be placed within the
functions.php file of the theme, in a plugin, or within the Code Snippets plugin (preferred method):
As displayed within the
add_action function, this would hook the
tribe_events_calendar_view_all_events function to the
wp_footer action, which in WordPress the
wp_footer action would perform its actions most likely in the footer of the website. You can notice this when you look into your theme’s footer.php file (or similar) and search for the
wp_footer(); most likely found before the closing body tag
</body> in the theme file.
viewmore CSS class into a working one which in this case would be the website’s location origin / events / date /, for example
This code has been worked on using The Events Calendar 4.6.25 and The Events Calendar PRO 4.4.32, and the plugin authors Modern Tribe have stated that there will be some big changes coming up soon. So we can stay tuned for an official fix as well.
At the moment, this hotfix will sort things out for the meantime, and is not likely to break.
Please take note that the code listed above will have to be thoroughly understood so that you could get it tailored for your website. For example, the code above used the URL
/events/ to depict the post type for All Events. However, this can change depending on the circumstances and setup of your website.