first commit

This commit is contained in:
2025-09-22 16:00:20 +02:00
parent bb5cc93cb0
commit ce4d458162
61 changed files with 6544 additions and 114 deletions

View File

@@ -176,3 +176,55 @@ if ( defined( 'JETPACK__VERSION' ) ) {
require get_template_directory() . '/inc/jetpack.php';
}
function brpp_enqueue_assets() {
wp_enqueue_style( 'brpp-style', get_stylesheet_uri() );
wp_enqueue_style(
'brpp-custom',
get_template_directory_uri() . '/css/custom.css',
array('brpp-style'),
filemtime( get_template_directory() . '/css/custom.css' )
);
}
add_action( 'wp_enqueue_scripts', 'brpp_enqueue_assets' );
// YoastSEO
add_filter( 'wpseo_breadcrumb_output_wrapper', function() {
return 'ul';
});
add_filter( 'wpseo_breadcrumb_output_wrapper_close', function() {
return 'ul';
});
add_filter( 'wpseo_breadcrumb_single_link_wrapper', function() {
return 'li';
});
add_filter( 'wpseo_breadcrumb_single_link_wrapper_close', function() {
return 'li';
});
function brpp_enqueue_scripts() {
wp_enqueue_script(
'gsap',
'https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js',
array(),
'3.12.5',
true
);
wp_enqueue_script(
'gsap-scrolltrigger',
'https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/ScrollTrigger.min.js',
array('gsap'),
'3.12.5',
true
);
wp_enqueue_script(
'brpp-custom',
get_template_directory_uri() . '/js/custom.js',
array('jquery'),
filemtime( get_template_directory() . '/js/custom.js' ),
true
);
}
add_action( 'wp_enqueue_scripts', 'brpp_enqueue_scripts' );