• Resolved countviolencia

    (@countviolencia)


    i want to switch the arrangement of the posts on the home page. i want to display the featured image first followed by the post title and then the post snippet. how can i do this?

Viewing 1 replies (of 1 total)
  • You can use Code Snippets plugin and run below snippet

    add_action( 'omega_before_entry', 'omega_featured_image' );
    
    function omega_featured_image() {
    	apply_filters ( 'omega_featured_image' , printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute( 'echo=0' ), get_the_post_thumbnail(get_the_ID(), get_theme_mod( 'image_size' ), array('class' => get_theme_mod( 'image_size' )) ) ));
    }

    Then, go to “Appearance > Customize > Posts” and deactivate “Include the Featured Image?”

Viewing 1 replies (of 1 total)
  • The topic ‘switch arrangement of home page post content’ is closed to new replies.