Forum Replies Created
-
AuthorPosts
-
FrancoParticipant
This reply is private.
September 3, 2015 at 9:35 am in reply to: Add Custom Category to Venues, cagtegory added, then ? #1001686FrancoParticipantHello Josh,
thank you, I do not have any dashboard menu for Venue Categories (I can see the list of venues in a category in the backend as explained in my last post above).
Anyway, I did -guess and- found the url to have them on frontend such as domain.ltd/venue-category/bar-et-discotheques/
Now I will try to find out how to have them displayed the way I want (order, featured images…)
Perfect ! I think we could now mark this thread as resolved, many thanks for your support and help.
Have a nice day.
FrancoSeptember 2, 2015 at 6:59 am in reply to: Add Custom Category to Venues, cagtegory added, then ? #1001213FrancoParticipantHello Josh,
many thanks for your help, it works fine as it display the Category for the Venue on the single venue page, but maybe I was not clear enough in my request or my english is not academic (for sure), I wish to show a page that display all post for a category, on the backend I can see all post in the category “bars-et-discotheques” this way
/edit.php?post_type=tribe_venue&tribe_venue_category=bars-et-discotheques
my question is: how can I display on the frontend all Venues (a list of all Venues) in the category “bars-et-discotheques” ?
This is what I try to achieve and it would be sooooo nice to have it working 🙂
Mamy thanks for your time and support.
Franco
September 1, 2015 at 5:08 am in reply to: Add Custom Category to Venues, cagtegory added, then ? #1000828FrancoParticipantThis reply is private.
September 1, 2015 at 5:04 am in reply to: Add Custom Category to Venues, cagtegory added, then ? #1000827FrancoParticipantHey Josh,
i get this code below in my function’s theme file and get my categories for venues on the backend, my question is how to display Venues within a Category (like displaying regular Category post in WP) on the frontend?
I try some code but nothing showing up, I am looking for a sample php code to display my venues in a specific category such as a category page with all venues in the category “Restaurants”, how should I do this in a template ?
Many thanks!
function venue_category() { register_taxonomy('tribe_venue_category', 'tribe_venue', array( 'hierarchical' => true, 'show_ui' => true, 'show_admin_column' => true, 'query_var' => true, 'labels' => array( 'singular_name' => _x( 'Venue Category', 'venue singular name' ), 'menu_name' => __('Venue Categories', 'venue singular name') ), 'rewrite' => array( 'slug' => 'venue-category' ) )); } add_action( 'init', 'venue_category', 0 );
August 30, 2015 at 1:21 pm in reply to: Add Custom Category to Venues, cagtegory added, then ? #1000318FrancoParticipantHello again Josh,
thanks again for your suggestions, I did try to get it working but nothing to do, I get my venues categorized but I still looking on how get them displayed (as regular WP categorized posts) in a template loop.
Any help (source code example) would be nice.
Cheers,
FrancoAugust 29, 2015 at 2:10 pm in reply to: Add Custom Category to Venues, cagtegory added, then ? #1000235FrancoParticipantThis reply is private.
FrancoParticipantHey George,
thanks for your reply, I am wondering why the Venues cannot independetely being rated as the Events, as the Venues seems independent content such as WP Pages or Posts (/venues/myvenue such as /category/mypage) even if they are -of course- correlated with their events.
Yes this is sad to see how Venues are handled in that case, Venues should be considerated as independent content such as the Posts or Pages and it would fix a lot of issues, not only for rating. Maybe.
Franco
-
AuthorPosts