Home › Forums › Calendar Products › Events Calendar PRO › wp_dropdown_categories
- This topic has 44 replies, 10 voices, and was last updated 13 years, 11 months ago by
Jonah.
-
AuthorPosts
-
February 16, 2012 at 12:41 am #15252
Javier
ParticipantCan I get something like the wp_dropdown_categories but with the category events?? What code is it?
Thanks
February 16, 2012 at 9:51 am #15267Christina
ParticipantI’m interested in this too!
February 16, 2012 at 12:55 pm #15288Rob
MemberHey folks. Since we’ve had a couple requests for this so far, let me get one of our devs to take a look and see what it’d take to accomplish 🙂
February 21, 2012 at 3:44 am #15420Javier
ParticipantAny news about this?? thanks!
February 21, 2012 at 10:20 am #15457Rob
MemberHey Javier. Thanks for the note; at this point this is an issue logged with our devs to review but is on the backburner as we focus on more immediate releases (Events 2.0.4, Community add-on, etc). If we were to add something along these lines it probably wouldn’t be added until at least 2.1.
Once I hear back as to whether it’s possible, I’ll let you guys know. But this unfortunately won’t mean the code is ready right at that time.
February 21, 2012 at 10:07 pm #15481Joey Kudish
MemberHey Guys,
Good news on this front, wp_dropdown_categories actually has a ‘taxonomy’ paramater that you can pass to it, so you could use it to generate the exact same dropdown with the events taxonomy right out of the box without any customization, like so:
TribeEvents::TAXONOMY) ); ?>
Note: there’s a full list of paramaters for the function here: http://codex.wordpress.org/Function_Reference/wp_dropdown_categories
Let me know if you have any other questions
JoeyFebruary 21, 2012 at 10:09 pm #15482Joey Kudish
MemberSorry guys, our system wrangled my code, so here it is in a more readable format: https://gist.github.com/1881943
February 22, 2012 at 12:05 am #15495Javier
ParticipantNice one guys!!! it works!!
How can I add a submit button so when I click on it displays that category on the grid?http://www.yllana.es/calendario-de-gira-yllana/Mes/
thanks!
February 22, 2012 at 12:50 pm #15508Leonard
ParticipantI also would like to know once we select the category, for it to show the filtered grid, like when we actually click on the category on the event details view: http://domain.com/events/category/slug/
The code worked, but it just shows the drop down menu. does not do anything.
Thanks.
February 22, 2012 at 7:10 pm #15513Leonard
ParticipantOk, I figured out how to filter the calendar using the drop downs.
February 22, 2012 at 8:13 pm #15531Rob
MemberAwesome to hear you got this figured out, Leonard. Let us know what else we can do.
February 22, 2012 at 8:13 pm #15533Joey Kudish
MemberLeonard, would be great if you shared your solution so that other users could benefit as well!
Let us know!
February 23, 2012 at 9:27 am #15561Christopher
ParticipantI think this may be the answer to a thread I just posted/started! Please will you share for the less ‘developer’ minded of us Leonard?
February 23, 2012 at 10:14 am #15577Rob
MemberHeh, all eyes on you Leonard 🙂 No pressure…
February 23, 2012 at 3:26 pm #15606Leonard
ParticipantSure guys…will post it tomorrow.
-
AuthorPosts
- The topic ‘wp_dropdown_categories’ is closed to new replies.
