frontlinemsss
Member
Posted 1 year ago #
So, I added add_theme_support('post-thumbnails'); to the functions.php of my theme, and now I can't access any part of my site. Every page just says:
Fatal error: Call to undefined function the_post_thumbnail() in /home/themsssc/public_html/frontline/wp-content/themes/grisaille/functions.php on line 16
Any help would be appreciated!
Go in functions.php and delete that code.
Simple as that :)
And you have lots of plugins for thumbnails.
Search for them.
Its easier than you manually adding codes.
frontlinemsss
Member
Posted 1 year ago #
I can't go to the functions.php because I can no longer log in to my site.
Every page just comes up with the error message!
Vanguard Digital
Member
Posted 1 year ago #
You need FTP Details or to contact your web admin
frontlinemsss
Member
Posted 1 year ago #
Vanguard Digital
Member
Posted 1 year ago #
You load your preferred web browser
open google and type in
FTP Details
frontlinemsss
Member
Posted 1 year ago #
I have the FTP details for my site, but what do I do with them?
Oleg Dudkin
Member
Posted 1 year ago #
Download some free FTP client. Or addon for browser like FireFTP for firefox.
Connect using your FTP details
Find this file
/public_html/frontline/wp-content/themes/grisaille/functions.php
Download to your computer
Edit
Upload file back