bodiequirk
11/15/2017 - 8:46 PM

Sermon Manager Shortcodes for Beaver Themer

Sermon Manager Shortcodes for Beaver Themer

		// Allows the audio player to be added on single sermons via the [themer_sermon_audio] shortcode 
add_shortcode('themer_sermon_audio', function( $atts, $content = null ){
        return wpfc_render_audio( get_wpfc_sermon_meta( 'sermon_audio' ) );
}); 

// Allows the audio player to be added on single sermons via the [themer_sermon_slides] shortcode
add_shortcode('themer_sermon_slides', function( $atts, $content = null ){
        return get_wpfc_sermon_meta( 'sermon_video' );
});