Website Header Image Doesn't Carry Over

Home Forums Calendar Products Events Calendar PRO Website Header Image Doesn't Carry Over

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1085394
    Scott Bettinger
    Participant

    I’m trying to complete our site and we’ve purchased The Events Calendar PRO to manage our events. Unfortunately, we are unable to get the default header image to carry over to the event pages. Can you please help?

    #1086434
    Geoff B.
    Member

    Hey Scott,

    It’s me again 🙂

    To answer your question, if you look at the http://echomediatest.com/hannan/events/ page with Google Chrome’s inspector, you will notice that the Events Calendar is actually using your WordPress theme’s archive.php template by default.

    In your specific case, it looks like the archive.php, when used by the plugin is not calling the header image.

    If you are able to, the simplest solution would be to add the header image to the archive.php template.
    As an alternative, you can use a different page template for your events by going to Events -> Settings -> Display

    Let me know how that goes.

    Best regards,
    Geoff B.

     

    #1086963
    Scott Bettinger
    Participant

    Without addressing the archive.php page, I tried to do it the other way and the “Default Page Template” option was already selected. Unfortunately, this didn’t do anything to resolve the header image.

    The theme doesn’t come with an archive.php file. It has an archive-event.php file, but that file isn’t controlling the header image.

    #1087336
    Geoff B.
    Member

    Hello again Scott,

    Thank you for answering my question and attempting to try a different setting .

    When I look at your event page, I can see that there is an archive body class being used.
    So I guess that the next step would be to establish which of your theme’s file is being called on if there is no archive.php file.

    Perhaps index.php ? In any case, if you haven’t already, you might want to contact the theme author to ask which file controls WordPress archive calls.

    The reason for that is because short of changing WordPress themes, until we can figure out where the page title is being called for archive type pages, it’s going to be difficult to fix.

    By the looks of it, it seems that your theme is calling the_title() outside of the loop. Typically the problem you’re experiencing is caused by this. Doing that is a violation of WP standards 🙁

    Once that’s established, we will probably have to try to apply a solution from the following post: https://theeventscalendar.com/knowledgebase/calendar-page-shows-event-title/

    I wish I had a better answer for you, but for now it’s the best one I have.

    Hang in there!

    Best regards,

    Geoff B.

    #1094087
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Website Header Image Doesn't Carry Over’ is closed to new replies.