Forum Replies Created
-
AuthorPosts
-
Courtney
ParticipantI’m not seeing anything not working at this point, just wanted to confirm that that setting will be in effect on the past events view as well. (I can send you a link if needed, too.)
Courtney
ParticipantI’m not seeing the “Next Events>>” anymore. My assumption is that this should show all events, since I set the number per page to be really high. If you don’t think that’ll do it, let me know.
Courtney
ParticipantI’ve resolved this issue. It was the same thing that was causing some other things to not work (https://theeventscalendar.com/support/forums/topic/using-is_category/) and fixing the default template resolved this as well.
Courtney
ParticipantI figured it out by removing my custom view files one by one… turns out that an edit I’d made the default template was causing the problem. It’s resolved now. Thanks for the is_tax info, though. In my dropdown I ended up being able to use this:
<?php if(tribe_is_event_category() && is_tax('tribe_events_cat','kickoff')): ?>selected="selected"<?php endif; ?>I’ll close this one out. Thanks!
Courtney
ParticipantCan you clarify if a page like http://www.mysite.com/events/category/kickoff/ is considered a category archive page? That’s the type of page I’m trying to get this working on. It’s just also using the map content view for display.
In the meantime, I’ll look into is_tax.
Courtney
ParticipantThis reply is private.
Courtney
ParticipantI figured there might be a MT way to do this and I just found this: https://theeventscalendar.com/function/tribe_is_event_category/
However, it’s still not working. I’m wondering if it’s where it’s being placed. I’m in the pro views, in map > content. So it’s right after the <div id=”tribe-events-content” class=”tribe-events-list tribe-events-map”> tag. Do you think it needs to be within a loop or something?
Courtney
ParticipantThis reply is private.
Courtney
ParticipantHi!
I also am trying to do something that is only available if you’re on a category page — so I wanted to do an is_category() call and then do something. However, it’s not working. Any ideas why?
-
AuthorPosts
