Posted: August 10, 2012 at 10:43 am
|
I want to use the [EVENT_LIST] shortcode to display a list of events, but only want to display a title link to that event’s page, not the entire “Title, Price, Dates, Available Spaces, etc.” details. The EE Upcoming Events widget does this exactly how I want to, but there is no widgetized area in my particular page and I’d like to do it using a shortcode so it’s customized for my template/theme. |
|
I too am looking for this. The layout for [EVENT_LIST] has horrible spacing and doesn’t list events in an aesthetically pleasing manner. A simple list of event titles by date would be ideal. |
|
FYI: My research so far has led me to this page: http://digwp.com/2010/04/call-widget-with-shortcode/. Creates a custom shortcode for any widget. It works great ([widget widget_name=”Event_Espresso_Widget”]), but the problem is that there’s no way to access or change the options of the widget. For example, I want to only display events from a certain category. So, this is a solution if you want to display ALL events. And again, there’s not much control over the output/display. |
Hey Melissa and Lucas, The custom files add-on has several example templates that can be used to display events in a table display. There’s even one that will display the events in a dropdown list of links like this: If you know a little HTML & CSS, the event_list_display.php template can also be modified to display only links. Modified templates can be copied over to /wp-content/uploads/espresso/templates, and these will override the built-in templates and will not get overwritten on a plugin update. There is more information in this guide: https://eventespresso.com/wiki/put-custom-templates/ We recommend using Diffmerge to help merge changes into custom templates. |
|
|
I ended up just modifying my custom template file (event_list_display.php) commenting out almost everything that was being displayed, except for the event link. Not ideal, but it works. |
Hi Melissa, The templates are meant to be customized, and we have a location to copy these to so they do not get overwritten on an update. Templates can be copied over to /wp-content/uploads/espresso/templates. There is more information in this guide: https://eventespresso.com/wiki/put-custom-templates/ |
|
|
Is it possible for the CSS dropdown menu to display links to categories rather than list individual events? Jennifer |
The CSS dropdown functions were developed to list events. So to change it to display a linked list of categories, they would need to be re-factored. You might try looking into the newer [EVENT_ESPRESSO_CATEGORIES] shortcode that was added to 3.1.26.P. The syntax goes something like this: |
|
|
Guys, sorry, I’m quite confused. I want do edit the event list placed on http://you-can-fight.com/termine/. Especially I want to remove the prices shown there. I understand that this can be done my modifying the file event_list_display.php But I don’t have such file in the /you-can-fight.com/wp-content/uploads/espresso/templates folder. There are only event_list_secondary.php and event_list_table.php. I have also installed the custom files add on. But what does this do? And where to find the CSS Dropdown option mentioned above? Thanks for bringing some light to me. |
|
Chris, I believe the CCS Dropdown option above is within the Custom Files folder that you can download. It is not a plugin to install, but rather PHP code you can use to display things differently. I think… |
|
Hey Melissa, thank you very much! You got me back on track. Everything works fine now. |
The support post ‘[EVENT_LIST] Links Only’ 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.