Post titles appearing as Event titles

Home Forums Calendar Products Events Calendar PRO Post titles appearing as Event titles

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #986749
    Nicholas
    Participant

    I have a site I’m building that uses the events calendar. Right now it is hidden behind a firewall (credentials below).

    There is a strange problem where, when viewing a single event, the title appears as the title from one of the main wp posts, not the event title. It also has a “This event has passed” message even though it is in the future.

    Thanks for your help.

    Nicholas

    http://firstchurchlf.flywheelsites.com/events/
    http://firstchurchlf.flywheelsites.com/event/jill-hunt-farewell-reception/

    username: flywheel
    password: lessismore

    #986984
    Barry
    Member

    Hi Nicholas,

    That’s a strange problem.

    Though it may not impact directly on this problem, I do notice that your copy of Events Calendar PRO seems to be significantly out of date (whereas The Events Calendar itself is up to date) – it could be worth addressing that.

    To the specific problem with the titles, have you been able to give our standard troubleshooting steps a shot – might this be specific to your theme, for instance (and is this a custom theme you developed yourself)?

    #987519
    Nicholas
    Participant

    I have determined the there is a conflict in my theme. I am using a custom theme, but no changes to the events calendar views. When I activate the twentyfifteen theme, everything is correct.

    When I’m using my theme, the title is replaced with a title from the main posts and it appears that wordpress thinks the date within tribe_events_event_schedule_details() is the published date of that post, (which is why “This event has passed” appears)

    I’ve used the events calendar plugin on other sites with custom builds and never had this issue. Its very strange that only these items are incorrect within the event. All the other event details are right.

    Any idea what it could be? It would seem like it would be a setting within the wp-admin or functions.php.

    This site is now live (http://firstchurchlf.org/events/) so I’d love to get this figured out asap.

    Thanks!

    #987791
    Barry
    Member

    Could it be your theme is running one or more loops before the main loop itself is rendered – whether in some functions.php code or in a template like header.php – and might it be missing some cleanup code?

    If you can identify anything like that, can you try commenting them out to see what impact there is?

    #987951
    Nicholas
    Participant

    Oh wow, do I feel silly! Of course! I actually have several queries and loops in the navigation and the last one was not reset. Thank you so much!

    #988029
    Barry
    Member

    My pleasure 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Post titles appearing as Event titles’ is closed to new replies.