[Theme: Optimizer Pro] WordPress is not recognizing my child theme
-
Hello,
I am having an issue with wordpress recognizing my child theme so I can activate it. I have followed the instructions from here: (https://codex.www.ads-software.com/Child_Themes)
The parent theme’s folder is named “optimized_pro” and the child’s is “optimized_pro-child” and each are under the “/wp-content/themes” folder structure. I have 2 files in the child’s folder: “style.css” and “functions.php”.
I have the following code in those files.
“style.css”:
/* Theme Name: Optimizer Pro Child Template: optimizer_pro */ @import url("../optimizer_pro/style.css");
“functions.php”:
<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
What am I missing? I have scoured the forums, but I have done everything from changing the encoding to using a child theme plugin. Nothing seems to be working (well the child theme plugin worked, but I wasn’t able to change .css file).
Here is a link to my site: Northwest Integrated Concepts
- The topic ‘[Theme: Optimizer Pro] WordPress is not recognizing my child theme’ is closed to new replies.