Hello @jules10622
Please provide your child theme directory and file structure screen shot.
i will check this and let you know why this is not working.
Also please check your child theme index.php, single.php and home.php files and check is there any code in those files are they are blank.
Thank you
Sajid
Hi Sajid,
The file structure is wp-content > themes > spacious-child.
File screenshot can be seen here: http://www.juliaspangler.com/consulting/wp-content/uploads/2016/01/child-theme-files-screenshot.png
The two recent modified dates are because of some troubleshooting I did before submitting this support request, but those files have both been reverted back to their original state that was working since I created the theme.
I do not have an index.php, single.php or home.php in my child theme.
Thank you,
Julia
Ok. It’s fine. Copy index.php from main theme and then place inside style sheet file and then check if this works or not. If it works then its fine else contact me at Skype. I will help u in fixing this. My Skype is [Moderated]
Thanks
Sajid
Hi Sajid,
I don’t understand what you are recommending. Are you saying I should copy the contents of a PHP file (index.php) into a CSS file (style.css)?
Thanks,
Julia
No. Create a new file index.php in shild theme folder. Then copy contents of index.php file to new index.php file. Hope u understand this. If not add me at Skype..
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Side note for a moment,
@sajiddesigner, Please don’t ask people to contact you in any way.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
@jules10622, Can you clarify what the issue is that you’re facing?
Is the issue only a CSS one – a styling one?
Hello Andrea
thank you for reminding me about this. Can u please tell me how can I send private message to member in this forum. Actually Jules needs some development/coding help. And I cannot help him without sending a private message or an email.
Thank you
Sajid
Hi Andrew,
My issue is described in my original postβmy child theme that was working for six months abruptly stopped working without any intervention from me. (I did not do any manual updates or changes to any aspect of the child theme or parent theme.)
Sajid, the benefit of the public forum is that other users who may have a similar problem can read our discussion and try the same solution.
I followed your instructions regarding index.php and the child theme still does not work. It still shows a blank page instead of the content.
Thanks,
Julia
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Excuse me @jules10622 while I go off on a small tangent for a minute. I’ll try to be brief if possible. π
Hi @sajiddesigner and thanks for helping out in these forums. It’s good advice here that makes WordPress successful and is a big part of why 25% (and growing!) of the Internet uses WordPress for their sites.
That all said, please refrain from trying to contact forum members outside of these forums. That is something that is actively discouraged. It has lead to abuse, harassment and other very bad things before.
NOTE: I am not accusing you of any ill will and I do not doubt for one minute that you sincerely want to help. Honest.
But I am sure you and Jules can appreciate that it is important that we keep these forums a safe place for all users. That includes new users as well as veteran front end developers who use WordPress for a living.
You can ask for details such as what she has tried. You can post suggestions and walk her through the steps here in your reply. It’s not easy but again, I am sure you understand the concern.
I now return this topic to it’s regularly scheduled support conversation. π
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
@jules10622, Yes, thank you for iterating. I’m interested in the details of what exactly you mean by “stopped working”.
Hi Andrew,
By “stopped working” I mean that the content does not display on the page when the child theme is enabled.
Thanks,
Julia
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Okay, can you run the code from both files in this syntax highlighter: http://phpcodechecker.com/
See if anything gets flagged up
Hi Julia!
Are there any errors in your PHP logs? Are there any console errors? What happens if you try using just a simple style.css child theme?
Hello Julia.
Leave all other things.
Do as follows
Goto file manager
Find file wp-config.php and edit this
Finds define(wp_debug) and set its value to true
Goto admin panel
Activate your child theme and browse your home page.
This will show you all errors and warnings (if any).
And then share errors here.
Thank you
Sajid