WordPress.org

Support

Support » Themes and Templates » [Theme: origin] Have featured image only on thumbnail and not in post.

[Theme: origin] Have featured image only on thumbnail and not in post.

  • thelonemacaroon
    Member

    @thelonemacaroon

    I am currently using the Origin WordPress theme in a private website.

    I want the cropped version I made of an image in the thumbnail on the homepage. But in the actual post I would like the full image.

    Right now, if I try to do this, both the cropped image and the full image appear in the full post. If anyone could help that would be super amazing. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • LuckiestGirlEvr
    Member

    @luckiestgirlevr

    This is a good question. I would like *no* featured image to show on the actual post – only a small image to show in the thumbnail on the homepage.

    Any ideas?

    brentlakes
    Member

    @brentlakes

    Go to “post.php” and delete this line:

    <?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'single-thumbnail', 'link_to_post' => false, 'image_class' => 'featured', 'attachment' => false ) ); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: origin] Have featured image only on thumbnail and not in post.’ is closed to new replies.