-
AuthorPosts
-
November 22, 2014 at 7:43 am #150447
Hello,
X Version: Latest
Using: IntegrityAccessing via File Manager, what is the path to the functions.php file as this file is seen on a website using X/Integrity?
The only thing I can find is /wp-content/themes/x/framework/functions/integrity.php and it’s completely different than the functions.php that can be accessed in Admin–> Appearance –> Editor –> X –> functions.php.
Thanks,
AJNovember 23, 2014 at 4:08 am #150851Hi there,
The first path belong to integrity stack function and the second path is belong to whole X theme and it used to set path to functions and other necessary files.If you need to add or change some codes in function.php file you need to set up a child theme and make those changes in function.php file inside your child theme.
Hope it helps.
November 23, 2014 at 5:46 am #150916Sorry, I must not be being clear. I need to know how to access, via File Manager/the Hosting account, the functions.php file as it is seen in WordPress Admin.
Sometimes when we work on a site that uses X as its theme we have to make edits and/or additions to functions.php. On occasion, for one reason or another, this results in the ‘white screen of death’ and getting locked out of admin. Rather than having to restore functions.php from a backup to get back into Admin, it would be easier in some instances to access functions.php (as seen on the site) via File Manager/the Hosting account and delete the edit and/or addition that caused the problem.
What is the path to functions.php as this file is seen in WordPress Admin?
Thanks again,
AJNovember 23, 2014 at 9:38 pm #151237Hi AJ,
That’s depend on your hosting provider. Some uses /www/, or /public_html/, or /domain.com/.
It should be something like /public_html/wp-content/themes/x/functions.php or /public_html/wp-content/themes/x-child-{STACK}/functions.php
Hope this helps.
November 24, 2014 at 5:23 am #151487There it is! lol I looked exactly there 1,000 times and didn’t see it until just now.
Maybe I’d better stop trying to function on 3 hours of sleep per night, eh? 😉
Thanks again,
AJNovember 24, 2014 at 8:18 am #151645You’re welcome AJ.
Have a nice day! 🙂
-
AuthorPosts