Child Theme Problem with New Theme Version

Multipurpose WordPress Theme Forum Support
GK User
Thu Jun 09, 2016 12:11 pm
Hi Gavick team,
I'm sorry to bother you with this kind of problem, but I did't manage to solve it.
Well, I'm going to develop a new website based on Quark theme (latest version), I create a Child theme from Quark Quick Start just like I did a lot of times now but I get a white screen (php error?) if I activate it. The strange thing is that if I put the Child Theme in an old version of Quark it works fine. I also quickly compared Quark old version with new one but I did't see any significant differences.
This is what I've done:
I crated a folder "Quark-child" and put functions.php and style.css :
Code: Select all
<?php
 
add_action('wp_enqueue_scripts', 'child_theme_css');
function child_theme_css() {
wp_enqueue_style('parent-theme-css', get_template_directory_uri() . '/style.css');
}

Code: Select all
/*
Theme Name: Quark Theme Child
Template: Quark
Version: 1.0.0
Text Domain: Quark-child
*/


Thanks for any help
User avatar
Junior Boarder

GK User
Thu Jun 09, 2016 1:57 pm
I forgot to tell that when the child theme is activated I see a white screen but the cookie plugin is visible
User avatar
Junior Boarder

Joshua M
Fri Jun 10, 2016 8:16 am
Hi,

Could you please provide me with a URL to your website and back-end access via PM (click the “Private Message” text underneath my avatar) so that I may analyze it?
User avatar
Moderator

GK User
Wed Jun 15, 2016 10:12 am
Hi,
thanks, now it works.
I noticed creating a "Touch-friendly Image gallery" page that I had to copy also the paren-theme/css/ folder.
Is the issue that The child-theme can't acess the parent-theme's folders?
Should I copy all the parent folders in child-theme?
Thanks
I'm looking forward for the next release.
User avatar
Junior Boarder

Joshua M
Thu Jun 16, 2016 8:58 am
If you copy css file which loads image files, you should also copy these images into your child directory, but there's no need to copy other parent folders into child (it doesn't make sense)
User avatar
Moderator


cron