Support

Home Forums Event Espresso Premium Shortcodes not working

Shortcodes not working

Posted: November 12, 2015 at 9:50 pm


Kevin Bull

November 12, 2015 at 9:50 pm

Hi, I have created two test event groups and will need to be able to display both categories separately. I have established the two categories, each event has only one category box checked, and I have double checked this under the edit categories tab.
when i try to use [ESPRESSO_EVENTS category_slug=”fresno”] as a shortcode it brings up all events and does not limit it to only those with the fresno catagory. I have wasted several hours now, what could be causing this?


Tony

  • Support Staff

November 13, 2015 at 2:24 am

Hi Kevin,

Just to confirm, is that the shortcode shown for that category under Event Espresso -> Events -? Categories.

For example – http://take.ms/DlFeb

Have you modified the EE templates at all?


Josh

  • Support Staff

November 13, 2015 at 7:59 am

Hi Kevin,

Can you try removing the quotes from the shortcode, so it’s this instead?

[ESPRESSO_EVENTS category_slug=fresno]


Kevin Bull

November 13, 2015 at 2:23 pm

Hi thanks for the responses, @tony yes that is the shortcode that is shown, and @josh I gave it a try with no quotes and there was no change.


Josh

  • Support Staff

November 13, 2015 at 3:38 pm

Hi Kevin,

If you go to http://yoursite.com/event-category/fresno/ does it list out the correct events?


Kevin Bull

November 13, 2015 at 8:33 pm

Yes Josh that does bring up the correct event list


Kevin Bull

November 14, 2015 at 1:03 pm

@josh does that give us some useful information as to why the shortcode is not working? using that event page is not as convenient as being able to plug the shortcode in and out of my site.


Tony

  • Support Staff

November 16, 2015 at 2:53 am

It doesn’t provide information on the shortcode, but shows that EE is working correctly when filtering the categories.

Can you link us to the page this is happening one please?

Are you using multiple instances of the shortcode within the page or just one?

It could be a plugin/theme conflict, to test that you would need to temporarily de-activate all plugins and retest, if its still the same switch to a default theme such as twentyfourteen and check if the events that load. It is best to do this on a development copy of the site away from view of you visitors.

The support post ‘Shortcodes 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 3 years, 9 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!