• Resolved Brooke972

    (@brooke972)


    I originally had the featured image and the slider working on my page. It would display the whole image and looked great. But now it crops the image. I tried changing the picture and the pixel options. All my images are 1040×440 or bigger. How can I fix this?

    This is my website:
    http://www.proyectogtg.com/

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter Brooke972

    (@brooke972)

    Hmm you are right. I do remember exactly though that there was both before making these changes. Is there a way to go back to having the post in the slider and below without undo the changes we already made?

    Moderator Kathryn Presner

    (@zoonini)

    As you can see in this demo, the theme always excluded posts in the slider from the main blog index.

    In your child theme’s functions.php file, adding this function should override that behaviour. Be sure to add it within the opening and closing PHP tags.

    function untitled_remove_pre_get_posts() {
    	remove_action( 'pre_get_posts', array( 'Featured_Content', 'pre_get_posts' ) );
    }
    add_action( 'init', 'untitled_remove_pre_get_posts', 31 );

    I just tested it in a child theme and it’s working here. Let me know how it goes.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Featured Image Problems’ is closed to new replies.