When I try to use the Events Grid View Template it is showing the code itself i had it one time showing them but it wasn’t in a grid it was in a straight line down. http://www.mtc.me/ under the headline Trips & Products
I checked your website and the shortcode you see there, [EVENT_CUSTOM_VIEW template_name="grid" sort="ASC" order_by="start_date"]
is actually for the Event Espresso 3 event custom view add-on. You’ll need to use the Events Grid View Template add-ons shortcode instead. Here’s a link to the documentation that shows how to use that add-on:
Ok that is why it worked once then didn’t work when i was playing with it. Now I have that one back there and it is putting them in a line downwards and not in a grid.
The reason for the layout issue is because the shortcode is being used within a widget area. The shortcode is really only intended to be used within the main content section of a page or post. You can work around that limitation by manually enqueueing the Grid add-on’s assets. Are you familiar with how to add a function to either the theme’s functions.php file or into a site specific plugin?
You can add the above to a functions plugin or into your WordPress theme’s functions.php file. We recommend the plugin method so you won’t lose your changes when you update your WordPress theme.
Viewing 5 reply threads
The support post ‘Events Grid View Template not working’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.