• Resolved Miison

    (@miison)


    Hi! How can I remove/disable the automatic featured image in all of my posts? I don’t want any featured images to appear at all.

    My site is: http://www.miison.se
    (I just moved my old posts to wordpress, which is way all other posts doesn’t have a featured image)

    I have found (and tried) a few solutions that unfortunately doesn’t work for me;

    Remove code from post.php I deleted (with no effect): <?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 ) ); ?>

    Custom CSSI added the following code to my custom css (with no results): .featured-image {display:none;}

    Do you have any other suggestions?

Viewing 1 replies (of 1 total)
  • Thread Starter Miison

    (@miison)

    I have finally managed to solve it after a lot of trial & error changes in the code.

    My solution was to remove the following code from my main index (index.php);

    ]get_the_image( array( ‘meta_key’ => ‘Thumbnail’, ‘size’ => ‘single-thumbnail’, ‘image_class’ => ‘featured’ ) );

    } else {

    get_the_image( array( ‘meta_key’ => ‘Thumbnail’, ‘size’ => ‘thumbnail’, ‘image_class’ => ‘featured’ ) );

Viewing 1 replies (of 1 total)
  • The topic ‘Remove/Disable Featured Image (Origin Theme)’ is closed to new replies.