http://dev.syringamountainschool.org
The only way I could think of to do this was to copy the whole twenty sixteen style sheet - use that in my child theme instead of calling the actual parent style sheet and then modify the copy as needed.
This is what I placed in my child theme functions.php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() { // wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'parent-style', get_stylesheet_directory_uri() . '/style2016.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style'));
}
Notice that I commented out the normal call to parent style sheet and used a copy of it instead.
Pretty lame way to fix this but seems like my only option.
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 302 تاريخ : چهارشنبه 30 تير 1395 ساعت: 10:15