How to remove featured image on Minimum theme post page?

Community Forums Forums Design Tips and Tricks How to remove featured image on Minimum theme post page?

This topic is: resolved

This topic contains 7 replies, has 4 voices, and was last updated by  Brenners 1 year, 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #25511

    MM
    Participant
    Post count: 128

    Hi

    On Minimum Theme…

    I’m trying to leave the featured image as a tile on the blog category page eg. http://www.hayleywebb.com/category/blog/

    BUT

    Remove the big (above post and wide site title bar) image on the actual post eg. www.hayleywebb.com/my-first-orange-monkey/

    Any ideas?

     

    Also if possible, is there a way on the homepage (www.hayleywebb.com) to insert a small tile 90 x 90 as a preview on the post preview grid of 6.

     

    Thanks!

     

    #25610

    joycegrace
    Participant
    Post count: 57

    For question 1) – what theme is this? You might have to either remove something from your functions.php file or install Genesis Simple Hooks to get it not to display that top part (hopefully not the latter). If you can show what you have in your functions.php file it might help us figure it out.

    For question 2) – are you using Genesis Featured Posts widget for this? If so, there is an option to display an image, and tells you the size to chose from. If you need a smaller size than what’s available, you need to register a new thumb or featured image size, for which I’m sure there are code snippets to grab from on this site or on the web. You will need to insert that new image size code snippet into the functions.php file

     


    Find me at Joyce Grace (http://www.joycegrace.ca) and Clicks Online Marketing (clicksonlinemarketing.com).

    #25634

    MM
    Participant
    Post count: 128

    Thanks Joyce , it’s Minimum Theme. Does that change any of the above advice? Cheers!

    #25680

    MM
    Participant
    Post count: 128

    Thanks Joyce, have found advice on removing the featured fully. It’s below.

    Still wondering about:

    Also if possible, is there a way on the homepage (www.hayleywebb.com) to insert a small tile 90 x 90 as a preview on the post preview grid of 6.

     

    —–
    for Minimum, you can alter this function in the functions.php file to remove the post image:

    /** Add the featured image section */
    add_action( ‘genesis_after_header’, ‘minimum_featured_image’ );
    function minimum_featured_image() {
    if ( is_home() ) {
    echo ‘<div id=”featured-image”><img src=”‘. get_stylesheet_directory_uri() . ‘/images/sample.jpg” /></div>’;
    }
    elseif ( is_singular( array( ‘post’, ‘page’ ) ) && has_post_thumbnail() ){
    echo ‘<div id=”featured-image”>’;
    echo get_the_post_thumbnail($thumbnail->ID, ‘header’);
    echo ‘</div>’;
    }
    }

    Just remove this part:
    elseif ( is_singular( array( ‘post’, ‘page’ ) ) && has_post_thumbnail() ){
    echo ‘<div id=”featured-image”>’;
    echo get_the_post_thumbnail($thumbnail->ID, ‘header’);
    echo ‘</div>’;
    }

    #25721

    joycegrace
    Participant
    Post count: 57

    Hi, it’s answered above, where I say “for question 2)….”

    Did you have something specific to ask further to that?


    Find me at Joyce Grace (http://www.joycegrace.ca) and Clicks Online Marketing (clicksonlinemarketing.com).

    #25728

    Bill Murray
    Participant
    Post count: 572

    @joycegrace – Your advice would work if the Minimum theme had a widget area there. However, it uses the grid loop and is hard-coded into home.php. Therefore, your advice won’t work.

    @MetcalfeM – You need to edit your home.php. Your theme uses the grid loop and its settings are hard-coded in that file.

    On our network, we’ve widgetized this area of the theme to make this easier. We’ve also done some variations, such as making the homepage 2 column. Here’s a demo of one of our Minimum variations that uses widgets, which makes this process easier.


    Web: http://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    #25734

    MM
    Participant
    Post count: 128

    Thanks Bill, Joyce. Will try that avenue. Nice theme tweaks there also Bill.

    #36195

    Brenners
    Participant
    Post count: 12

    I found this thread post by @Jen Baumann, telling how to remove the featured image from blog post pages. Also, it explains how to set a thumbnail on the homepage.

    http://www.studiopress.com/forums/topic/minimum-featured-image-help/

    I successfully removed the large feature image from the blog post pages. I also was able to get a thumbnail image to appear on the home page. However, I am not sure what this part means:

    You’ll also need to register an image size (or use one already registered in functions.php) and maybe even add a bit of css.

    `add_image_size(“’grid-thumbnail’“, 100, 100, TRUE);`

    How do I register an image size and where on the stylesheet do I add the css?

    I would like to specify a thumbnail size as well as tell it to align left of the text, so that my recent blog posts part of the homepage looks similar to this website:

    http://standoutbooks.com

    Thanks in advance for your explanation.

    • This reply was modified 1 year, 3 months ago by  Brenners.
    • This reply was modified 1 year, 3 months ago by  Brenners.
    • This reply was modified 1 year, 3 months ago by  Brenners.
    • This reply was modified 1 year, 3 months ago by  Brenners.
    • This reply was modified 1 year, 3 months ago by  Brenners.
    • This reply was modified 1 year, 3 months ago by  Brenners.
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.