thetrickster / FoundationPress-child

Child theme for FoundationPress Wordpress/Foundation starter theme at https://github.com/olefredrik/FoundationPress
22 stars 13 forks source link

Cannot find FoundationPress parent theme #14

Open LeBearUK opened 10 years ago

LeBearUK commented 10 years ago

Hi,

I have installed FoundationPress prior to uploading the FoundationPress Child theme but I get the following error.

"The parent theme is missing. Please install the "FoundationPress" parent theme."

I have not modified the parent theme and this is a fresh WP installation.

child-the-install

thetrickster commented 10 years ago

I'm going to have to test this out on a fresh install tonight. The first thing off the top of my head could be in styles.css where I declare the parent theme-- right now it's FoundationPress because if you create the theme using git in your themes folder then thats what the folder name is-- and capitalized.

I'll test it by changing styles.css' Template reference to foundationpress even though the theme folder is capitalized-- maybe that's the issue.

Have you double checked to see exactly what the folder is for your parent FoundationPress theme is? Is it capitalized or lowercase?

LeBearUK commented 10 years ago

I'll set up another install and see if I have the same problem, if so I'll send you some details so you can have a look. I'll get onto it now.

LeBearUK commented 10 years ago

I've managed to replicate it, could you provide me with a way to PM you? I'll send you the details over.

thetrickster commented 10 years ago

Not much time yet to do this at the moment. But I've tested a few times locally by having my parent theme folder 'FoundationPress' and 'foundationpress'. I've also tested where in style.css i use 'foundationpress' and 'FoundationPress' where I declare the parent template and it works in all cases.

Sorry for lack of time but all i can guess is that your parent FoundationPress theme folder is not FoundationPress or foundationpress. Make sure that it is named one of those two. If you used git to checkout the FoundationPress theme into your themes folder then this shouldn't really be happening.

violacase commented 10 years ago

See this perhaps: https://github.com/thetrickster/FoundationPress-child/issues/11