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
How to show all location added from admin | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium How to show all location added from admin

How to show all location added from admin

Posted: March 20, 2014 at 5:42 am

Viewing 1 reply thread


Debora Puterman

March 20, 2014 at 5:42 am

Hello

I have a custom template file that i have selected for a particular page.I want to do some code in that file to display all venue added.
I am adding venue from wp-admin I want to show all venue in my custom template file if user add any other venue it would be automatically added for that aswell.

After that if i clicked any of the venue display all event for particular venue format should be like we have for event listing page.

Basically want to show all venue and then when i click on them it will show event related to particular venue.

Thanks


Dean

  • Support Staff

March 20, 2014 at 6:48 am

Hi Debora,

We don’t have a shortcode to display all venues, only by specific ID: http://staging.eventespresso.com/wiki/shortcodes-template-variables/#venue

As such you would need to do some custom development to achieve what you are after.

In basic form what I would do is create a shortcode to query the venue table in the database and list out the venues.

Modify the title link to point to a specific page and add an URL query string that includes the venue ID (e.g. http://www.mysite.com/page-to-show-events/?venueid=1)

Then on that page you pointed them to create a custom template, that has code in it to GET the query string (e.g. ?venueid=1 ) and use it on the Venue List shortcode to output the list of events for that venue.

http://staging.eventespresso.com/wiki/shortcodes-template-variables/#venue-list

If that makes no sense, you will likely need a developer to assist you. We have a few recommended ones here: http://staging.eventespresso.com/developers/event-espresso-pros/

Viewing 1 reply thread

The support post ‘How to show all location added from admin’ 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 - Staging Server