Home › Forums › Calendar Products › Events Calendar PRO › Editing "Calendar of Events" and breadcrumbs help
- This topic has 23 replies, 5 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
March 1, 2012 at 10:13 am #16071
Jonah
ParticipantHey Ken, try using this logic to check for a specific category events list:
tribe_is_event() && !tribe_is_day() && !is_single() && is_tax('tribe_events_cat','my_cat_slug')
Just change ‘my_cat_slug’ to the slug of your category. I hope that helps!
March 1, 2012 at 3:44 pm #16091Ken
ParticipantI think that works. I just had to make sure that I had it right after tribe_is_month()
I still don’t get this to render:
} else if(tribe_is_event() && !tribe_is_day() && is_single()) {
echo 'Single Event';
or
} else {
the_title();
Under what circumstance will it do these last two?
March 2, 2012 at 11:35 am #16136Jonah
ParticipantHi Ken, it should execute the first one when on single events and the last one is just the fallback if none of the other conditions are met it will just execute the regular the_title() function, getting the title for the current page or post.
March 5, 2012 at 8:30 am #16214Ken
ParticipantOK that makes sense. But I was placing this in ecp-page-template.php when the single event occurs the ecp-single-template.php takes over and renders the title right?
Everything right now seems to be working ok…I am just wondering if I need that single event check since it is being rendered in the ecp-single-template.php file.
March 7, 2012 at 9:30 am #16378Ken
ParticipantHi Guys, it appears I was struggling with the definition of what a ‘single event’ was. I was thinking that it was the actual event lading page (the page that is rendered by single.php).
I then started testing the re-occurring days on the back end and then noticed the “See All” for the “Schedule” section on the front end. Clicking that “See All” link took me to the Single Event page.
Single event being the ‘list’ of all the re-occuring dates for that event.
Now I know and knowing is half the battle. LOL
March 8, 2012 at 9:55 am #16441Rob
MemberHey Ken. Knowing is definitely half the battle! The case could even be made for more than half.
So if I understand correctly, it sounds like you’re set here now…right? Let me know if not and we can keep looking into it for you.
March 8, 2012 at 10:20 am #16450Ken
ParticipantHAHA so true Rob.
I think that I am good on this for now. I appreciate the attention to my issue.
Thanks
KenMarch 8, 2012 at 11:40 am #16474Rob
MemberExcellent! Happy to help. If you need anything else, just give us a shout.
July 5, 2015 at 5:00 pm #975921Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Editing "Calendar of Events" and breadcrumbs help’ is closed to new replies.
