abu3alwa (December 15th, 2016)
<?php
function my_theme_enqueue_styles() {
$parent_style = 'parent-style'; // This is 'classipress-style' for the ClassiPress theme.
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get('Version')
);
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
?>
abu3alwa (December 15th, 2016)
There are currently 1 users browsing this thread. (0 members and 1 guests)