Help Desk

Featured Image for /events/community/add Page

  • Posts: 7 Topics: 7
    | Permalink


    My website formating requires all pages to have a featured image (even if it isn’t displayed on the actual page).

    Is there any way to add a featured image to the /events/community/add page? It isn’t treated as a normal page, and doesn’t appear in my pages list.

    WordPress 3.9.1 running Hickory theme.


    Posts: 18146 Topics: 17 Answers: 973
    | Permalink

    Hi Ash,

    You’re quite right that it isn’t a page in the sense of a regular static WordPress page. It’s possible to detect if you are on a Community Events page, though, using helper functions like this one. So, perhaps, you could make a change to the relevant section of your theme so that it loads an alternative image in these situations?

    // Community Events page? Use an alternative/placeholder for the
    // featured image
    if ( tribe_is_community_edit_event_page() ) {
        echo '<img src="..." />';
    // Otherwise display the post featured image as normal
    else {

    That is of course a very broad outline and the actual code or solution is likely to be different, depending on how your theme does things. Hopefully it gives you some options to explore, though.

    Does that help?

    Posts: 7 Topics: 7
    | Permalink

    Thanks for the quick response!

    Unfortunately I’m not familiar with the code required here. Are you able to put something together for this situation?

    Posts: 7 Topics: 7
    | Permalink

    Actually – sorry, I just realised this is a more serious problem than I first thought.

    I don’t need your help at this point.

    Posts: 18146 Topics: 17 Answers: 973
    | Permalink

    OK, well what I’ll do then is go ahead and close this thread: if you do need further help though and think we might be able to point you in the right direction for anything else please don’t hesitate to create new threads as needed, referencing this one if appropriate – one of the team will then be only too happy to help 🙂