• Resolved marleness

    (@marleness)


    Hi all,

    Is it possible to remove the logos in the top of my single event pages? (I can′t find the logo in the file “content-single-event_listing”). I would like to keep logos in the bottom.

    Thanks,
    Marlene

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

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

    Please add the following code to your child theme’s functions.php file:

    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);

    If you want to hide using CSS then you can use this code in your theme CSS file:

    .wp-post-image.image-in-page {
        display: none;
    }

    Regards
    Priya

    Thread Starter marleness

    (@marleness)

    Hi @priyagoenka

    thanks a lot, but it is the logo “Indre ro” I would like to remove, when I add the code to the function.php it is the image from the Blog post in the bottom that disappear.

    Best,
    Marlene

    Hi @marleness,

    There might be settings in your theme which allows you to disable featured images from the single post page. Can you please look into it?

    Also, Did you try by CSS?

    If still not working you can create a support ticket here: https://support.wp-eventmanager.com/portal/en/newticket

    Regards,
    Priya

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove logo on single event pages’ is closed to new replies.