Support

Home Forums Community Forum Listing only certain events on one page instead of all of them

Listing only certain events on one page instead of all of them

Posted: January 9, 2016 at 2:28 pm

Viewing 7 reply threads


Alexis

January 9, 2016 at 2:28 pm

I have the decaf version installed and I am trying to figure out how to have one page list only classes that are named X and another page with only classes called Y. I found the shortcut from the documentation section.

Display a list of events from a specific category on a WordPress page or post
[ESPRESSO_EVENTS category_slug=your_event_category_slug]

How do I find my “your_event_category_slug” where would this be located? Would it be my url? My event ID? My event name?

  • This topic was modified 8 years, 10 months ago by Tony.


Tony

  • Support Staff

January 11, 2016 at 4:56 am

Hi Alexis,

I have move your thread to the community forum.

When you create categories within Event Espresso you go to:

Event Espresso -> Events -> Categories.

You’ll see a list like this – http://take.ms/FFUue

There you can find your Event category slug.

A category slug is basically a website friendly name for your category that includes not special characters and no spaces etc, it is created from your category name.


Alexis

January 12, 2016 at 7:06 pm

Does the event slug not work with the Table Template?

I currently have:

[ESPRESSO_EVENTS_TABLE_TEMPLATE order_by=event_name table_striping=false table_paging=false ]

but would like to add a slug:
[ESPRESSO_EVENTS_TABLE_TEMPLATE category_slug=”adult-cpraed” order_by=event_name table_striping=false table_paging=false ]

The slug won’t work with the table template but it does by itself:

[ESPRESSO_EVENTS category_slug=”adult-cpraed”]

How do you add a slug to the table template?


Josh

  • Support Staff

January 13, 2016 at 7:46 am

Hi Alexis,

I might be mistaken, but I do not believe that the ESPRESSO_EVENTS_TABLE_TEMPLATE shortcode will function with Event Espresso decaf. That’s added with an add-on that’s compatible only with EE caffeinated.


Alexis

January 13, 2016 at 4:18 pm

Sorry, I recently purchased the EE caffeinated complete package with all add-ons after I posted my first post.

So with the complete EE caffeinated version this is my issue:

Does the event slug not work with the Table Template?
I currently have:
[ESPRESSO_EVENTS_TABLE_TEMPLATE order_by=event_name table_striping=false table_paging=false ]
but would like to add a slug:
[ESPRESSO_EVENTS_TABLE_TEMPLATE category_slug=”adult-cpraed” order_by=event_name table_striping=false table_paging=false ]
The slug won’t work with the table template but it does by itself:
[ESPRESSO_EVENTS category_slug=”adult-cpraed”]
How do you add a slug to the table template?

Can I not just show one class category in the table template view?


Josh

  • Support Staff

January 13, 2016 at 4:28 pm

You can, and if you remove the quote marks around the category slug that should fix things for you. There’s more information about how to set up the shortcode + parameters in the documentation:

https://eventespresso.com/wiki/events-table-view-template-add-on/


Alexis

January 13, 2016 at 5:19 pm

Thank you for the fast support!

Something so small always makes a difference! Removed the “” and it works great!


Josh

  • Support Staff

January 13, 2016 at 5:34 pm

You are welcome Alexis.

Do you have another account here on eventespresso.com, and if so, is it the account that has the access to the plugin downloads? If so, that’s the best account to use when posting to the support forums.

Viewing 7 reply threads

The support post ‘Listing only certain events on one page instead of all of them’ 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.

Event Espresso