Support

Home Forums Community Forum Category shortcode not working

Category shortcode not working

Posted: September 13, 2016 at 9:36 am

Viewing 6 reply threads


haryia

September 13, 2016 at 9:36 am

Hi, I try to use category shortcode but they don’t work. Can you help me ?

Here the demo page:
http://staging.eataly.com.br/wp-admin/
( access is: user: eataly pass: E@tAly_BR )

Here the shortcode with 3 events:

[ESPRESSO_EVENTS category_slug=”cursos-de-cozinha-maio”]

as you can see the page not display anything.

Thanks
Sara


Josh

  • Support Staff

September 13, 2016 at 9:43 am

Hi there,

That’s not a link to a page, and you can try removing the quotes from the short code.


haryia

September 13, 2016 at 9:47 am

sorry this is the page:
http://staging.eataly.com.br/categories/

I try to use that now [ESPRESSO_EVENTS category_slug=cursos-de-cozinha-maio]
but it doesn’t work.


Josh

  • Support Staff

September 13, 2016 at 10:57 am

Do you have any upcoming events assigned to that category? The reason I ask is because this URL doesn’t return any events:

http://staging.eataly.com.br/event-category/cursos-de-cozinha-maio/

Along with that, you’re using a version of Event Espresso that’s no longer supported. You’ll need at least version 4.8.10 or higher to allow us to be able to support your site.


haryia

September 14, 2016 at 9:26 am

ok now its working! I’ll try to change dates.
I have another question. Is possible sort events in three columns instead of one?
thanks!


haryia

September 14, 2016 at 10:09 am

sorry, again me! I resolve that. I have another question about shortcode. Is it possible make visible only the last 2 events

[ESPRESSO_EVENTS category_slug=cursos-de-cozinha-maio]

what i need to add to this shortcode?

thanks


Lorenzo Orlando Caum

  • Support Staff

September 16, 2016 at 12:39 pm

Hello, you could use the limit parameter:

[ESPRESSO_EVENTS category_slug=cursos-de-cozinha-maio limit=2]


Lorenzo

Viewing 6 reply threads

The support post ‘Category shortcode 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.

Event Espresso