How to show Category descriptions in Community Events form

Home Forums Calendar Products Community Events How to show Category descriptions in Community Events form

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #62807
    newmusicworld
    Participant

    Hello, I have been trying to figure out how to show the category descriptions in the Community Events form but to no avail. Is there an additional variable that I can pass to the formCategoryDropdown() function in the hooks/form.php file? Or something like that?

    #62886
    Casey
    Participant

    Thanks for reaching out! Unfortunately, this isn’t possible without modifying the plugin, which we don’t recommend because your changes will get overwritten next time you update the plugin.

    However, as a workaround, you can insert some text above the descriptions using the ‘tribe_events_community_form_before_the_categories’ filter.

    Paste the following code into your theme’s functions.php to see how this would work: https://gist.github.com/ckpicker/6346502

    Let me know if you have any questions about adding that code. Thanks!

    #63963
    newmusicworld
    Participant

    Thanks Casey, that will do for now. I have a related question, is it possible to reorder the categories? It looks like it is set to alphabetical order by default, with no way to change it.

    #64235
    Casey
    Participant

    Unfortunately that’s not currently possible. Feel free to submit this as a feature request on our uservoice page though: http://tribe.uservoice.com/

    Thanks!

    #980586
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to show Category descriptions in Community Events form’ is closed to new replies.