• Resolved cowtowncreative

    (@cowtowncreative)


    Hi
    I’ve read through all the documentation and created a template override. When I try to remove the organizer logo that is showing up at the top of the page, it’s only removing the one at the bottom of the page.

    I want the logo at the bottom to show up. I do not want it at the top, above the banner image. Currently, I’ve not selected a logo file on any event to avoid how large it is.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @cowtowncreative,

    The default logo on top of the page is not generated from our plugin template. It is default feature of your theme single template file. You need to find the settings to disable featured image on a single custom post type page or single post page.

    Also, you can force by following this code

    function wordpress_hide_feature_image( $html, $post_id, $post_image_id ) {
      return is_single() ? '' : $html;
    }
    // add the filter
    add_filter( 'post_thumbnail_html', 'wordpress_hide_feature_image', 10, 3);
    Thread Starter cowtowncreative

    (@cowtowncreative)

    I don’t want feature images to be disabled site-wide. Just on these event posts.

    Hitesh Makvana

    (@hiteshmakvana)

    Hi @cowtowncreative,

    If you just want to hide for events then please add this

    function wordpress_hide_feature_image( $html, $post_id, $post_image_id ) {
      return is_singular( 'event_listing' ) ? '' : $html;
    }
    // add the filter
    add_filter( 'post_thumbnail_html', 'wordpress_hide_feature_image', 10, 3);
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Organizer Logo’ is closed to new replies.