move post thumb before post title

Community Forums Forums Design Tips and Tricks move post thumb before post title

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  mmjaeger 1 year, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43646

    mmjaeger
    Participant
    Post count: 65

    hello

    how can I move the post thumbnail before the post title using Genesis 2 beta?

     

    thanks

    #43651

    wpspeak
    Participant
    Post count: 117

    Things is little bit different in G 2.0 since it uses new hooks.

    Did this before for one of my projects. This is exactly the same code I used.

    https://gist.github.com/wpspeak/5694794

    Please let me know if this works for you.


    #43680

    mmjaeger
    Participant
    Post count: 65

    thanks wpspeak – didn’t work for me – the content was before the image – anyway what I like to do is basically have the image float to the left and title, info and content to the right of the picture – the following worked for me now:

    `remove_action( ‘genesis_entry_content’, ‘genesis_do_post_image’ );
    remove_action( ‘genesis_post_content’, ‘genesis_do_post_image’ );
    add_action(‘genesis_entry_header’,’genesis_do_post_image’, 4);
    add_action( ‘genesis_before_post_title’, ‘genesis_do_post_image’ );`

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

You must be logged in to reply to this topic.