From f200da98fa127fecd837e38c5c71ef3a92749475 Mon Sep 17 00:00:00 2001 From: Adrian Ionescu <9744973+adrianweb@users.noreply.github.com> Date: Mon, 5 Mar 2018 19:48:45 +0000 Subject: [PATCH 01/10] fix: make sorting select fw on mobile --- assets/css/sermon.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/css/sermon.css b/assets/css/sermon.css index 11f6cb1..79c35a7 100755 --- a/assets/css/sermon.css +++ b/assets/css/sermon.css @@ -348,6 +348,12 @@ h3.wpfc_grid_title a { .wpfc-sermon-container #wpfc_sermon_sorting > div:last-child { margin: 0; } + + .wpfc-sermon-container #wpfc_sermon_sorting select { + display: block; + width: 100%; + max-width: 100%; + } } /******************************* Sermon Archive *******************************/ From 4c751ad98dfb9276aa47e381b17f265587be482c Mon Sep 17 00:00:00 2001 From: Adrian Ionescu <9744973+adrianweb@users.noreply.github.com> Date: Tue, 6 Mar 2018 08:46:29 +0000 Subject: [PATCH 02/10] echo audio url --- includes/sm-template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/sm-template-functions.php b/includes/sm-template-functions.php index 8ac9978..771fb6c 100755 --- a/includes/sm-template-functions.php +++ b/includes/sm-template-functions.php @@ -442,7 +442,7 @@ function wpfc_sermon_single_v2( $return = false, $post = null ) {
- + From a7ca7fb148348e708a9c723544410097a17258e2 Mon Sep 17 00:00:00 2001 From: Adrian Ionescu <9744973+adrianweb@users.noreply.github.com> Date: Tue, 6 Mar 2018 09:19:14 +0000 Subject: [PATCH 03/10] fix download button, add audio basename --- includes/sm-template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/sm-template-functions.php b/includes/sm-template-functions.php index 771fb6c..5811585 100755 --- a/includes/sm-template-functions.php +++ b/includes/sm-template-functions.php @@ -442,7 +442,7 @@ function wpfc_sermon_single_v2( $return = false, $post = null ) {
- + From 00aaa93c13901956aa566c6a7b58d2f6f1be6b90 Mon Sep 17 00:00:00 2001 From: Adrian Ionescu <9744973+adrianweb@users.noreply.github.com> Date: Tue, 6 Mar 2018 09:30:06 +0000 Subject: [PATCH 04/10] download button css reset --- assets/css/sermon.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/css/sermon.css b/assets/css/sermon.css index 79c35a7..ef618ca 100755 --- a/assets/css/sermon.css +++ b/assets/css/sermon.css @@ -514,6 +514,8 @@ h3.wpfc_grid_title a { flex: none; background: white; padding: 0 1.25rem; + box-shadow: none; + text-decoration: none; } .wpfc-sermon-player { vertical-align: middle; From f8f7ee7ab69177a704bd789bd9a912d91c3e7d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Miljkovi=C4=87?= Date: Wed, 7 Mar 2018 02:04:07 +0100 Subject: [PATCH 05/10] Update changelog --- readme.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 6ab7b4d..e2afb78 100755 --- a/readme.txt +++ b/readme.txt @@ -105,8 +105,9 @@ Visit the [plugin homepage](https://wpforchurch.com/wordpress-plugins/sermon-man ### 2.12.1 ### * New: Add support for Facebook video links * New: Sermon audio download button -* Fix: `latest_series` title and description parameter not working +* Fix: `latest_series` shortcode title and description parameter not working * Fix: Sermons won't show long description on archive page +* Fix: Issues with mp3 download button ### 2.12.0 ### * New: Add all new views, much more improved From 81522ab0c847145041c1ceb5a597adac19df952e Mon Sep 17 00:00:00 2001 From: Adrian Ionescu <9744973+adrianweb@users.noreply.github.com> Date: Wed, 7 Mar 2018 13:39:52 +0000 Subject: [PATCH 06/10] add audio player --- assets/css/sermon.css | 4 ++++ includes/sm-template-functions.php | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/assets/css/sermon.css b/assets/css/sermon.css index ef618ca..625541f 100755 --- a/assets/css/sermon.css +++ b/assets/css/sermon.css @@ -416,6 +416,10 @@ h3.wpfc_grid_title a { margin: 0; } +.wpfc-sermon-audio { + margin-top: 24px; +} + .wpfc-sermon-footer { margin-top: 24px; padding-top: 24px; diff --git a/includes/sm-template-functions.php b/includes/sm-template-functions.php index 5811585..30bca81 100755 --- a/includes/sm-template-functions.php +++ b/includes/sm-template-functions.php @@ -526,6 +526,13 @@ function wpfc_sermon_excerpt_v2( $return = false ) {
ID, 'sermon_description', true); ?>
+ + +
+ +
+ +
+ From 45d5d9b644d1ad90e940aa90a0724a238a51d55c Mon Sep 17 00:00:00 2001 From: Adrian Ionescu <9744973+adrianweb@users.noreply.github.com> Date: Wed, 7 Mar 2018 14:12:35 +0000 Subject: [PATCH 07/10] add audio player and attachment icons --- assets/css/sermon.css | 21 +++++++++++++++++++++ includes/sm-template-functions.php | 20 ++++++++++++++++++-- 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/assets/css/sermon.css b/assets/css/sermon.css index 625541f..dd08c4a 100755 --- a/assets/css/sermon.css +++ b/assets/css/sermon.css @@ -381,6 +381,27 @@ h3.wpfc_grid_title a { border: none; } +.wpfc-sermon-header { + display: grid; + grid-template-columns: 70% 30%; + align-items: center; +} + +.wpfc-sermon-header-aside { + text-align: right; +} + +.wpfc-sermon-att-audio, +.wpfc-sermon-att-notes, +.wpfc-sermon-att-bulletin { + width: auto; + height: auto; + line-height: auto; + padding: 4px; + border: 1px solid #efefef; + margin-bottom: 4px; +} + .wpfc-sermon-main { padding: 24px; } diff --git a/includes/sm-template-functions.php b/includes/sm-template-functions.php index 30bca81..5d89702 100755 --- a/includes/sm-template-functions.php +++ b/includes/sm-template-functions.php @@ -511,6 +511,8 @@ function wpfc_sermon_excerpt_v2( $return = false ) {
+
+ ID, 'sermon_description', true); ?>
- - +
From 5048c924bee45013e731b29543cf3e3130bab61c Mon Sep 17 00:00:00 2001 From: Adrian Ionescu <9744973+adrianweb@users.noreply.github.com> Date: Wed, 7 Mar 2018 15:30:00 +0000 Subject: [PATCH 08/10] echo attachement url --- includes/sm-template-functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/sm-template-functions.php b/includes/sm-template-functions.php index 5d89702..549b917 100755 --- a/includes/sm-template-functions.php +++ b/includes/sm-template-functions.php @@ -530,13 +530,13 @@ function wpfc_sermon_excerpt_v2( $return = false ) {
- + - + - +
From 8ba1403b5118f65ed12675b4f4f68afd860a6ab5 Mon Sep 17 00:00:00 2001 From: Adrian Ionescu <9744973+adrianweb@users.noreply.github.com> Date: Wed, 7 Mar 2018 15:31:10 +0000 Subject: [PATCH 09/10] fix styling issue --- assets/css/sermon.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/css/sermon.css b/assets/css/sermon.css index dd08c4a..ceeac00 100755 --- a/assets/css/sermon.css +++ b/assets/css/sermon.css @@ -391,9 +391,9 @@ h3.wpfc_grid_title a { text-align: right; } -.wpfc-sermon-att-audio, -.wpfc-sermon-att-notes, -.wpfc-sermon-att-bulletin { +.wpfc-sermon-container .wpfc-sermon-att-audio, +.wpfc-sermon-container .wpfc-sermon-att-notes, +.wpfc-sermon-container .wpfc-sermon-att-bulletin { width: auto; height: auto; line-height: auto; From 6430850cea912e556e33cf334f288fdc669e6910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Miljkovi=C4=87?= Date: Wed, 7 Mar 2018 21:33:06 +0100 Subject: [PATCH 10/10] Update versions --- readme.txt | 7 ++++++- sermons.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index e2afb78..1f353e9 100755 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: church, sermon, sermons, preaching, podcasting, manage, managing, podcasts Requires at least: 4.5 Tested up to: 4.9.4 Requires PHP: 5.3 -Stable tag: 2.12.1 +Stable tag: 2.12.2 License: GPLv2 License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -102,6 +102,11 @@ Visit the [plugin homepage](https://wpforchurch.com/wordpress-plugins/sermon-man 2. Sermon Files ## Changelog ## +### 2.12.2 ### +* Fix: Audio player styling +* Fix: Audio player not loading on archive pages +* Fix: Attachments not showing on archive pages + ### 2.12.1 ### * New: Add support for Facebook video links * New: Sermon audio download button diff --git a/sermons.php b/sermons.php index 58298f8..8562608 100755 --- a/sermons.php +++ b/sermons.php @@ -3,7 +3,7 @@ * Plugin Name: Sermon Manager for WordPress * Plugin URI: https://www.wpforchurch.com/products/sermon-manager-for-wordpress/ * Description: Add audio and video sermons, manage speakers, series, and more. - * Version: 2.12.1 + * Version: 2.12.2 * Author: WP for Church * Author URI: https://www.wpforchurch.com/ * Requires at least: 4.5