Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #150447

    AJ M
    Participant

    Hello,

    X Version: Latest
    Using: Integrity

    Accessing 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,
    AJ

    #150851

    Christopher
    Moderator

    Hi 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.

    #150916

    AJ M
    Participant

    Sorry, 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,
    AJ

    #151237

    Rad
    Moderator

    Hi 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.

    #151487

    AJ M
    Participant

    There 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,
    AJ

    #151645

    Paul R
    Moderator

    You’re welcome AJ.

    Have a nice day! 🙂