Support » Fixing WordPress » How can a child-theme function wo a functions.php file?

  • Resolved decisiveliberty

    (@decisiveliberty)


    Not sure HOW this happened but here goes…

    Opened the functions.php file for my child-theme (ThemeGrill ColorMag Pro) and the dang thing is empty! It was populated and we have a week-old backup – but not sure if repopulating the functions.php is a wise move until I find out how this thing is still functioning.

    Checked the features of the website that were controlled by the functions.php file, everything is functioning as it should – but HOW?

    Verified the parent functions.php to be sure nothing was somehow placed in there but it is as generic for this theme as it gets.

    So, how is my child-theme still functioning without a populated functions.php file?

    I am totally baffled at how this could be possible…
    and totally lost at how to find out where the code is sitting.

    Thoughts? Is this a first or what??

    • This topic was modified 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • decisiveliberty

    (@decisiveliberty)

    Went back into the file just now, about 24 hours after the above incident. The entire file is present — apparently there was a display problem that I was unaware of?

    When this first happened, I had closed the file, cleared the cache just to be sure, hit Ctrl-F5, then reopened the file. Still only one line appearing. Hit Ctrl-A to see if anything was there but not seen, this only highlighted the first row.

    Chock this on up under Head Scratcher, all seems good for now.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.