Child Themes of Non-WordPress Sanctioned Templates

Use get_stylesheet_directory_uri() and get_stylesheet_directory() for Child Themes Use get_template_directory_uri() and get_template_directory() for Parent Themes Thus making your function: <?php if ($gridly_color_scheme == ‘dark’) { ?> <link rel=”stylesheet” href=”https://wordpress.stackexchange.com/questions/107986/<?php echo get_template_directory_uri(); ? >/css/dark.css” /> <?php } elseif ($gridly_color_scheme == ‘custom’) { ?> <link rel=”stylesheet” href=”<?php echo get_stylesheet_directory_uri(); ?>/css/custom.css”/> <?php } else {?> <link rel=”stylesheet” href=”<?php echo … Read more

Creating child-theme from other template files

For your specific theme this question cannot be answered without analyzing all template files. More in general, a theme structured like this is almost impossible to make a child theme for. Take footer.php. If you just put that in your child theme it will be called at the appropriate moment. But if that file tries … Read more

Changes to child theme are not visible on my site [closed]

Looking at your site’s source code, I assume it’s a problem with the name of your child theme’s folder – in the source code view, it shows up as revelar%20child%20theme. Recommended steps: Re-enable the parent theme. Rename the child theme folder from “revelar child theme” to “revelar-child-theme” … or anything without spaces or accented characters. … Read more

How to create a parent theme for accesspress parallax theme?

Take a close look at this https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/ . Note that your child theme’s CSS file has two required parameters. From the above link: “The two necessary items in the code above are the lines starting with “Theme Name” and “Template.” The theme name tells WordPress what the name of your theme is, and this is … Read more

Undefined functions on the server

Well… I fixed it finally. I decided to bypass my child theme to try and allow myself to login to the admin system on the server. To do that I went into the database and set both the template and stylesheet options manually to “shapely”. Once in, I used the interface to re-select my child … Read more

Child theme problem

Am unable to comment and ask qns, so done as answer. Point 3 below does identify an error; the rest I expect you’ve covered. I’ve also added my own working enqueuer (but I only needed style.css) ensure the value specified for “Template:” at the top of your CSS matches the value for “Theme:” in parent’s … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)