Minimum Pro post title issue

Community Forums Forums Design Tips and Tricks Minimum Pro post title issue

This topic is: not resolved

This topic contains 4 replies, has 2 voices, and was last updated by  bd 10 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #80488

    bd
    Participant
    Post count: 13

    On the blog pages of Minimum Pro, I have moved the title of the post from above the featured image to the right of the featured image, above the excerpt, with the code

    // Move image above post title in Genesis Framework 2.0
    remove_action( ‘genesis_entry_content’, ‘genesis_do_post_image’, 8 );
    add_action( ‘genesis_entry_header’, ‘genesis_do_post_image’, 8 );

    provided in this tutorial: http://www.wpstuffs.com/how-to-switch-featured-image-above-the-title-in-genesis-framework/

    While it works fine on blog pages, in Minimum Pro this code breaks the portfolio page. More precisely, in addition to the portfolio original featured image (540×340), the portfolio page shows now a second featured image, but of the size of 150×150 (which is the size of the featured image on blog pages), so two featured images for the same portfolio post.

    Not being a php coder, I would need help with the following points:

    a) the code which can avoid the portfolio page to be modified

    b) is it possible to apply the above code only to specific categories or pages and if yes, how?

    Thank you in advance.

    http://local
    #80614

    Sridhar Katakam
    Participant
    Post count: 1048
    #80626

    bd
    Participant
    Post count: 13

    Dear Sridhar,

    Thank you so much.

    This works wonders for posts on blog pages and solves indeed the problem of portfolio.

    However, this does not work with the same posts on category pages: they still show up with the title above the thumbnail.

    I suppose some magic with this issue is possible as well.

    Thank you again for your steady help.

    #80638

    Sridhar Katakam
    Participant
    Post count: 1048

    Change

    if ( ! is_home() )

    to

    if ( ! is_home() || ! is_archive() )


    #80643

    bd
    Participant
    Post count: 13

    Thank you again for your time.

    For some reason, now the title is back above the thumbnail, both in the blog pages and the category pages.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.