• Hello,
    I am trying to change the following settings on the editor page “Functions.php” however when I press save I get a 403 Frobidden message.

    What I try to change:
    set_post_thumbnail_size( 200, 280 ); // Unlimited height, soft crop

    What I get for error when pressing save:

    Forbidden
    
    You don't have permission to access /wp-admin/theme-editor.php on this server.
    
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I hope someone has a solution for me, I need to change the thumbnail size!

    Best Regards,
    Kevin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Howdy,

    Unless you are using a child theme, you shouldn’t be trying to re-write functions.php.

    There is a way to do what you’re trying to do from within the Dashboard. If you go to Settings -> Media, you will see a page where you can manually change the maximum dimensions of all your media image files when they upload: thumbnails, medium and large sizes.

    If for some reason this does not work for you and you are using a child theme, if you really feel you must edit functions.php, make sure you are editing the child theme files and not your parent theme files.

    Happy WordPressing!

    Thread Starter kerex132

    (@kerex132)

    Howdy,
    Well I was able to edit the theme now but it still doesent change the thumbnail size on my front page, and I also tried your other tip about going to settings and then to Media but that diden′t work either.

    Do you know how to change the thumbnail size on my frontpage, I am using the theme truemag but I dont seem to be able to change the thumbnail size?

    Would appreciate some help.

    – Kerex132

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘403 Forbidden – Editor on Functions.php – Changing thumbnail size!’ is closed to new replies.