Jump to Article Category ...
All Categories
Aardvark (73)
Buddy (62)
Gauge (96)
General Support (2)
Huber (69)
Network (16)
Socialize (73)
The Review (70)
Ultimate Reviewer (20)
Zine (formerly Magzine) (37)

After updating Aardvark my style customisations are not working
There has been a change to the way the Aardvark Child loads the parent and child style.css files. You will need to update your child theme functions.php to fix this. Find:
/**
* Load parent style.css
*
*/
if ( ! function_exists( 'ghostpool_enqueue_child_styles' ) ) {
function ghostpool_enqueue_child_styles() {
wp_enqueue_style( 'gp-parent-style', get_template_directory_uri() . '/style.css' );
}
}
add_action( 'wp_enqueue_scripts', 'ghostpool_enqueue_child_styles' );
Replace with:
/**
* Load child theme style.css
*
*/
if ( ! function_exists( 'ghostpool_enqueue_child_styles' ) ) {
function ghostpool_enqueue_child_styles() {
wp_enqueue_style( 'ghostpool-style', get_template_directory_uri() . '/style.css', array(), AARDVARK_THEME_VERSION );
wp_enqueue_style( 'ghostpool-child-style', get_stylesheet_directory_uri() . '/style.css', array( 'ghostpool-style' ), AARDVARK_THEME_VERSION );
wp_style_add_data( 'ghostpool-child-style', 'rtl', 'replace' );
}
}
add_action( 'wp_enqueue_scripts', 'ghostpool_enqueue_child_styles' );