Child Theme not recognizing parent functions
-
I made a child theme using my locally installed wordpress. Now when I tried to migrate to a live site,it is terribly broken and I get an error:
call to undefined function amadeus_banner()
None of the elements in the parent theme show up either. When I run the site locally, it works perfectly.
Is there anything I must do differently when migrating to a live site from local?? because all I did was add :Theme Name: MyTheme
Template: Amadeusinto the stylesheet of the child theme. In functions.php of the child theme I put:
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
Any help would be greatly appreciated.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Child Theme not recognizing parent functions’ is closed to new replies.