Editing "Calendar of Events" and breadcrumbs help

Home Forums Calendar Products Events Calendar PRO Editing "Calendar of Events" and breadcrumbs help

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #16071
    Jonah
    Participant

    Hey 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!

    #16091
    Ken
    Participant

    I 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?

    #16136
    Jonah
    Participant

    Hi 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.

    #16214
    Ken
    Participant

    OK 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.

    #16378
    Ken
    Participant

    Hi 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

    #16441
    Rob
    Member

    Hey 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.

    #16450
    Ken
    Participant

    HAHA so true Rob.

    I think that I am good on this for now. I appreciate the attention to my issue.

    Thanks
    Ken

    #16474
    Rob
    Member

    Excellent! Happy to help. If you need anything else, just give us a shout.

    #975921
    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 9 posts - 16 through 24 (of 24 total)
  • The topic ‘Editing "Calendar of Events" and breadcrumbs help’ is closed to new replies.