diff --git a/assets/icons/subscribe/fyyd.de.png b/assets/icons/subscribe/fyyd-de.png similarity index 100% rename from assets/icons/subscribe/fyyd.de.png rename to assets/icons/subscribe/fyyd-de.png diff --git a/assets/icons/subscribe/himalaya.com.png b/assets/icons/subscribe/himalaya-com.png similarity index 100% rename from assets/icons/subscribe/himalaya.com.png rename to assets/icons/subscribe/himalaya-com.png diff --git a/assets/icons/subscribe/player.fm.png b/assets/icons/subscribe/player-fm.png similarity index 100% rename from assets/icons/subscribe/player.fm.png rename to assets/icons/subscribe/player-fm.png diff --git a/assets/icons/subscribe/podcast.de.png b/assets/icons/subscribe/podcast-de.png similarity index 100% rename from assets/icons/subscribe/podcast.de.png rename to assets/icons/subscribe/podcast-de.png diff --git a/assets/icons/subscribe/radio.com.png b/assets/icons/subscribe/radio-com.png similarity index 100% rename from assets/icons/subscribe/radio.com.png rename to assets/icons/subscribe/radio-com.png diff --git a/assets/icons/subscribe/we.fo.png b/assets/icons/subscribe/we-fo.png similarity index 100% rename from assets/icons/subscribe/we.fo.png rename to assets/icons/subscribe/we-fo.png diff --git a/package.json b/package.json index 4528921d..f90900ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "seriously-simple-podcasting", - "version": "2.6.5", + "version": "2.6.6", "main": "build/index.js", "author": "CastosHQ", "devDependencies": { diff --git a/php/classes/handlers/class-options-handler.php b/php/classes/handlers/class-options-handler.php index f87b0627..46999b02 100644 --- a/php/classes/handlers/class-options-handler.php +++ b/php/classes/handlers/class-options-handler.php @@ -155,12 +155,14 @@ public function get_subscribe_urls( $episode_id, $context ) { if ( is_array( $terms ) && isset( $terms[0] ) && false !== get_option( 'ss_podcasting_' . $option_key . '_url_' . $terms[0]->term_id ) ) { $url = get_option( 'ss_podcasting_' . $option_key . '_url_' . $terms[0]->term_id, '' ); } + $icon = str_replace( '_', '-', $option_key ); $subscribe_array[ $option_key ] = array( 'key' => $option_key, 'url' => $url, 'label' => $this->available_subscribe_options[ $option_key ], 'class' => $option_key, + 'icon' => $icon . '.png', ); } diff --git a/php/classes/handlers/class-settings-handler.php b/php/classes/handlers/class-settings-handler.php index cbde3846..66b5a7a3 100644 --- a/php/classes/handlers/class-settings-handler.php +++ b/php/classes/handlers/class-settings-handler.php @@ -289,6 +289,10 @@ public function settings_fields() { 'label' => __( 'Spirituality', 'seriously-simple-podcasting' ), 'group' => __( 'Religion & Spirituality', 'seriously-simple-podcasting' ), ), + 'Religion' => array( + 'label' => __( 'Religion', 'seriously-simple-podcasting' ), + 'group' => __( 'Religion & Spirituality', 'seriously-simple-podcasting' ), + ), 'Astronomy' => array( 'label' => __( 'Astronomy', 'seriously-simple-podcasting' ), 'group' => __( 'Science', 'seriously-simple-podcasting' ), diff --git a/readme.txt b/readme.txt index d93c59a7..403f21ea 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: podcast, audio, video, vodcast, rss, mp3, mp4, feed, itunes, podcasting, m Requires at least: 4.4 Tested up to: 5.7 Requires PHP: 5.6 -Stable tag: 2.6.5 +Stable tag: 2.6.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -159,6 +159,13 @@ You can find complete user and developer documentation (along with the FAQs) on == Changelog == += 2.6.6 = +* 2021-05-11 +* UPDATE SUMMARY: Fixed the Elementor icons missing issue, minor improvements +* [FIX] Elementor subscribe icons missing fixes +* [UPDATE] Do not request player file on page load +* [UPDATE] Added religion subcategory + = 2.6.5 = * 2021-05-07 * UPDATE SUMMARY: Fix the feed error for the case if the author name has punctuation. diff --git a/seriously-simple-podcasting.php b/seriously-simple-podcasting.php index 3e426c24..27381755 100644 --- a/seriously-simple-podcasting.php +++ b/seriously-simple-podcasting.php @@ -1,7 +1,7 @@