Can’t Install Child Theme
-
Hi everyone,
For quick reference –
Theme: PopularFX
Installed Plugins:- Pagelayer
- Sportspress Pro
- Hide Admin Bar Based On User Roles
I should note that this error occurs with just pagelayer installed and nothing else.
I’m having trouble installing a child theme, something that seems so simple, but breaks my site entirely every time I do it. I install a VERY basic child theme, with a VERY simple style.css and functions.php – shown below
style.css
/* Theme Name: PopularFX Child Author: Tyler R. Template: popularfx Version: 1.0.0 */
functions.php
<?php add_action( 'wp_enqueue_scripts', 'elev8_enqueue_parent_styles' ); function elev8_enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } ?>
I know the functions.php isn’t exactly typical, I was just trying to make it as bare-bones as possible because I’m having this issue. Whenever I upload the child theme and activate it, the site becomes unreachable with the error:
There has been a critical error on your website.
The only way I’ve been able to fix this is literally reinstalling wordpress through softalicious and I don’t want to do that because I’ve made some progress on certain settings that I don’t want to have to go through again.
Thanks in advance for any help!
The page I need help with: [log in to see the link]
- The topic ‘Can’t Install Child Theme’ is closed to new replies.