Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Display events that are present in 2 categories in event list | Event Espresso - Staging Server
The shortcode does work I just tested it. you need to add in the category identifier which can be found in the Categories menu page on the right hand side of each category http://d.pr/i/aTZN
So using the above example and another, the shortcode would read:
Thanks for your prompt response. That’s exactly what I’ve done. Does this method display if event is present in both categories or just displays all the events listed?
I’m looking to only display if the event is present in both categories.
I’ve just looked into this and currently the shortcode does not allow you to show only events within 2 or more categories. It will show events from multiple categories but not if ONLY within those multiple categories.
This would need to done within a custom shortcode.
The simplest method is to create a third category for those events and call just that single category.
To create a custom shortcode you will need to know PHP and MYSQL to a reasonable level at least.
You can use the existing shortcodes as a basis for your new one. The difficulty level is subjective, it depends on your knowledge.
Viewing 5 reply threads
The support post ‘Display events that are present in 2 categories in event list’ 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.