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 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 ) {
+