Posted: August 24, 2019 at 12:17 pm
I prefer the events archive page layout to the event list layout and would like to show the archive layout with a category on a page. Do you have the short code for that. On this page (https://newsite.csjthewell.org/introductory/) I am using the event list, but I don’t want the ticketing information. Rather I would prefer to have the page look like the event archive page that is assigned in Events>Templates (https://newsite.csjthewell.org/programs/) that has an image and the excerpt and if a person clicks on the title or image it will bring them to the single event page. Is there short code I can use to do that? |
|
Hello, The programs page that you shared looks like a custom page that was set up and then set to replace the default event listing page. Did you use a tool like a page builder for that? If so, you could use that tool to create another page with events in a certain category. — |
|
Yes. There is PHP added to the site to change the URL used for the Return to Events List button. But I’m not sure how to use that to change the items and order of what the event list short code shows that I’m using for https://newsite.csjthewell.org/introductory/. The event list short code uses the image, ticketing, cart button and then calendar. I would like for this page to use use image, title, excerpt and have the image and title hyperlinked to the single event as is done on https://newsite.csjthewell.org/programs/. Thanks in advance for your insight. |
|
And to clarify https://newsite.csjthewell.org/programs/ is the page defined on Events>Templates as the event list page. |
|
Hi there, It looks like the introductory page already outputs the content in the way you are describing, have you already figured this out or am I missing something on that page? |
|
This reply has been marked as private. | |
For screenshots you’ll need to host the image and post a link here, we have some examples of how you can add screenshots here: https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots
You can set EE to not display the details on the event list in: Event Espresso -> Events -> Templates -> Event List Pages Set ‘Display Description’ to Excerpt. Then ‘Display Ticket Selector’, ‘Display Datetimes’ & ‘Display Venue Details’ to No. That will remove most of the details you want to remove from the event lists. The output of What EE does is hook into
This ties in the with the above, the events slug (regardless of what you set it to, in this case programs) outputs an archive of EE Event posts and the theme can take full control of that output.
Setting the above options to not display in the event lists should get you close and we can help with some additional CSS if needed, the other option is to start overriding templates and generating your own. On the above setting page, make sure you are editing the Event list section settings as there are settings for both event lists and single event pages on that page.
I’m assuming your not using and custom templates for EE posts?
Event Espresso events are a custom post type, so they display as posts on pretty much every theme. |
|
Thanks! I was over-thinking it and changing the settings in Events>Templates allowed me to see the information the way I wanted it. |
|
The support post ‘Short Code to Show Event Archive Layout with Category’ 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.