WordPress.org

Support

Support » Themes and Templates » [Resolved] Removing images from homepage

[Resolved] Removing images from homepage

  • Hi

    Does anyone know of a way to stop / remove featured images from appearing on the homepage of a site using the Customizer theme?

    We have started to work on a News Room site based on this theme and would like to add images to the specific posts (which is fine and works OK).

    On the homepage we are looking to show the latest posts but without any associated images.

    At the moment they appear in a small circle next to the homepage article which then expands when the user moves their mouse over the image.

    Does anyone know whether it’s possible to remove the images from appearing on the homepage.

    Apart from this we like the theme very much.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • d4z_c0nf
    Participant

    @d4z_c0nf

    Add this to your child theme functions.php:

    add_filter('tc_show_post_list_thumb', 'no_tb_in_home');
    function no_tb_in_home($bool){
        if ( ! tc__f('__is_home') )
            return $bool;
        return false;
    }

    Hope this helps.

    Hi d4z_c0nf

    Thanks for the code suggestion – it has worked perfectly. Really appreciate the quick response. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Removing images from homepage’ is closed to new replies.