forked from NB-Public/jkb-childtheme
added fundraising template
This commit is contained in:
parent
1c65ef9483
commit
0d607fe7fd
10 changed files with 244 additions and 33 deletions
|
@ -1,6 +1,23 @@
|
|||
<?php
|
||||
add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
|
||||
function enqueue_parent_styles() {
|
||||
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
|
||||
}
|
||||
|
||||
// This is not needed. The parent theme has no style information inside the main
|
||||
// style.css files whatsoever
|
||||
//
|
||||
// add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
|
||||
// function enqueue_parent_styles() {
|
||||
// wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
|
||||
// }
|
||||
|
||||
|
||||
// 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);
|
||||
|
||||
function enqueue_grlp_styles() {
|
||||
wp_enqueue_style( 'gruerlp-main', get_stylesheet_directory_uri() . '/lib/css/style_gruene_rlp.css');
|
||||
}
|
||||
|
||||
require_once('functions/childtheme-shortcodes.php')
|
||||
|
||||
?>
|
||||
|
|
Reference in a new issue