[Plugin: Events Manager] Find out if on single event page
so I need to find out where I am when I am on a single event page. How are these pages generated?
The reason for this is breadcrumbs. So on the events homepage I need the breadcrumbs to read
Home >> Events (is not a hyperlink)
And then on an event’s page (single event page) I need the breadcrumbs to read:
Home >> Events (is a hyperlink) >> Event Name
<?php if(child_of(get_page_ID('events')): ?>
But I don’t think the event single pages are actually children of the events page are they?
- The topic ‘[Plugin: Events Manager] Find out if on single event page’ is closed to new replies.