Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15040
    Phamau
    Member

    Hello Sakin,

    I need your help, I’ve tried to follow your instructions on a previous similar post. This was your advise:

    @whhfsg: Are you trying to reduce the thumbnail in your Homepage ( http://smilespreaders.org/ ) then you create the child theme and edit the size in your function.php

    add_image_size( ‘featured’, 210, 210, true); // uses on homepage featured image
    After this you need to regenerate the thumbnail with regenerate thumbnail plugin ( http://wordpress.org/extend/plugins/regenerate-thumbnails/ )

    After I create the function.php on my child theme and alter the add_image_size( ‘featured’, 210, 210, true); my site gives me a fatal error and I cannot access the admin to regenerate thumbnails. I am working locally using the Wamp server so I cannot provide my url but this is the fatal error:

    Fatal error: Cannot redeclare catcheverest_custom_header_setup() (previously declared in C:\wamp\www\famsblog\wp-content\themes\catch-everest\inc\custom-header.php:36) in C:\wamp\www\famsblog\wp-content\themes\catch-everest\inc\custom-header.php on line 79

    Many thanks bro

    #15048
    Phamau
    Member

    Feeling ignored, anyone able to help please??

    #15062
    Sakin
    Keymaster

    @Phamau: I don’t know which code and where you have added it. But looking at the error, I found that you have declare function catcheverest_custom_header_setup() in your child theme. I don’t know why you added that.

    #15065
    Phamau
    Member

    Thanks for the reply Sakin.

    I have decided I will just stick with the default thumbnail dimensions.

    Many thanks.

    #15067
    Sakin
    Keymaster

    @Phamau: Thanks 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Thumbnail size for featured posts’ is closed to new replies.