Latest post problem with js in child theme
-
Hello
I am new to wordpress but i can recognize that this theme is very good. Nice work.
I need help about an issue i have with the latest post. i make a child theme and now i can’t see the latest post in the top of the site, only a rectangle with rounded corners. i am sure that i have done a mistake but i can’t find it.
in style.css i put this code:
/*
Theme Name: ProfitMag Child
Template: profitmag
*/in functions.php i put this:
<?php
/**
* Enqueues child theme stylesheet, loading first the parent theme stylesheet.
*/
function themify_custom_enqueue_child_theme_styles() {
wp_enqueue_style( ‘parent-theme-css’, get_template_directory_uri() . ‘/style.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘themify_custom_enqueue_child_theme_styles’ );
?>In the folder of profitmag-child i have style.css and functions.php, do i have to put and other files from parent theme?
When i enable the parent theme all are ok.
- The topic ‘Latest post problem with js in child theme’ is closed to new replies.