' . __( 'Download Files', 'sermon-manager' ) . '';
- if ( $attachments ) {
- foreach ( $attachments as $attachment ) {
- // skip audio, so we don't have double URLs
- if ( get_wpfc_sermon_meta( 'sermon_audio' ) === wp_get_attachment_url( $attachment->ID ) ) {
- continue;
- }
-
- $html .= '
';
- $html .= $attachment->post_title;
- $html .= '';
- }
- }
if ( get_wpfc_sermon_meta( 'sermon_audio' ) ) {
$html .= '' . __( 'MP3', 'sermon-manager' ) . '';
}
diff --git a/includes/types-taxonomies.php b/includes/types-taxonomies.php
index de64eb8..62031fd 100755
--- a/includes/types-taxonomies.php
+++ b/includes/types-taxonomies.php
@@ -330,12 +330,13 @@ function wpfc_sermon_metaboxes() {
'id' => 'sermon_video',
'type' => 'textarea_code'
) );
- $cmb2->add_field( array(
- 'name' => __( 'Video', 'sermon-manager' ),
- 'desc' => __( 'Paste your link for Vimeo, Youtube, or other service here', 'sermon-manager' ),
- 'id' => 'sermon_video_link',
- 'type' => 'text'
- ) );
+ $cmb2->add_field( apply_filters( 'sm_cmb2_field_sermon_video_link', array(
+ 'name' => __( 'Video', 'sermon-manager' ),
+ 'desc' => __( 'Paste your link for Vimeo, Youtube, or other service here', 'sermon-manager' ),
+ 'id' => 'sermon_video_link',
+ 'type' => 'text'
+ ) )
+ );
$cmb2->add_field( array(
'name' => __( 'Sermon Notes', 'sermon-manager' ),
'desc' => __( 'Upload a pdf file or enter an URL.', 'sermon-manager' ),
diff --git a/readme.txt b/readme.txt
index 9754f02..86e322d 100755
--- a/readme.txt
+++ b/readme.txt
@@ -4,7 +4,7 @@ Donate link: http://wpforchurch.com/
Tags: church, sermon, sermons, preaching, podcasting
Requires at least: 4.5
Tested up to: 4.8.1
-Stable tag: 2.4.10
+Stable tag: 2.4.11
Add audio and video sermons, manage speakers, series, and more to your church website.
@@ -83,6 +83,12 @@ Visit the [plugin homepage](https://wpforchurch.com/wordpress-plugins/sermon-man
2. Sermon Files
== Changelog ==
+= 2.4.11 =
+* Fix paragraphs in podcast feed description
+* Fix podcasts not validating with exotic mp3 file names
+* Fix double URLs appearing in sermon downloads
+* Fix sermons not appearing in shortcodes
+
= 2.4.10 =
* Fix filtering styling being broken
diff --git a/sermons.php b/sermons.php
index 1ef94fe..d96199a 100755
--- a/sermons.php
+++ b/sermons.php
@@ -3,7 +3,7 @@
Plugin Name: Sermon Manager for WordPress
Plugin URI: http://www.wpforchurch.com/products/sermon-manager-for-wordpress/
Description: Add audio and video sermons, manage speakers, series, and more. Visit Wordpress for Church for tutorials and support.
-Version: 2.4.10
+Version: 2.4.11
Author: WP for Church
Contributors: wpforchurch, jprummer, jamzth
Author URI: http://www.wpforchurch.com/