List of venues & category of venues
WordPress Event Management, Calendars & Registration › Forums › Pre Sales Questions › List of venues & category of venues
This topic contains 11 replies, has 3 voices, and was last updated by Stephen Harris 7 years ago.
July 16, 2013 at 3:17 pm #6471
I need page, where i can see all existing venues and sort them by categories (like simple posts). What should i do?iBasherJuly 16, 2013 at 8:31 pm #6490
But if you want to query venues by meta data (including ‘country’, ‘state’ and ‘city’) you’ll need to get Pro which supports better venue queries.
I’m not sure what you mean by ‘sort them by categories’ as you can’t do that for normal posts either…
Anyway, please keep in mind this a ‘pre-sales’ forum, and I only offer anything more than quick support to Pro customers.Stephen HarrisJuly 17, 2013 at 8:52 am #6494
Sorry, my english is not so good yet 🙂
I just need query venues by categories (like pubs, bars, cafe, fastfood….)
i hope that i`m correct 🙂iBasherJuly 17, 2013 at 11:27 am #6495
You’re English is good :).
You’ll need to purchase Pro to achieve that. Then you you can use the Venue custom fields metabox to store, say the ‘type’ or ‘category’ of venue: ‘bar’, ‘cafe’ etc (as the meta value),
Then you you’ll be able to query venues by their ‘category’ say, (see http://wp-event-organiser.com/pro-features/event-venue-queries/):
//Get all venues with 'category' set to 'bar' $venue_query = array( array( 'key' => 'category', 'value' => 'bar', 'compare' => '=' ) ); $bars = eo_get_venues( array( 'meta_query' => $venue_query ) );
The plug-in doesn’t automatically create pages for these categories, but tutorial/gist I linked to in my previous reply show how you can you do that.Stephen HarrisJuly 17, 2013 at 1:39 pm #6505
Thanks. I`m making this site only for practice, but now i see, that everything is possible and easy. So will purchase Pro when really need this feature (soon, i hope 🙂 )
Thanks again!iBasherJuly 19, 2013 at 11:23 am #6550
Seems like i need this features now.
Need query venues like here http://howitlook.p.ht/cat/places/ (like i said before – all venues is in WP categories). And need to list of events-in-this-venue inside the single venue page.
Will you help me with setting-up this features after i get Pro? I`m kind of dummy with php 🙂iBasherJuly 19, 2013 at 1:27 pm #6552
I’m confused, venues are not post types, so they cannot be assigned WordPress categories unfortunately. With Pro, however, you can assign a meta key-value pairs (for example, ‘category’ meta key and the venue’s category: ‘bar’ / ‘cafe’ / ‘museum’ ) as a meta value. You can then query by meta value too.
Regarding helping you set it up – it really depends on how much input you need from me I’m afraid. I can offer code snippets, and help with debugging – and the developer license affords you greater level of input – but if you need to me to actually produce something for you – or , then I’m afraid that falls out of the scope of the support.
I can certainly help you get started with it though – but tweaking it and finalising it will have to be left to you. (Also, see this gist which creates a venue archive page – it would be a matter detecting which category is being requested and changing the query accoridingly).Stephen HarrisJuly 20, 2013 at 2:45 pm #6553
Now looking for some money. 🙂
Today, i hope will find.
One more small question:
Need a simple button for event Going/not going with a counter. Is it possible?
Login is via Facebook (if you need this info)iBasherJuly 22, 2013 at 10:59 pm #6559
Need a simple button for event Going/not going with a counter. Is it possible? Login is via Facebook
No, unfortunately not.Stephen HarrisJuly 23, 2013 at 8:21 am #6577
Have an idea to transform like button into Going/not going. If i right, they have same code and i need just change visual part.iBasherJuly 23, 2013 at 2:12 pm #6607
Got Pro finally. Where should i ask my qestions for quick support?Iurii SmuglovJuly 23, 2013 at 6:08 pm #6609
Hi Iurii – you should have access to all parts of the forum now – so ask on the General Questions and I’ll check back later.Stephen Harris