Community Events – Default Category

Home Forums Calendar Products Community Events Community Events – Default Category

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1089746
    Natalie
    Participant

    Hi. I saw this forum thread which is now closed – https://theeventscalendar.com/support/forums/topic/community-events-default-category/

    I need to do the same thing – have all community events submitted automatically default to the category of “community”. And i want to remove the category checkboxes from the submission form.

    I’m unclear on where this jquery code goes that Geoff suggested: $(“#checkboxid”).prop(‘checked’, true);

    Please help!
    Natalie

    • This topic was modified 8 years, 1 month ago by Natalie.
    #1089931
    Cliff
    Member

    Hi. Here’s an example of jQuery code for an events category ID #6:

    jQuery("#tribe_events_cat-6").prop('checked', true);

    You might find this helpful: http://www.inkthemes.com/how-to-implement-custom-jquery-and-css-in-wordpress-plugin/ (third party information, not guaranteed)

    I hope you get things working as desired.

    #1096462
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Community Events – Default Category’ is closed to new replies.