• To begin, I can’t give a link per say because the issue lies within the /wp-admin/ area, and I cannot grant access to it to anyone, but here’s the problem:

    We have an event page that we want to load a header image into. The template that is used for the event page is the same as the template used for the blog post page (it simply loads either the event page or blog page html/content based on a simple switch statement).

    When creating a blog post, the option exists in the wp-admin “New Post” page to add a header image, yet it does not appear on the event page, even though the event page (in the template) is built in a way that checks for the lack of a header image, and should have the ability to add it. Here’s a brief view of the template:

    <page header>

    <header image getter function>

    <switch for blog post / event> <– in here, the event specific template checks for lack of header image

    <footer>

    Any suggestions as to what might be occurring here and how I can add the ‘header image’ option on the add event page? I understand it is a bit vague, but I appreciate any suggestions the community may have.

    • This topic was modified 5 years, 7 months ago by iahon.
    • This topic was modified 5 years, 7 months ago by iahon.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    “image getter” is for the header image? Then why would the switch statement be checking for lack of header image after that? Shouldn’t “image getter” be doing that? Or if “image getter” needs to know if the request is for event or post, put the image getter functionality within the switch statement.

    While a link isn’t required, posting actual template code would be more meaningful. If the relevant code is sizable, use gist or pastebin.com and provide the link here.

Viewing 1 replies (of 1 total)

The topic ‘Missing Header Image in Add Event Builder’ is closed to new replies.