Exclude one Category from the Widgets

Home Forums Calendar Products Events Calendar PRO Exclude one Category from the Widgets

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #65987
    Bob
    Participant

    First, yes, I searched and found some other similar posts, so I’m guessing the short answer is, “we don’t support that yet, we might in the future”.

    But in the meantime, I’m looking for a pointer to API things I might do to address this. I looked through the documentation and tried a few things in my own copy of the mini-calendar grid and list widgets, but I’m no WordPress expert, and I never found the correct calls/settings.

    – Doug (for Bob)

    #66171
    Barry
    Member

    Hi Doug,

    I’m afraid this is very much the domain of custom development. Modifying the query to exclude specific categories, or else testing at the point of generating widget output (in a template override for instance) to see if an event belongs to a “banned” category and deciding to skip it are two possible approaches here.

    The details would need to be worked out by you though. If it helps, we can provide you with a list of experienced freelancers who may be able to assist?

    #66220
    Bob
    Participant

    Not even any hints from your developers on which API calls to work with? Pretty please?

    #66294
    Barry
    Member

    Hi Doug: a good starting point would be our Themer’s Guide – you might be interested in overriding widgets/mini-calendar-widget.php for this one and the tribe_show_month() arguments (closely bound to WP_Query in terms of what it accepts) in particular.

    There are few different possible angles of attack for this though and we’ll leave it to you to determine the best path in your case.

    Hope that helps – I’ll go ahead and close this thread now 🙂

    #980813
    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 ‘Exclude one Category from the Widgets’ is closed to new replies.