And is it possible to realize adding the locations in the main category of your blog? Or something to add the ability to add a space and the classification of places on категориям.Например: the category “Theaters”, and in it all the theaters of the city.
thank you!
Yes, you can add any taxonomy to Events or Locations. Which one will determine how to go about it.
This tutorial explains it well – http://jeffri.net/2010/07/some-useful-tips-for-wordpress-custom-post-type-and-taxonomy/
e.g. to add event categories to locations, add this to your theme functions.php file
register_taxonomy_for_object_type('event-category', 'location');
normal category
register_taxonomy_for_object_type('category', 'location');
To search, currently EM doesn’t offer this out the box with an easy way but e.g. using WP_Query you can do a search by custom field, which is how #_LATT and #_ATT properties are stored.
Hello! Add a category for the location turned out, but how do I display all the places on the site or of all the places in a certain category – can not.
Tell me how can I do it?
Thank you!
P.S.I’m sorry, but know English bad.
we don’t have a specific search filter for this, you’d have to use WP_Query or add your own scripts to create your own filter.
We have tutorials for the latter here (using alternate method) – http://wp-events-plugin.com/tutorials/creating-custom-event-search-attributes/
We do this for our categories around line 338 of classes/em-object.php