• i need to remove the image from the back of title of the post.
    Where is the code to change .
    Sorry for my english… i’m italian…

Viewing 8 replies - 1 through 8 (of 8 total)
  • I think, don’t use featured image.

    Thread Starter amicidilazzaro

    (@amicidilazzaro)

    but i need to remove them only from the back of the title, i need it in the 3/6 grid on the top, i need it for the social preview…

    Easy fix,
    If you go to the EDITOR > CONTENT.PHP
    Find and remove:

    <?php twentyfourteen_post_thumbnail(); ?>

    Or if you’re like me and don’t like to remove things just in case, you can just wrap it HTML comment tags like so:

    <!-- <?php twentyfourteen_post_thumbnail(); ?> -->

    Keeps the featured image for other functions without displaying it in content.
    Hope this helps

    Neat tip. I went for the second tag wrap option.

    You can try to add one of these in your child’s themes style.css
    I use this to only show the featured image in my grid and in my photoalbum category

    .single .post-thumbnail img {
            display: none;
    }
    /*hides featured image in single post view*/
    
    .search .post-thumbnail img {
            display: none;
    }
    /*hides featured image in search result view*/
    
    .category .post-thumbnail img {
            display: none;
    }
    /*hides featured image in category view*/
    
    .category-37 .post-thumbnail img {
            display: block;
    }
    /*unhides featured image in category 37*/

    Easy fix,
    If you go to the EDITOR > CONTENT.PHP
    Find and remove:

    <?php twentyfourteen_post_thumbnail(); ?>

    Or if you’re like me and don’t like to remove things just in case, you can just wrap it HTML comment tags like so:

    <!– <?php twentyfourteen_post_thumbnail(); ?> –>

    Keeps the featured image for other functions without displaying it in content.
    Hope this helps

    After today’s update to v. 1.1 that no longer seems to work. Any other ideas? I don’t know how to use child’s themes styles.

    No matter what I try to achieve this, it removes the featured image from mobile responsive version too.

    I really need to remove this from displaying in the posts, but want it to remain in the listing of posts for the responsive theme, can anyone tell me how to do this?

    The above method of removing the line from content.php also removes it from display for all mobile devices, I think you guys should know that as I don’t thin that’s a good idea.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘remove featured image’ is closed to new replies.