Force empty Post Thumbnail on Front Page when no Featured Image is set

  • Author
    Posts
  • #3003672

    petertl
    Member

    Hi,

    As far as I understood, the theme evaluates three ways to display a post image in the front page view:
    1. If featured image is set in posting, display it
    2. If not 1: if text contains an image, display it
    3. If not 1 and 2: don’t display an image

    I want to achieve, that only the featured image is displayed as posting background image on the front page (not an image inside the posting). If no featured image is set, don’t display an image.

    I tried to modify the content.php but with no luck. Any ideas?

    All the best,

    Peter

    The blog I need help with is new.leadarbeit.de.

    #3003775

    taniametalli
    Member

    Hi there,

    It looks like you have a self hosted WordPress.org website and not one hosted on WordPress.com.

    This is the forum for WordPress.com.

    For help with WordPress.org websites please see here: https://wordpress.org/support/

    To learn about the difference between the two please see here: https://en.support.wordpress.com/com-vs-org/

    Hope it helps.

    #3003836

    kathrynwp
    Staff

    Hi Peter, as Tania mentioned, these forums are for sites hosted on WordPress.com, but you’re running the WordPress software on your own hosting. If you need further help with the self-hosted version of Cubic, feel free to post in its forum at WordPress.org:

    https://wordpress.org/support/theme/cubic

    You’ll need a free WordPress.org account to post – if you don’t already have one, you can register here:

    https://wordpress.org/support/register.php

    Be sure to provide a link to your site when you post so people can help you more easily.

    I tried to modify the content.php but with no luck. Any ideas?

    p.s. Don’t edit the original theme files – you’ll lose all your changes every time you update the theme. :)

The topic ‘Force empty Post Thumbnail on Front Page when no Featured Image is set’ is closed to new replies.