-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
20 lines (18 loc) · 861 Bytes
/
functions.php
File metadata and controls
20 lines (18 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
* Enqueue the parent theme's styles.
* You can leave this out if you're replacing the parent theme's CSS.
*/
function boston_2016_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
add_action( 'wp_enqueue_scripts', 'boston_2016_styles' );
function boston_2016_enable_features( $sites ) {
$sites[] = 47;
return $sites;
}
add_filter( 'wcpt_speaker_post_avatar_enabled_site_ids', 'boston_2016_enable_features' );
add_filter( 'wcpt_session_post_speaker_info_enabled_site_ids', 'boston_2016_enable_features' );
add_filter( 'wcpt_session_post_slides_info_enabled_site_ids', 'boston_2016_enable_features' );
add_filter( 'wcpt_session_post_video_info_enabled_site_ids', 'boston_2016_enable_features' );
add_filter( 'wcpt_speaker_post_session_info_enabled_site_ids', 'boston_2016_enable_features' );