Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter catphelps

    (@catphelps)

    I fixed it but I don’t know exactly what did it.

    I compared plugins across my 2 sites and found one that might have been a problem. I deactivated it (hope I didn’t mess up anything elsewhere on the site…can’t remember if I had ended up reallyneeding that one). But it didn’t fix my problem.

    I compared the .htaccess files across my 2 sites and the one for the problem site was missing a line that the other site had so I copied it over. That didn’t seem to fix my problem.

    I deleted the child directory and recreated it. I recreated my style.css file by copying the contents of the one from the parent, updating the name and adding the template tag. I swear I tried this before to no avail. I don’t know what is different but it works now.

    I better go back up everything. Thank you all for your help!

    Thread Starter catphelps

    (@catphelps)

    I don’t know where that trailing slash is coming from, I don’t have that at the other web site. I will check my plugins and htaccess to see what might be happening there. Thank you for this suggestion. Will post back later.

    Thread Starter catphelps

    (@catphelps)

    I saw that extra style.css in the themes root directory…that must have gotten copied there by accident. I took it out but it made no difference. I renamed my child theme to smarty-pants-child but I still get the error:

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    Smarty Pants Child\ The parent theme is missing. Please install the “smartone\” parent theme.

    I am going to go C-R-A-Z-Y. I created a child theme for a different wordpress site back in December and it works fine. I copied the style.css from that one and updated the names as appropriate but it still cannot find the parent for this site. I feel like the problem must be somewhere other than my style.css.

    Is there a debugger that would show me where WordPress is looking for my parent theme? I appreciate everyone’s attempts to help me figure this out. I was a little worried no one would respond at all because questions like this usually have a quick and easy fix.

    Thread Starter catphelps

    (@catphelps)

    I haven’t changed style.css for Smart One at all.

    I did put the directory name back and have also tried deleting and reinstalling the theme. It installs without error and I can activate it with no problem. There should not be anything wrong with the parent theme. I feel like it must be something in the child style.css but I don’t know what since I copied/pasted from the WordPress Codex. I wish I could be happy with the theme as is but I really would prefer to make some edits to it.

    Any other ideas? I would love nothing more than to find I have made a stupid error in public here because then I could fix it and be productive. Thank you!

    Thread Starter catphelps

    (@catphelps)

    I tried changing “smartone” to “SmartOne” but it gives the same error, that I need to install the SmartOne/ theme. I notice very error always has that slash after the template name and I don’t know if that is an indicator of something.

    I had thought the template name was the same as the directory for the theme. I’ve tried changing the directory name to something else and I can see in my Manage Theme area that the directory name is updated under the theme. But it doesn’t seem to matter what I put in the for the template name; it is not being recognized from the style.css for the child theme.

    I also tried including the entire path for the directory in the template name and for the import line but those didn’t work either.

    I can’t believe I have spent so much time on this and that I cannot see what the problem is. What else can I try?

    Thread Starter catphelps

    (@catphelps)

    Here it is on pastebin: https://wordpress.pastebin.com/JtZSHm9s

    I still can’t see the problem.
    Cathleen

Viewing 6 replies - 1 through 6 (of 6 total)