Posted: August 26, 2017 at 5:04 am
|
hi i am using the following shortcode as its one of the ones i found on the forums, but its not working for me, so can i get some advice please. [ESPRESSO_EVENTS category_slug=komodo] is this the correct shortcode or is there another one, im trying to show only certain events on certain pages, thanks |
Assuming the event category slug is https://eventespresso.com/wiki/ee4-shortcodes-template-variables/#event-category-listings Can you explain what you mean by “not working”? |
|
|
sure I mean if I take the shortcode with my for with the correct slug I copied form the categories pages and insert to a page. according to the category list komodo has 4 events associated with it. but it shows all 7 of my dummy events I have setup and not the ones only associated with komodo. this is also the case for the other categories I have setup. it just displays all. |
It sounds like there’s some code on your site (either from another plugin or the theme) that’s stripping away the taxonomy part of the query. I can see the native taxonomy archive route is displaying the 4 events here: http://staging.lagaligoliveaboard.com/blog/event-category/komodo/ It may help to follow this troubleshooting guide to find the plugin or find if it’s a theme function: |
|
|
hi you have any idea how i can find this out or you can help with me this. this is the last thing i need to get working and im ready to go live. any advice would be awesome. thanks |
My advice would be to find the code within the theme that’s causing the problem and either remove it or wrap it into a conditional so that it doesn’t affect the pages where you don’t want it to have that effect. Is there a place where we can download a copy of the theme? If so we can point you in a more specific direction. You can even upload the theme’s zip file to a dropbox folder (or similar), then post the link here so we can download it. |
|
|
Hi, i have updated to this version. you can download from my dropbox account here https://www.dropbox.com/sh/415dygjebkxwk6t/AADDloQRYIdpb835uHmL2rQva?dl=0 thank you and look forward to your reply. |
I loaded up the theme you sent and the category_slug shortcode parameter works on the testing site. Maybe the conflict is within the custom code? |
|
The support post ‘filter by categories 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.