2020-09-29 16:47:09 +02:00
|
|
|
<?php
|
2020-12-17 14:12:01 +01:00
|
|
|
|
2021-02-26 08:19:46 +01:00
|
|
|
// This is not needed. The parent theme has no style information
|
|
|
|
// whatsoever inside the main `style.css` file in the root folder.
|
|
|
|
//
|
|
|
|
// add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
|
|
|
|
// function enqueue_parent_styles() {
|
|
|
|
// wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
|
|
|
|
// }
|
2020-12-17 14:12:01 +01:00
|
|
|
|
|
|
|
|
2021-02-26 08:19:46 +01:00
|
|
|
// The parent-theme adds the style with a priority of 999. In order
|
|
|
|
// for us to be able to override styles from the parent-theme we have to
|
|
|
|
// render our styles even later
|
|
|
|
add_action( 'wp_enqueue_scripts', 'enqueue_grlp_styles', 1000);
|
2020-12-17 14:12:01 +01:00
|
|
|
|
2021-02-26 08:19:46 +01:00
|
|
|
function enqueue_grlp_styles() {
|
|
|
|
wp_enqueue_style( 'gruerlp-main', get_stylesheet_directory_uri() . '/lib/css/style_gruene_rlp.css');
|
|
|
|
}
|
2020-12-17 14:12:01 +01:00
|
|
|
|
2021-02-26 08:19:46 +01:00
|
|
|
require_once('functions/childtheme-shortcodes.php')
|
2020-12-17 14:12:01 +01:00
|
|
|
|
2020-09-29 16:47:09 +02:00
|
|
|
?>
|