PowerPress Podcasting plugin by Blubrry - Version 8.4.4

Version Description

  • Released 11/17/2020
  • Re-ordered destinations to better integrate new Amazon Music and Podcast Index
  • Updated the episode box so that if validation is skipped, the user doesn't have to click Edit Media to edit
  • No longer forcing Apple or Google icons in any locations
  • Made an adjustment for the modern Blubrry icon--was getting cut off on Chrome for Mac
  • Fixed text in amazon music subscribe link under player--previously said "Blubrry"
Download this release

Release Info

Developer benbeecroft
Plugin Icon 128x128 PowerPress Podcasting plugin by Blubrry
Version 8.4.4
Comparing to
See all releases

Code changes from version 8.4.3 to 8.4.4

css/subscribe-widget.css CHANGED
@@ -573,7 +573,7 @@ a.pp-ssb-btn.horizontal {
573
  padding-right: 10px;
574
  }
575
  .pp-ssb-widget-modern .pp-ssb-blubrry .pp-ssb-ic {
576
- background-position: 0 -603px;
577
  }
578
 
579
  .pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:not(.horizontal) {
573
  padding-right: 10px;
574
  }
575
  .pp-ssb-widget-modern .pp-ssb-blubrry .pp-ssb-ic {
576
+ background-position: 0 -605px;
577
  }
578
 
579
  .pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:not(.horizontal) {
css/subscribe-widget.min.css CHANGED
@@ -1 +1 @@
1
- .pp-ssb-widget{width:100%;margin:0 auto}.pp-ssb-widget-modern{font:Roboto;color:#707070}.pp-ssb-widget-classic{font-family:Sans-serif;color:#fff}a.pp-ssb-btn{width:100%;height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden;border-radius:50px}.pp-ssb-widget-include a.pp-ssb-btn{text-align:left}.pp-ssb-widget-modern a.pp-ssb-btn{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;padding-right:20px;background-position:center;transition:background .8s;background-color:#fff;font-size:80%}.pp-ssb-widget-modern.pp-ssb-widget-include a.pp-ssb-btn{font-size:80%!important}.pp-ssb-widget-classic a.pp-ssb-btn{padding:0;color:#fff;margin:10px 0 10px 0;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}.pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn{font-size:90%!important;font-weight:700!important}.pp-ssb-btn-sq{width:100%;height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden}.pp-ssb-btn-include .pp-ssb-btn-sq{text-align:left}body .pp-ssb-widget-modern a.pp-ssb-btn-sq{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;background-position:center;transition:background .8s;background-color:#fff;font-size:80%}body .pp-ssb-widget-modern.pp-ssb-widget-include a.pp-ssb-btn-sq{font-size:80%!important}body .pp-ssb-widget-classic a.pp-ssb-btn-sq{padding:0;color:#fff;margin:10px 0 10px 0;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn-sq{font-size:90%!important;font-weight:700!important}@media (max-width:663px) and (min-width:611px){a.pp-ssb-btn-sq.horizontal:nth-child(n+11){display:none}}@media (max-width:611px) and (min-width:559px){a.pp-ssb-btn-sq.horizontal:nth-child(n+10){display:none}}@media (max-width:559px) and (min-width:507px){a.pp-ssb-btn-sq.horizontal:nth-child(n+9){display:none}}@media (max-width:507px) and (min-width:455px){a.pp-ssb-btn-sq.horizontal:nth-child(n+8){display:none}}@media (max-width:455px) and (min-width:403px){a.pp-ssb-btn-sq.horizontal:nth-child(n+7){display:none}}@media (max-width:403px) and (min-width:351px){a.pp-ssb-btn-sq.horizontal:nth-child(n+6){display:none}}@media (max-width:351px) and (min-width:299px){a.pp-ssb-btn-sq.horizontal:nth-child(n+5){display:none}}@media (max-width:299px) and (min-width:247px){a.pp-ssb-btn-sq.horizontal:nth-child(n+4){display:none}}@media (max-width:247px) and (min-width:195px){a.pp-ssb-btn-sq.horizontal:nth-child(n+3){display:none}}@media (max-width:195px){a.pp-ssb-btn-sq.horizontal:nth-child(n+2){display:none}}@media (max-width:992px) and (min-width:721px){a.pp-ssb-btn.horizontal:nth-child(n+11){display:none}}@media (max-width:721px) and (min-width:659px){a.pp-ssb-btn.horizontal:nth-child(n+10){display:none}}@media (max-width:659px) and (min-width:597px){a.pp-ssb-btn.horizontal:nth-child(n+9){display:none}}@media (max-width:597px) and (min-width:535px){a.pp-ssb-btn.horizontal:nth-child(n+8){display:none}}@media (max-width:535px) and (min-width:473px){a.pp-ssb-btn.horizontal:nth-child(n+7){display:none}}@media (max-width:473px) and (min-width:411px){a.pp-ssb-btn.horizontal:nth-child(n+6){display:none}}@media (max-width:411px) and (min-width:349px){a.pp-ssb-btn.horizontal:nth-child(n+5){display:none}}@media (max-width:349px) and (min-width:287px){a.pp-ssb-btn.horizontal:nth-child(n+4){display:none}}@media (max-width:287px) and (min-width:225px){a.pp-ssb-btn.horizontal:nth-child(n+3){display:none}}@media (max-width:225px){a.pp-ssb-btn.horizontal:nth-child(n+2){display:none}}a.pp-ssb-btn-sq.horizontal:last-child,a.pp-ssb-btn.horizontal:last-child{display:inline-block}body .pp-ssb-widget-classic a.pp-ssb-btn:active,body .pp-ssb-widget-classic a.pp-ssb-btn:hover,body .pp-ssb-widget-classic a.pp-ssb-btn:link,body .pp-ssb-widget-classic a.pp-ssb-btn:visited,body .sidebar .widget .pp-ssb-widget-classic a:active,body .sidebar .widget .pp-ssb-widget-classic a:hover,body .sidebar .widget .pp-ssb-widget-classic a:link,body .sidebar .widget .pp-ssb-widget-classic a:visited{text-decoration:none;color:#fff}body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:active,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:hover,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:link,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:visited,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:active,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:hover,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:link,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:visited{text-decoration:none!important;color:#fff!important}.pp-ssb-widget-classic a,.pp-ssb-widget-dark a{background-color:#222}.pp-ssb-widget-classic a.pp-ssb-itunes{background-color:#732bbe}.pp-ssb-widget-classic a.pp-ssb-email{background-color:#337ec9}.pp-ssb-widget-classic a.pp-ssb-stitcher{background-color:#197195}.pp-ssb-widget-classic a.pp-ssb-tunein{background-color:#2cb6a8}.pp-ssb-widget-classic a.pp-ssb-gp{background-color:#db3236}.pp-ssb-widget-classic a.pp-ssb-spotify{background-color:#1db954}.pp-ssb-widget-classic a.pp-ssb-android{background-color:#6ab344}.pp-ssb-widget-classic a.pp-ssb-iheartradio{background-color:#960d16}.pp-ssb-widget-classic a.pp-ssb-deezer{background-color:#007feb}.pp-ssb-widget-classic a.pp-ssb-pandora{background-color:#3668ff}.pp-ssb-widget-classic a.pp-ssb-blubrry{background-color:#2278cf}.pp-ssb-widget-classic a.pp-ssb-rss{background-color:#f80}.pp-ssb-widget-classic a.pp-ssb-amazon{background-color:#40f}.pp-ssb-widget-classic a.pp-ssb-pcindex{background-color:#ab0000}.pp-ssb-widget-modern a .pp-ssb-text{position:relative;top:4px}.pp-ssb-widget-modern a.pp-ssb-btn-sq:hover,.pp-ssb-widget-modern a.pp-ssb-btn:hover{background:#ebebeb radial-gradient(circle,transparent 1%,#ebebeb 1%) center/15000%;color:#444}.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn:active{background-color:#ab42df;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn:active{background-color:#75ba26;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn:active{background-color:#018c8b;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn:active{background-color:#f9ba01;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn:active{background-color:#2b91c9;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn:active{background-color:#1c1f3d;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn:active{background-color:#3eb559;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn:active{background-color:#960d16;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn:active{background-color:#007feb;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn:active{background-color:#3668ff;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn:active{background-color:#2278cf;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn:active{background-color:#f60;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-amazon.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-amazon.pp-ssb-btn:active{background-color:#40f;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-pcindex.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-pcindex.pp-ssb-btn:active{background-color:#ab0000;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn:active{background-color:#333;background-size:100%;transition:background 0s}.horizontal .pp-ssb-text{display:none}a.pp-ssb-btn-sq.horizontal,a.pp-ssb-btn.horizontal{width:auto}a.pp-ssb-btn-sq.horizontal,a.pp-ssb-btn.horizontal{padding-right:0}.pp-ssb-widget-include a.pp-ssb-btn-sq.horizontal,.pp-ssb-widget-include a.pp-ssb-btn.horizontal{padding-right:0!important}a.pp-ssb-btn.horizontal{margin-right:10px}.pp-ssb-ic{display:inline-block;width:50px;height:38px;margin-top:2px;border:0;vertical-align:middle;padding-left:15px;background-repeat:no-repeat;background-size:50px}.pp-ssb-widget-modern a .pp-ssb-ic{background-image:url(../images/modernicon_sprite.svg)}.pp-ssb-widget-classic a .pp-ssb-ic{margin-right:2px;background-image:url(../images/classicicon_sprite.svg)}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-ssb-widget-modern a .pp-ssb-ic{background-image:url(../images/modern-icon-sprite.png)}.pp-ssb-widget-classic a .pp-ssb-ic{background-image:url(../images/white_logos.png);width:50px;background-size:50px}}.pp-ssb-widget-classic .pp-ssb-itunes .pp-ssb-ic{background-position:0 -10px}.pp-ssb-widget-classic .pp-ssb-rss .pp-ssb-ic{background-position:0 -360px}.pp-ssb-widget-classic .pp-ssb-email .pp-ssb-ic{background-position:0 -110px}.pp-ssb-widget-classic .pp-ssb-android .pp-ssb-ic{background-position:0 -60px}.pp-ssb-widget-classic .pp-ssb-stitcher .pp-ssb-ic{background-position:0 -210px}.pp-ssb-widget-classic .pp-ssb-tunein .pp-ssb-ic{background-position:0 -260px}.pp-ssb-widget-classic .pp-ssb-spotify .pp-ssb-ic{background-position:0 -310px}.pp-ssb-widget-classic .pp-ssb-gp .pp-ssb-ic{background-position:0 -160px}.pp-ssb-widget-classic .pp-ssb-more .pp-ssb-ic{background-position:0 -410px}.pp-ssb-widget-classic .pp-ssb-iheartradio .pp-ssb-ic{background-position:0 -460px}.pp-ssb-widget-classic .pp-ssb-deezer .pp-ssb-ic{background-position:0 -510px}.pp-ssb-widget-classic .pp-ssb-pandora .pp-ssb-ic{background-position:0 -560px}.pp-ssb-widget-classic .pp-ssb-blubrry .pp-ssb-ic{background-position:0 -610px}.pp-ssb-widget-classic .pp-ssb-amazon .pp-ssb-ic{background-position:0 -1007px}.pp-ssb-widget-classic .pp-ssb-pcindex .pp-ssb-ic{background-position:0 -1057px}.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #ab42df;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-itunes .pp-ssb-ic{background-position:0 -5px}.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #75ba26;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-android .pp-ssb-ic{background-position:0 -55px}.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #018c8b;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-email .pp-ssb-ic{background-position:0 -106px}.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #f9ba01;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-gp .pp-ssb-ic{background-position:0 -155px}.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #2b91c9;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-stitcher .pp-ssb-ic{background-position:0 -205px}.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #1c1f3d;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-tunein .pp-ssb-ic{background-position:0 -255px}.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #3eb559;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-spotify .pp-ssb-ic{background-position:0 -307px}.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #960d16;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-iheartradio .pp-ssb-ic{background-position:0 -456px}.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #007feb;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-deezer .pp-ssb-ic{background-position:0 -507px}.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #3668ff;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-pandora .pp-ssb-ic{background-position:0 -555px}.pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #2278cf;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-blubrry .pp-ssb-ic{background-position:0 -603px}.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #f60;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-rss .pp-ssb-ic{background-position:0 -355px}.pp-ssb-widget-modern .pp-ssb-amazon.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #40f;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-amazon .pp-ssb-ic{background-position:0 -1003px}.pp-ssb-widget-modern .pp-ssb-pcindex.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #ab0000;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-pcindex .pp-ssb-ic{background-position:0 -1053px}.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #333;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-more .pp-ssb-ic{background-position:0 -405px}.pp-ssb-widget-classic .pp-ssb-btn-sq::after,.pp-ssb-widget-classic .pp-ssb-btn::after{content:none}.pp-ssb-widget-modern .pp-ssb-btn-sq::after,.pp-ssb-widget-modern .pp-ssb-btn::after{content:url(../images/arrow.svg);width:20px;display:inline-block;float:right;margin-top:16px}.horizontal.pp-ssb-btn-sq::after,.horizontal.pp-ssb-btn::after{content:none}.pp-ssb-nm{line-height:46px;padding-left:10px}.go img{height:8px;width:30px;float:right;margin-top:20px;margin-right:10px}
1
+ .pp-ssb-widget{width:100%;margin:0 auto}.pp-ssb-widget-modern{font:Roboto;color:#707070}.pp-ssb-widget-classic{font-family:Sans-serif;color:#fff}a.pp-ssb-btn{width:100%;height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden;border-radius:50px}.pp-ssb-widget-include a.pp-ssb-btn{text-align:left}.pp-ssb-widget-modern a.pp-ssb-btn{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;padding-right:20px;background-position:center;transition:background .8s;background-color:#fff;font-size:80%}.pp-ssb-widget-modern.pp-ssb-widget-include a.pp-ssb-btn{font-size:80%!important}.pp-ssb-widget-classic a.pp-ssb-btn{padding:0;color:#fff;margin:10px 0 10px 0;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}.pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn{font-size:90%!important;font-weight:700!important}.pp-ssb-btn-sq{width:100%;height:48px;display:inline-block;text-decoration:none;vertical-align:middle;line-height:48px;overflow:hidden}.pp-ssb-btn-include .pp-ssb-btn-sq{text-align:left}body .pp-ssb-widget-modern a.pp-ssb-btn-sq{color:#707070;margin:6px 0 6px 0;border:1px solid #c4c4c4;font:15px arial,sans-serif;background-position:center;transition:background .8s;background-color:#fff;font-size:80%}body .pp-ssb-widget-modern.pp-ssb-widget-include a.pp-ssb-btn-sq{font-size:80%!important}body .pp-ssb-widget-classic a.pp-ssb-btn-sq{padding:0;color:#fff;margin:10px 0 10px 0;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:90%;font-weight:700}body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn-sq{font-size:90%!important;font-weight:700!important}@media (max-width:663px) and (min-width:611px){a.pp-ssb-btn-sq.horizontal:nth-child(n+11){display:none}}@media (max-width:611px) and (min-width:559px){a.pp-ssb-btn-sq.horizontal:nth-child(n+10){display:none}}@media (max-width:559px) and (min-width:507px){a.pp-ssb-btn-sq.horizontal:nth-child(n+9){display:none}}@media (max-width:507px) and (min-width:455px){a.pp-ssb-btn-sq.horizontal:nth-child(n+8){display:none}}@media (max-width:455px) and (min-width:403px){a.pp-ssb-btn-sq.horizontal:nth-child(n+7){display:none}}@media (max-width:403px) and (min-width:351px){a.pp-ssb-btn-sq.horizontal:nth-child(n+6){display:none}}@media (max-width:351px) and (min-width:299px){a.pp-ssb-btn-sq.horizontal:nth-child(n+5){display:none}}@media (max-width:299px) and (min-width:247px){a.pp-ssb-btn-sq.horizontal:nth-child(n+4){display:none}}@media (max-width:247px) and (min-width:195px){a.pp-ssb-btn-sq.horizontal:nth-child(n+3){display:none}}@media (max-width:195px){a.pp-ssb-btn-sq.horizontal:nth-child(n+2){display:none}}@media (max-width:992px) and (min-width:721px){a.pp-ssb-btn.horizontal:nth-child(n+11){display:none}}@media (max-width:721px) and (min-width:659px){a.pp-ssb-btn.horizontal:nth-child(n+10){display:none}}@media (max-width:659px) and (min-width:597px){a.pp-ssb-btn.horizontal:nth-child(n+9){display:none}}@media (max-width:597px) and (min-width:535px){a.pp-ssb-btn.horizontal:nth-child(n+8){display:none}}@media (max-width:535px) and (min-width:473px){a.pp-ssb-btn.horizontal:nth-child(n+7){display:none}}@media (max-width:473px) and (min-width:411px){a.pp-ssb-btn.horizontal:nth-child(n+6){display:none}}@media (max-width:411px) and (min-width:349px){a.pp-ssb-btn.horizontal:nth-child(n+5){display:none}}@media (max-width:349px) and (min-width:287px){a.pp-ssb-btn.horizontal:nth-child(n+4){display:none}}@media (max-width:287px) and (min-width:225px){a.pp-ssb-btn.horizontal:nth-child(n+3){display:none}}@media (max-width:225px){a.pp-ssb-btn.horizontal:nth-child(n+2){display:none}}a.pp-ssb-btn-sq.horizontal:last-child,a.pp-ssb-btn.horizontal:last-child{display:inline-block}body .pp-ssb-widget-classic a.pp-ssb-btn:active,body .pp-ssb-widget-classic a.pp-ssb-btn:hover,body .pp-ssb-widget-classic a.pp-ssb-btn:link,body .pp-ssb-widget-classic a.pp-ssb-btn:visited,body .sidebar .widget .pp-ssb-widget-classic a:active,body .sidebar .widget .pp-ssb-widget-classic a:hover,body .sidebar .widget .pp-ssb-widget-classic a:link,body .sidebar .widget .pp-ssb-widget-classic a:visited{text-decoration:none;color:#fff}body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:active,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:hover,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:link,body .pp-ssb-widget-classic.pp-ssb-widget-include a.pp-ssb-btn:visited,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:active,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:hover,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:link,body .sidebar .widget .pp-ssb-widget-classic.pp-ssb-widget-include a:visited{text-decoration:none!important;color:#fff!important}.pp-ssb-widget-classic a,.pp-ssb-widget-dark a{background-color:#222}.pp-ssb-widget-classic a.pp-ssb-itunes{background-color:#732bbe}.pp-ssb-widget-classic a.pp-ssb-email{background-color:#337ec9}.pp-ssb-widget-classic a.pp-ssb-stitcher{background-color:#197195}.pp-ssb-widget-classic a.pp-ssb-tunein{background-color:#2cb6a8}.pp-ssb-widget-classic a.pp-ssb-gp{background-color:#db3236}.pp-ssb-widget-classic a.pp-ssb-spotify{background-color:#1db954}.pp-ssb-widget-classic a.pp-ssb-android{background-color:#6ab344}.pp-ssb-widget-classic a.pp-ssb-iheartradio{background-color:#960d16}.pp-ssb-widget-classic a.pp-ssb-deezer{background-color:#007feb}.pp-ssb-widget-classic a.pp-ssb-pandora{background-color:#3668ff}.pp-ssb-widget-classic a.pp-ssb-blubrry{background-color:#2278cf}.pp-ssb-widget-classic a.pp-ssb-rss{background-color:#f80}.pp-ssb-widget-classic a.pp-ssb-amazon{background-color:#40f}.pp-ssb-widget-classic a.pp-ssb-pcindex{background-color:#ab0000}.pp-ssb-widget-modern a .pp-ssb-text{position:relative;top:4px}.pp-ssb-widget-modern a.pp-ssb-btn-sq:hover,.pp-ssb-widget-modern a.pp-ssb-btn:hover{background:#ebebeb radial-gradient(circle,transparent 1%,#ebebeb 1%) center/15000%;color:#444}.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn:active{background-color:#ab42df;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn:active{background-color:#75ba26;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn:active{background-color:#018c8b;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn:active{background-color:#f9ba01;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn:active{background-color:#2b91c9;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn:active{background-color:#1c1f3d;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn:active{background-color:#3eb559;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn:active{background-color:#960d16;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn:active{background-color:#007feb;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn:active{background-color:#3668ff;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn:active{background-color:#2278cf;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn:active{background-color:#f60;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-amazon.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-amazon.pp-ssb-btn:active{background-color:#40f;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-pcindex.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-pcindex.pp-ssb-btn:active{background-color:#ab0000;background-size:100%;transition:background 0s}.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn-sq:active,.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn:active{background-color:#333;background-size:100%;transition:background 0s}.horizontal .pp-ssb-text{display:none}a.pp-ssb-btn-sq.horizontal,a.pp-ssb-btn.horizontal{width:auto}a.pp-ssb-btn-sq.horizontal,a.pp-ssb-btn.horizontal{padding-right:0}.pp-ssb-widget-include a.pp-ssb-btn-sq.horizontal,.pp-ssb-widget-include a.pp-ssb-btn.horizontal{padding-right:0!important}a.pp-ssb-btn.horizontal{margin-right:10px}.pp-ssb-ic{display:inline-block;width:50px;height:38px;margin-top:2px;border:0;vertical-align:middle;padding-left:15px;background-repeat:no-repeat;background-size:50px}.pp-ssb-widget-modern a .pp-ssb-ic{background-image:url(../images/modernicon_sprite.svg)}.pp-ssb-widget-classic a .pp-ssb-ic{margin-right:2px;background-image:url(../images/classicicon_sprite.svg)}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-ssb-widget-modern a .pp-ssb-ic{background-image:url(../images/modern-icon-sprite.png)}.pp-ssb-widget-classic a .pp-ssb-ic{background-image:url(../images/white_logos.png);width:50px;background-size:50px}}.pp-ssb-widget-classic .pp-ssb-itunes .pp-ssb-ic{background-position:0 -10px}.pp-ssb-widget-classic .pp-ssb-rss .pp-ssb-ic{background-position:0 -360px}.pp-ssb-widget-classic .pp-ssb-email .pp-ssb-ic{background-position:0 -110px}.pp-ssb-widget-classic .pp-ssb-android .pp-ssb-ic{background-position:0 -60px}.pp-ssb-widget-classic .pp-ssb-stitcher .pp-ssb-ic{background-position:0 -210px}.pp-ssb-widget-classic .pp-ssb-tunein .pp-ssb-ic{background-position:0 -260px}.pp-ssb-widget-classic .pp-ssb-spotify .pp-ssb-ic{background-position:0 -310px}.pp-ssb-widget-classic .pp-ssb-gp .pp-ssb-ic{background-position:0 -160px}.pp-ssb-widget-classic .pp-ssb-more .pp-ssb-ic{background-position:0 -410px}.pp-ssb-widget-classic .pp-ssb-iheartradio .pp-ssb-ic{background-position:0 -460px}.pp-ssb-widget-classic .pp-ssb-deezer .pp-ssb-ic{background-position:0 -510px}.pp-ssb-widget-classic .pp-ssb-pandora .pp-ssb-ic{background-position:0 -560px}.pp-ssb-widget-classic .pp-ssb-blubrry .pp-ssb-ic{background-position:0 -610px}.pp-ssb-widget-classic .pp-ssb-amazon .pp-ssb-ic{background-position:0 -1007px}.pp-ssb-widget-classic .pp-ssb-pcindex .pp-ssb-ic{background-position:0 -1057px}.pp-ssb-widget-modern .pp-ssb-itunes.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #ab42df;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-itunes .pp-ssb-ic{background-position:0 -5px}.pp-ssb-widget-modern .pp-ssb-android.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #75ba26;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-android .pp-ssb-ic{background-position:0 -55px}.pp-ssb-widget-modern .pp-ssb-email.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #018c8b;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-email .pp-ssb-ic{background-position:0 -106px}.pp-ssb-widget-modern .pp-ssb-gp.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #f9ba01;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-gp .pp-ssb-ic{background-position:0 -155px}.pp-ssb-widget-modern .pp-ssb-stitcher.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #2b91c9;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-stitcher .pp-ssb-ic{background-position:0 -205px}.pp-ssb-widget-modern .pp-ssb-tunein.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #1c1f3d;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-tunein .pp-ssb-ic{background-position:0 -255px}.pp-ssb-widget-modern .pp-ssb-spotify.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #3eb559;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-spotify .pp-ssb-ic{background-position:0 -307px}.pp-ssb-widget-modern .pp-ssb-iheartradio.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #960d16;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-iheartradio .pp-ssb-ic{background-position:0 -456px}.pp-ssb-widget-modern .pp-ssb-deezer.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #007feb;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-deezer .pp-ssb-ic{background-position:0 -507px}.pp-ssb-widget-modern .pp-ssb-pandora.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #3668ff;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-pandora .pp-ssb-ic{background-position:0 -555px}.pp-ssb-widget-modern .pp-ssb-blubrry.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #2278cf;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-blubrry .pp-ssb-ic{background-position:0 -605px}.pp-ssb-widget-modern .pp-ssb-rss.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #f60;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-rss .pp-ssb-ic{background-position:0 -355px}.pp-ssb-widget-modern .pp-ssb-amazon.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #40f;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-amazon .pp-ssb-ic{background-position:0 -1003px}.pp-ssb-widget-modern .pp-ssb-pcindex.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #ab0000;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-pcindex .pp-ssb-ic{background-position:0 -1053px}.pp-ssb-widget-modern .pp-ssb-more.pp-ssb-btn-sq:not(.horizontal){border-left:3px solid #333;padding-right:10px}.pp-ssb-widget-modern .pp-ssb-more .pp-ssb-ic{background-position:0 -405px}.pp-ssb-widget-classic .pp-ssb-btn-sq::after,.pp-ssb-widget-classic .pp-ssb-btn::after{content:none}.pp-ssb-widget-modern .pp-ssb-btn-sq::after,.pp-ssb-widget-modern .pp-ssb-btn::after{content:url(../images/arrow.svg);width:20px;display:inline-block;float:right;margin-top:16px}.horizontal.pp-ssb-btn-sq::after,.horizontal.pp-ssb-btn::after{content:none}.pp-ssb-nm{line-height:46px;padding-left:10px}.go img{height:8px;width:30px;float:right;margin-top:20px;margin-right:10px}
js/admin.js CHANGED
@@ -42,14 +42,12 @@ function powerpress_openTab(evt, cityName) {
42
  });
43
 
44
  // Get all elements with class="tablinks" and remove the class "active"
45
- //tablinks = document.getElementsByClassName("tablinks");
46
  tablinks = jQuery(".tablinks");
47
  tablinks.each(function(index, element) {
48
  jQuery(this).attr("class", "tablinks");
49
  });
50
 
51
  // Show the current tab, and add an "active" class to the button that opened the tab
52
- //desired_tab_contents.css("display", "block");
53
  desired_tab_contents.attr("class", "pp-tabcontent has-sidenav active");
54
  desired_tab.attr("class", "tablinks active");
55
 
@@ -123,11 +121,8 @@ function sideNav(evt, cityName) {
123
  let icon = target.firstElementChild;
124
 
125
  // Get all elements with class="pp-tabcontent" and hide them
126
- //tabcontent = document.getElementsByClassName("pp-sidenav-tab");
127
  tabcontent = jQuery(".pp-sidenav-tab");
128
- //for (i = 0; i < tabcontent.length; i++) {
129
  tabcontent.each(function(index, element) {
130
- //jQuery(this).css("display", "none");
131
  jQuery(this).attr("class", "pp-sidenav-tab");
132
  });
133
 
@@ -157,7 +152,6 @@ function sideNav(evt, cityName) {
157
  }
158
 
159
  // Show the current tab, and add an "active" class to the button that opened the tab
160
- //desired_tab_contents.css("display", "inline-block");
161
  desired_tab_contents.attr("class", "pp-sidenav-tab active");
162
  desired_tab.attr("class", "pp-sidenav-tablinks active");
163
  }
@@ -301,8 +295,6 @@ function powerpress_changeMediaFile(evt, el) {
301
  //save button for edit media link
302
  function powerpress_cancelMediaEdit(el) {
303
  let feed_slug = el.id.replace("cancel-media-edit-", "");
304
- //let player_size = jQuery("#pp-player-size-" + feed_slug);
305
- //let player_size_line = jQuery("#line-above-player-size-" + feed_slug);
306
  let display_filename = jQuery("#ep-box-filename-" + feed_slug);
307
  let link = display_filename.val();
308
  let input = jQuery("#pp-url-input-container-" + feed_slug);
@@ -313,27 +305,10 @@ function powerpress_cancelMediaEdit(el) {
313
  let warning = jQuery("#file-change-warning-" + feed_slug);
314
  let blubrry_info = jQuery("#ep-box-blubrry-service-" + feed_slug);
315
  let container = jQuery("#pp-media-blubrry-container-" + feed_slug);
316
- //let video_types = [".mp4", ".m4v", ".webm", ".ogg", ".ogv"];
317
- //let video = false;
318
  if(verify_interval) {
319
  clearInterval(verify_interval);
320
  verify_interval = false;
321
  }
322
- /*video_types.forEach(function(element) {
323
- if (link.endsWith(element)) {
324
- player_size.removeAttr("style");
325
- player_size.attr("style", "display: block");
326
- player_size_line.removeAttr("style");
327
- player_size_line.attr("style", "display: block");
328
- video = true;
329
- }
330
- });
331
- if (!video) {
332
- player_size.removeAttr("style");
333
- player_size.attr("style", "display: none");
334
- player_size_line.removeAttr("style");
335
- player_size_line.attr("style", "display: none");
336
- }*/
337
  url_field.val(link);
338
  warning.css('display', 'none');
339
  input.removeAttr("style");
@@ -352,8 +327,6 @@ function powerpress_cancelMediaEdit(el) {
352
  function powerpress_saveMediaFile(el) {
353
  let feed_slug = el.id.replace("save-media-", "");
354
  powerpress_get_media_info(feed_slug);
355
- //let player_size = jQuery("#pp-player-size-" + feed_slug);
356
- //let player_size_line = jQuery("#line-above-player-size-" + feed_slug);
357
  let link = jQuery("#pp-url-input-label-container-" + feed_slug + " > input").val();
358
  let display_filename = jQuery("#ep-box-filename-" + feed_slug);
359
  let input = jQuery("#pp-url-input-container-" + feed_slug);
@@ -368,23 +341,6 @@ function powerpress_saveMediaFile(el) {
368
  clearInterval(verify_interval);
369
  verify_interval = false;
370
  }
371
- /*let video_types = [".mp4", ".m4v", ".webm", ".ogg", ".ogv"];
372
- let video = false;
373
- video_types.forEach(function(element) {
374
- if (link.endsWith(element)) {
375
- player_size.removeAttr("style");
376
- player_size.attr("style", "display: block");
377
- player_size_line.removeAttr("style");
378
- player_size_line.attr("style", "display: block");
379
- video = true;
380
- }
381
- });
382
- if (!video) {
383
- player_size.removeAttr("style");
384
- player_size.attr("style", "display: none");
385
- player_size_line.removeAttr("style");
386
- player_size_line.attr("style", "display: none");
387
- }*/
388
  show_input.attr("title", link);
389
  display_filename.html(link);
390
  warning.css('display', 'none');
@@ -404,35 +360,22 @@ function powerpress_saveMediaFile(el) {
404
  }
405
  }
406
 
407
- //Continue button for adding media to a post
408
  function powerpress_skipToEpisodeSettings(feed_slug) {
409
- let file_input = jQuery("#pp-url-input-container-" + feed_slug);
410
- let file_show = jQuery("#powerpress_url_show_" + feed_slug);
411
  let tab_container = jQuery("#tab-container-" + feed_slug);
412
  let warning = jQuery("#file-select-warning-" + feed_slug);
413
- let edit_file = jQuery("#edit-media-file-" + feed_slug);
414
- let select_file = jQuery("#select-media-file-" + feed_slug);
415
  let details = jQuery("#media-file-details-" + feed_slug);
416
- let blubrry_info = jQuery("#ep-box-blubrry-service-" + feed_slug);
417
  let blu_container = jQuery("#pp-media-blubrry-container-" + feed_slug);
418
  let connect_info = jQuery("#ep-box-blubrry-connect-" + feed_slug);
419
  let connect_info_small = jQuery("#ep-box-min-blubrry-connect-" + feed_slug);
420
  tab_container.removeAttr("style");
421
  tab_container.attr("style", "display: block");
422
- select_file.removeAttr("style");
423
- select_file.attr("style", "display: none");
424
- edit_file.removeAttr("style");
425
- edit_file.attr("style", "display: inline-block");
426
- file_input.removeAttr("style");
427
- file_input.attr("style", "display: none");
428
- file_show.css("display", "inline-block");
429
  warning.removeAttr("style");
430
  warning.attr("style", "display: none");
431
- blubrry_info.removeAttr("style");
432
- blubrry_info.attr("style", "display: none");
433
  details.removeAttr("style");
434
  details.attr("style", "display: inline-block");
435
  blu_container.removeAttr("style");
 
436
  if(verify_interval) {
437
  clearInterval(verify_interval);
438
  verify_interval = false;
@@ -447,8 +390,6 @@ function powerpress_skipToEpisodeSettings(feed_slug) {
447
  function powerpress_continueToEpisodeSettings(el) {
448
  let feed_slug = el.id.replace("continue-to-episode-settings-", "");
449
  powerpress_get_media_info(feed_slug);
450
- //let player_size = jQuery("#pp-player-size-" + feed_slug);
451
- //let player_size_line = jQuery("#line-above-player-size-" + feed_slug);
452
  let link = jQuery("#pp-url-input-label-container-" + feed_slug + " > input").val();
453
  let file_input = jQuery("#pp-url-input-container-" + feed_slug);
454
  let file_show = jQuery("#powerpress_url_show_" + feed_slug);
@@ -467,23 +408,6 @@ function powerpress_continueToEpisodeSettings(el) {
467
  clearInterval(verify_interval);
468
  verify_interval = false;
469
  }
470
- /*let video_types = [".mp4", ".m4v", ".webm", ".ogg", ".ogv"];
471
- let video = false;
472
- video_types.forEach(function(element) {
473
- if (link.endsWith(element)) {
474
- player_size.removeAttr("style");
475
- player_size.attr("style", "display: block");
476
- player_size_line.removeAttr("style");
477
- player_size_line.attr("style", "display: block");
478
- video = true;
479
- }
480
- });
481
- if (!video) {
482
- player_size.removeAttr("style");
483
- player_size.attr("style", "display: none");
484
- player_size_line.removeAttr("style");
485
- player_size_line.attr("style", "display: none");
486
- }*/
487
  file_show.attr("title", link);
488
  display_filename.html(link);
489
  tab_container.removeAttr("style");
42
  });
43
 
44
  // Get all elements with class="tablinks" and remove the class "active"
 
45
  tablinks = jQuery(".tablinks");
46
  tablinks.each(function(index, element) {
47
  jQuery(this).attr("class", "tablinks");
48
  });
49
 
50
  // Show the current tab, and add an "active" class to the button that opened the tab
 
51
  desired_tab_contents.attr("class", "pp-tabcontent has-sidenav active");
52
  desired_tab.attr("class", "tablinks active");
53
 
121
  let icon = target.firstElementChild;
122
 
123
  // Get all elements with class="pp-tabcontent" and hide them
 
124
  tabcontent = jQuery(".pp-sidenav-tab");
 
125
  tabcontent.each(function(index, element) {
 
126
  jQuery(this).attr("class", "pp-sidenav-tab");
127
  });
128
 
152
  }
153
 
154
  // Show the current tab, and add an "active" class to the button that opened the tab
 
155
  desired_tab_contents.attr("class", "pp-sidenav-tab active");
156
  desired_tab.attr("class", "pp-sidenav-tablinks active");
157
  }
295
  //save button for edit media link
296
  function powerpress_cancelMediaEdit(el) {
297
  let feed_slug = el.id.replace("cancel-media-edit-", "");
 
 
298
  let display_filename = jQuery("#ep-box-filename-" + feed_slug);
299
  let link = display_filename.val();
300
  let input = jQuery("#pp-url-input-container-" + feed_slug);
305
  let warning = jQuery("#file-change-warning-" + feed_slug);
306
  let blubrry_info = jQuery("#ep-box-blubrry-service-" + feed_slug);
307
  let container = jQuery("#pp-media-blubrry-container-" + feed_slug);
 
 
308
  if(verify_interval) {
309
  clearInterval(verify_interval);
310
  verify_interval = false;
311
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
312
  url_field.val(link);
313
  warning.css('display', 'none');
314
  input.removeAttr("style");
327
  function powerpress_saveMediaFile(el) {
328
  let feed_slug = el.id.replace("save-media-", "");
329
  powerpress_get_media_info(feed_slug);
 
 
330
  let link = jQuery("#pp-url-input-label-container-" + feed_slug + " > input").val();
331
  let display_filename = jQuery("#ep-box-filename-" + feed_slug);
332
  let input = jQuery("#pp-url-input-container-" + feed_slug);
341
  clearInterval(verify_interval);
342
  verify_interval = false;
343
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
  show_input.attr("title", link);
345
  display_filename.html(link);
346
  warning.css('display', 'none');
360
  }
361
  }
362
 
363
+ //Display all tabs along with an empty field for media
364
  function powerpress_skipToEpisodeSettings(feed_slug) {
 
 
365
  let tab_container = jQuery("#tab-container-" + feed_slug);
366
  let warning = jQuery("#file-select-warning-" + feed_slug);
 
 
367
  let details = jQuery("#media-file-details-" + feed_slug);
 
368
  let blu_container = jQuery("#pp-media-blubrry-container-" + feed_slug);
369
  let connect_info = jQuery("#ep-box-blubrry-connect-" + feed_slug);
370
  let connect_info_small = jQuery("#ep-box-min-blubrry-connect-" + feed_slug);
371
  tab_container.removeAttr("style");
372
  tab_container.attr("style", "display: block");
 
 
 
 
 
 
 
373
  warning.removeAttr("style");
374
  warning.attr("style", "display: none");
 
 
375
  details.removeAttr("style");
376
  details.attr("style", "display: inline-block");
377
  blu_container.removeAttr("style");
378
+ blu_container.attr("style", "background-color: #f1f4f9; padding: 2ch;");
379
  if(verify_interval) {
380
  clearInterval(verify_interval);
381
  verify_interval = false;
390
  function powerpress_continueToEpisodeSettings(el) {
391
  let feed_slug = el.id.replace("continue-to-episode-settings-", "");
392
  powerpress_get_media_info(feed_slug);
 
 
393
  let link = jQuery("#pp-url-input-label-container-" + feed_slug + " > input").val();
394
  let file_input = jQuery("#pp-url-input-container-" + feed_slug);
395
  let file_show = jQuery("#powerpress_url_show_" + feed_slug);
408
  clearInterval(verify_interval);
409
  verify_interval = false;
410
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
411
  file_show.attr("title", link);
412
  display_filename.html(link);
413
  tab_container.removeAttr("style");
powerpress-subscribe.php CHANGED
@@ -129,8 +129,8 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
129
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
130
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
131
  $Settings['image_url'] = $Settings['itunes_image'];
132
- $Settings['subscribe_feature_rss'] = (isset($GeneralSettings['subscribe_feature_rss']) ? $GeneralSettings['subscribe_feature_rss'] : true );
133
  $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
 
134
  $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
135
  $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
136
  $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
@@ -143,6 +143,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
143
  $Settings['subscribe_feature_amazon'] = (isset($GeneralSettings['subscribe_feature_amazon']) ? $GeneralSettings['subscribe_feature_amazon'] : false );
144
  $Settings['subscribe_feature_pcindex'] = (isset($GeneralSettings['subscribe_feature_pcindex']) ? $GeneralSettings['subscribe_feature_pcindex'] : false );
145
  $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
 
146
  $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
147
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
148
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
@@ -155,6 +156,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
155
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($GeneralSettings['subscribe_feature_amazon_shortcode']) ? $GeneralSettings['subscribe_feature_amazon_shortcode'] : true );
156
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($GeneralSettings['subscribe_feature_pcindex_shortcode']) ? $GeneralSettings['subscribe_feature_pcindex_shortcode'] : true );
157
  $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
 
158
  $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
159
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
160
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
@@ -205,8 +207,8 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
205
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
206
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
207
  $Settings['image_url'] = $Settings['itunes_image'];
208
- $Settings['subscribe_feature_rss'] = (isset($GeneralSettings['subscribe_feature_rss']) ? $GeneralSettings['subscribe_feature_rss'] : true );
209
  $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
 
210
  $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
211
  $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
212
  $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
@@ -219,6 +221,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
219
  $Settings['subscribe_feature_amazon'] = (isset($GeneralSettings['subscribe_feature_amazon']) ? $GeneralSettings['subscribe_feature_amazon'] : false );
220
  $Settings['subscribe_feature_pcindex'] = (isset($GeneralSettings['subscribe_feature_pcindex']) ? $GeneralSettings['subscribe_feature_pcindex'] : false );
221
  $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
 
222
  $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
223
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
224
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
@@ -231,6 +234,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
231
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($GeneralSettings['subscribe_feature_amazon_shortcode']) ? $GeneralSettings['subscribe_feature_amazon_shortcode'] : true );
232
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($GeneralSettings['subscribe_feature_pcindex_shortcode']) ? $GeneralSettings['subscribe_feature_pcindex_shortcode'] : true );
233
  $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
 
234
  $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
235
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
236
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
@@ -291,8 +295,8 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
291
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
292
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
293
  $Settings['image_url'] = $Settings['itunes_image'];
294
- $Settings['subscribe_feature_rss'] = (isset($GeneralSettings['subscribe_feature_rss']) ? $GeneralSettings['subscribe_feature_rss'] : true );
295
  $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
 
296
  $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
297
  $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
298
  $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
@@ -305,6 +309,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
305
  $Settings['subscribe_feature_amazon'] = (isset($GeneralSettings['subscribe_feature_amazon']) ? $GeneralSettings['subscribe_feature_amazon'] : false );
306
  $Settings['subscribe_feature_pcindex'] = (isset($GeneralSettings['subscribe_feature_pcindex']) ? $GeneralSettings['subscribe_feature_pcindex'] : false );
307
  $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
 
308
  $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
309
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
310
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
@@ -317,6 +322,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
317
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($GeneralSettings['subscribe_feature_amazon_shortcode']) ? $GeneralSettings['subscribe_feature_amazon_shortcode'] : true );
318
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($GeneralSettings['subscribe_feature_pcindex_shortcode']) ? $GeneralSettings['subscribe_feature_pcindex_shortcode'] : true );
319
  $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
 
320
  $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
321
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
322
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
@@ -361,8 +367,8 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
361
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
362
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
363
  $Settings['image_url'] = $Settings['itunes_image'];
364
- $Settings['subscribe_feature_rss'] = (isset($GeneralSettings['subscribe_feature_rss']) ? $GeneralSettings['subscribe_feature_rss'] : true );
365
  $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
 
366
  $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
367
  $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
368
  $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
@@ -375,6 +381,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
375
  $Settings['subscribe_feature_amazon'] = (isset($GeneralSettings['subscribe_feature_amazon']) ? $GeneralSettings['subscribe_feature_amazon'] : false );
376
  $Settings['subscribe_feature_pcindex'] = (isset($GeneralSettings['subscribe_feature_pcindex']) ? $GeneralSettings['subscribe_feature_pcindex'] : false );
377
  $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
 
378
  $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
379
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
380
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
@@ -387,6 +394,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
387
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($GeneralSettings['subscribe_feature_amazon_shortcode']) ? $GeneralSettings['subscribe_feature_amazon_shortcode'] : true );
388
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($GeneralSettings['subscribe_feature_pcindex_shortcode']) ? $GeneralSettings['subscribe_feature_pcindex_shortcode'] : true );
389
  $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
 
390
  $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
391
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
392
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
@@ -407,6 +415,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
407
  if( !empty($FeedSettings['premium']) ) {
408
  $Settings['subscribe_feature_email'] = false;
409
  $Settings['subscribe_feature_gp'] = false;
 
410
  $Settings['subscribe_feature_stitcher'] = false;
411
  $Settings['subscribe_feature_tunein'] = false;
412
  $Settings['subscribe_feature_spotify'] = false;
@@ -418,6 +427,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
418
  $Settings['subscribe_feature_amazon'] = false;
419
  $Settings['subscribe_feature_pcindex'] = false;
420
  $Settings['subscribe_feature_email_shortcode'] = false;
 
421
  $Settings['subscribe_feature_gp_shortcode'] = false;
422
  $Settings['subscribe_feature_stitcher_shortcode'] = false;
423
  $Settings['subscribe_feature_tunein_shortcode'] = false;
@@ -431,6 +441,7 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
431
  $Settings['subscribe_feature_pcindex_shortcode'] = false;
432
  $Settings['subscribe_feature_email_sidebar'] = false;
433
  $Settings['subscribe_feature_gp_sidebar'] = false;
 
434
  $Settings['subscribe_feature_stitcher_sidebar'] = false;
435
  $Settings['subscribe_feature_tunein_sidebar'] = false;
436
  $Settings['subscribe_feature_spotify_sidebar'] = false;
@@ -477,59 +488,59 @@ function powerpressplayer_link_subscribe_pre($content, $media_url, $ExtraData =
477
  $itunes_url = trim($SubscribeSettings['itunes_url']);
478
 
479
  $links_array = array();
480
- if( !empty($itunes_url) ) {
481
  $guid = get_the_guid();
482
  $links_array[] = "<a href=\"". htmlspecialchars( powerpresssubscribe_add_guid_to_itunes_url($itunes_url, $guid) ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_itunes\" title=\"". __('Subscribe on Apple Podcasts', 'powerpress') ."\" rel=\"nofollow\">". __('Apple Podcasts','powerpress') ."</a>".PHP_EOL_WEB;
483
  }
484
-
485
- if( preg_match('/^(https?:\/\/)(.*)$/i', $feed_url, $matches ) ) {
486
-
487
- $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
488
- $links_array[] = "<a href=\"". htmlspecialchars($android_url) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_android\" title=\"". __('Subscribe on Android', 'powerpress') ."\" rel=\"nofollow\">". __('Android','powerpress') ."</a>".PHP_EOL_WEB;
489
- if( !empty($SubscribeSettings['subscribe_feature_email']) )
490
- {
491
- $email_url = $matches[1] . 'subscribebyemail.com/' . $matches[2];
492
- $links_array[] = "<a href=\"". htmlspecialchars($email_url) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_email\" title=\"". __('Subscribe by Email', 'powerpress') ."\" rel=\"nofollow\">". __('Email','powerpress') ."</a>".PHP_EOL_WEB;
493
- }
494
- }
495
-
496
- if( !empty($SubscribeSettings['subscribe_feature_gp']) )
497
- {
498
- if( !empty($SubscribeSettings['google_url']) )
499
- $SubscribeSettings['googleplay_url'] =$SubscribeSettings['google_url'];
500
- else
501
- $SubscribeSettings['googleplay_url'] = 'https://www.google.com/podcasts?feed='. powerpress_base64_encode($feed_url);
502
- $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['googleplay_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_googleplay\" title=\"". __('Subscribe on Google Podcasts', 'powerpress') ."\" rel=\"nofollow\">". __('Google Podcasts','powerpress') ."</a>".PHP_EOL_WEB;
503
- }
504
-
505
- if( !empty($SubscribeSettings['subscribe_feature_stitcher']) && !empty($SubscribeSettings['stitcher_url']) )
506
- {
507
- $SubscribeSettings['stitcher_url'] = trim($SubscribeSettings['stitcher_url']);
508
- $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['stitcher_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_stitcher\" title=\"". __('Subscribe on Stitcher', 'powerpress') ."\" rel=\"nofollow\">". __('Stitcher','powerpress') ."</a>".PHP_EOL_WEB;
509
- }
510
-
511
- if( !empty($SubscribeSettings['subscribe_feature_tunein']) && !empty($SubscribeSettings['tunein_url']) )
512
- {
513
- $SubscribeSettings['tunein_url'] = trim($SubscribeSettings['tunein_url']);
514
- $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['tunein_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_tunein\" title=\"". __('Subscribe on TuneIn', 'powerpress') ."\" rel=\"nofollow\">". __('TuneIn','powerpress') ."</a>".PHP_EOL_WEB;
515
- }
516
-
517
- if( !empty($SubscribeSettings['subscribe_feature_spotify']) && !empty($SubscribeSettings['spotify_url']) )
518
- {
519
- $SubscribeSettings['spotify_url'] = trim($SubscribeSettings['spotify_url']);
520
- $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['spotify_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_spotify\" title=\"". __('Subscribe on Spotify', 'powerpress') ."\" rel=\"nofollow\">". __('Spotify','powerpress') ."</a>".PHP_EOL_WEB;
521
- }
522
 
523
- if( !empty($SubscribeSettings['subscribe_feature_blubrry']) && !empty($SubscribeSettings['blubrry_url']) )
524
  {
525
- $SubscribeSettings['blubrry_url'] = trim($SubscribeSettings['blubrry_url']);
526
- $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['blubrry_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_blubrry\" title=\"". __('Subscribe on Blubrry', 'powerpress') ."\" rel=\"nofollow\">". __('Blubrry','powerpress') ."</a>".PHP_EOL_WEB;
 
 
 
 
 
 
 
 
 
527
  }
528
 
529
  if( !empty($SubscribeSettings['subscribe_feature_amazon']) && !empty($SubscribeSettings['amazon_url']) )
530
  {
531
  $SubscribeSettings['amazon_url'] = trim($SubscribeSettings['amazon_url']);
532
- $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['amazon_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_amazon\" title=\"". __('Subscribe on Amazon Music', 'powerpress') ."\" rel=\"nofollow\">". __('Blubrry','powerpress') ."</a>".PHP_EOL_WEB;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
533
  }
534
 
535
  if( !empty($SubscribeSettings['subscribe_feature_pcindex']) && !empty($SubscribeSettings['pcindex_url']) )
@@ -537,10 +548,25 @@ function powerpressplayer_link_subscribe_pre($content, $media_url, $ExtraData =
537
  $SubscribeSettings['pcindex_url'] = trim($SubscribeSettings['pcindex_url']);
538
  $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['pcindex_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_pcindex\" title=\"". __('Subscribe on Podcast Index', 'powerpress') ."\" rel=\"nofollow\">". __('Podcast Index','powerpress') ."</a>".PHP_EOL_WEB;
539
  }
 
 
 
 
 
540
 
541
- if( !empty($SubscribeSettings['subscribe_feature_rss']) ) {
542
- $links_array[] = "<a href=\"". htmlspecialchars($feed_url) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_rss\" title=\"". __('Subscribe via RSS', 'powerpress') ."\" rel=\"nofollow\">". __('RSS','powerpress') ."</a>".PHP_EOL_WEB;
 
 
543
  }
 
 
 
 
 
 
 
 
544
 
545
  if( !empty($SubscribeSettings['subscribe_page_url']) )
546
  {
@@ -831,58 +857,51 @@ function powerpress_do_subscribe_widget($settings, $PowerPressSettings)
831
  $html .= '<div class="pp-sub-bx">';
832
  $html .= '<img class="pp-sub-l" src="'. esc_url( $settings['image_url'] ) .'" '. (!empty($settings['title'])?' title="'. esc_attr($settings['title']).'" ':'') .'/>';
833
  $html .= '<div class="pp-sub-btns">';
834
- if( !empty($settings['itunes_url']) ) {
835
- $html .= '<a href="'. esc_url( $settings['itunes_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-itunes" title="'. esc_attr( __('Subscribe on Apple Podcasts', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Apple Podcasts', 'powerpress') ) .'</a>';
836
- }
837
 
 
 
 
838
  // Google Podcasts
839
  $googleUrl = '';
840
- if( !empty($settings['subscribe_feature_gp_shortcode']) && !empty($settings['google_url']) )
841
  $googleUrl = $settings['google_url'];
842
  else
843
  $googleUrl = 'https://www.google.com/podcasts?feed='. powerpress_base64_encode($settings['feed_url']);
844
- $html .= '<a href="'. esc_url( $googleUrl ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-gp" title="'. esc_attr( __('Subscribe on Google Podcasts', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Google Podcasts', 'powerpress') ) .'</a>';
 
 
845
 
846
  if( !empty($settings['subscribe_feature_spotify_shortcode']) && !empty($settings['spotify_url']) )
847
  {
848
  $html .= '<a href="'. esc_url( $settings['spotify_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-spotify" title="'. esc_attr( __('Subscribe on Spotify', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Spotify', 'powerpress') ) .'</a>';
849
  }
850
 
851
- if( !empty($settings['subscribe_feature_tunein_shortcode']) && !empty($settings['tunein_url']) )
852
- {
853
- $html .= '<a href="'. esc_url( $settings['tunein_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-tunein" title="'. esc_attr( __('Subscribe on TuneIn', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('TuneIn', 'powerpress') ) .'</a>';
854
  }
 
855
  if( !empty($settings['subscribe_feature_android_shortcode']) && preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) ) {
856
  $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
857
  $html .= '<a href="'. esc_url( $android_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-android" title="'. esc_attr( __('Subscribe on Android', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Android', 'powerpress') ) .'</a>';
858
  }
859
 
860
- if( !empty($settings['subscribe_feature_stitcher_shortcode']) && !empty($settings['stitcher_url']) )
861
- {
862
- $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Stitcher', 'powerpress') ) .'</a>';
863
- }
864
-
865
- if( !empty($settings['subscribe_feature_blubrry_shortcode']) && !empty($settings['blubrry_url']) ) {
866
-
867
- $html .= '<a href="'. esc_url( $settings['blubrry_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-blubrry" title="'. esc_attr( __('Subscribe on Blubrry', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Blubrry', 'powerpress') ) .'</a>';
868
  }
869
 
870
  if( !empty($settings['subscribe_feature_iheart_shortcode']) && !empty($settings['iheart_url']) ) {
871
  $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('iHeartRadio', 'powerpress') ) .'</a>';
872
  }
873
 
874
- if( !empty($settings['subscribe_feature_pandora_shortcode']) && !empty($settings['pandora_url']) ) {
875
- $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Pandora', 'powerpress') ) .'</a>';
876
- }
877
-
878
- if( !empty($settings['subscribe_feature_deezer_shortcode']) && !empty($settings['deezer_url']) ) {
879
-
880
- $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Deezer', 'powerpress') ) .'</a>';
881
  }
882
 
883
- if( !empty($settings['subscribe_feature_amazon_shortcode']) && !empty($settings['amazon_url']) ) {
884
 
885
- $html .= '<a href="'. esc_url( $settings['amazon_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-amazon" title="'. esc_attr( __('Subscribe on Amazon Music', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Amazon Music', 'powerpress') ) .'</a>';
886
  }
887
 
888
  if( !empty($settings['subscribe_feature_pcindex_shortcode']) && !empty($settings['pcindex_url']) ) {
@@ -896,6 +915,16 @@ function powerpress_do_subscribe_widget($settings, $PowerPressSettings)
896
  $html .= '<a href="'. esc_url( $email_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-email" title="'. esc_attr( __('Subscribe by Email', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('by Email', 'powerpress') ) .'</a>';
897
  }
898
 
 
 
 
 
 
 
 
 
 
 
899
  //$html .= var_dump($settings, true);
900
 
901
 
@@ -954,7 +983,7 @@ function powerpress_do_subscribe_sidebar_widget($settings)
954
  }
955
  $html = '';
956
  $html .= '<div class="pp-ssb-widget pp-ssb-widget-'. esc_attr($settings['style']) . $important_tags_class .'">';
957
- if( !empty($settings['itunes_url']) ) {
958
  $html .= '<a href="'. esc_url( $settings['itunes_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-itunes" title="'. esc_attr( __('Subscribe on Apple Podcasts', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Apple Podcasts', 'powerpress') ) .'</span></a>';
959
  }
960
 
@@ -973,29 +1002,14 @@ function powerpress_do_subscribe_sidebar_widget($settings)
973
  $html .= '<a href="'. esc_url( $settings['spotify_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-spotify" title="'. esc_attr( __('Subscribe on Spotify', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Spotify', 'powerpress') ) .'</span></a>';
974
  }
975
 
976
- if( !empty($settings['subscribe_feature_tunein_sidebar']) && !empty($settings['tunein_url']) ) {
977
- $settings['tunein_url'] = trim($settings['tunein_url']);
978
- $html .= '<a href="'. esc_url( $settings['tunein_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-tunein" title="'. esc_attr( __('Subscribe on TuneIn', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('TuneIn', 'powerpress') ) .'</span></a>';
979
  }
980
 
981
- if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) && !empty($settings['subscribe_feature_android_sidebar']) ) {
982
- $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
983
- $html .= '<a href="'. esc_url( $android_url ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-android" title="'. esc_attr( __('Subscribe on Android', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Android', 'powerpress') ) .'</span></a>';
984
- }
985
-
986
- if( !empty($settings['subscribe_feature_stitcher_sidebar']) && !empty($settings['stitcher_url']) ) {
987
- $settings['stitcher_url'] = trim($settings['stitcher_url']);
988
- $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Stitcher', 'powerpress') ) .'</span></a>';
989
- }
990
-
991
- if( !empty($settings['subscribe_feature_blubrry_sidebar']) && !empty($settings['blubrry_url']) ) {
992
- $settings['blubrry_url'] = trim($settings['blubrry_url']);
993
- $html .= '<a href="'. esc_url( $settings['blubrry_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-blubrry" title="'. esc_attr( __('Subscribe on Blubrry', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Blubrry', 'powerpress') ) .'</span></a>';
994
- }
995
-
996
- if( !empty($settings['subscribe_feature_iheart_sidebar']) && !empty($settings['iheart_url']) ) {
997
- $settings['iheart_url'] = trim($settings['iheart_url']);
998
- $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('iHeartRadio', 'powerpress') ) .'</span></a>';
999
  }
1000
 
1001
  if( !empty($settings['subscribe_feature_pandora_sidebar']) && !empty($settings['pandora_url']) ) {
@@ -1003,14 +1017,19 @@ function powerpress_do_subscribe_sidebar_widget($settings)
1003
  $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Pandora', 'powerpress') ) .'</span></a>';
1004
  }
1005
 
1006
- if( !empty($settings['subscribe_feature_deezer_sidebar']) && !empty($settings['deezer_url']) ) {
1007
- $settings['deezer_url'] = trim($settings['deezer_url']);
1008
- $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Deezer', 'powerpress') ) .'</span></a>';
1009
  }
1010
 
1011
- if( !empty($settings['subscribe_feature_amazon_sidebar']) && !empty($settings['amazon_url']) ) {
1012
- $settings['amazon_url'] = trim($settings['amazon_url']);
1013
- $html .= '<a href="'. esc_url( $settings['amazon_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-amazon" title="'. esc_attr( __('Subscribe on Amazon Music', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Amazon Music', 'powerpress') ) .'</span></a>';
 
 
 
 
 
1014
  }
1015
 
1016
  if( !empty($settings['subscribe_feature_pcindex_sidebar']) && !empty($settings['pcindex_url']) ) {
@@ -1025,6 +1044,16 @@ function powerpress_do_subscribe_sidebar_widget($settings)
1025
  }
1026
  }
1027
 
 
 
 
 
 
 
 
 
 
 
1028
  $html .= '<a href="'. esc_url( $settings['feed_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-rss" title="'. esc_attr( __('Subscribe via RSS', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('RSS', 'powerpress') ) .'</span></a>';
1029
 
1030
 
129
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
130
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
131
  $Settings['image_url'] = $Settings['itunes_image'];
 
132
  $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
133
+ $Settings['subscribe_feature_apple'] = (isset($GeneralSettings['subscribe_feature_apple']) ? $GeneralSettings['subscribe_feature_apple'] : true );
134
  $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
135
  $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
136
  $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
143
  $Settings['subscribe_feature_amazon'] = (isset($GeneralSettings['subscribe_feature_amazon']) ? $GeneralSettings['subscribe_feature_amazon'] : false );
144
  $Settings['subscribe_feature_pcindex'] = (isset($GeneralSettings['subscribe_feature_pcindex']) ? $GeneralSettings['subscribe_feature_pcindex'] : false );
145
  $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
146
+ $Settings['subscribe_feature_apple_shortcode'] = (isset($GeneralSettings['subscribe_feature_apple_shortcode']) ? $GeneralSettings['subscribe_feature_apple_shortcode'] : true );
147
  $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
148
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
149
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
156
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($GeneralSettings['subscribe_feature_amazon_shortcode']) ? $GeneralSettings['subscribe_feature_amazon_shortcode'] : true );
157
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($GeneralSettings['subscribe_feature_pcindex_shortcode']) ? $GeneralSettings['subscribe_feature_pcindex_shortcode'] : true );
158
  $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
159
+ $Settings['subscribe_feature_apple_sidebar'] = (isset($GeneralSettings['subscribe_feature_apple_sidebar']) ? $GeneralSettings['subscribe_feature_apple_sidebar'] : true );
160
  $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
161
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
162
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
207
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
208
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
209
  $Settings['image_url'] = $Settings['itunes_image'];
 
210
  $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
211
+ $Settings['subscribe_feature_apple'] = (isset($GeneralSettings['subscribe_feature_apple']) ? $GeneralSettings['subscribe_feature_apple'] : true );
212
  $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
213
  $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
214
  $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
221
  $Settings['subscribe_feature_amazon'] = (isset($GeneralSettings['subscribe_feature_amazon']) ? $GeneralSettings['subscribe_feature_amazon'] : false );
222
  $Settings['subscribe_feature_pcindex'] = (isset($GeneralSettings['subscribe_feature_pcindex']) ? $GeneralSettings['subscribe_feature_pcindex'] : false );
223
  $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
224
+ $Settings['subscribe_feature_apple_shortcode'] = (isset($GeneralSettings['subscribe_feature_apple_shortcode']) ? $GeneralSettings['subscribe_feature_apple_shortcode'] : true );
225
  $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
226
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
227
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
234
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($GeneralSettings['subscribe_feature_amazon_shortcode']) ? $GeneralSettings['subscribe_feature_amazon_shortcode'] : true );
235
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($GeneralSettings['subscribe_feature_pcindex_shortcode']) ? $GeneralSettings['subscribe_feature_pcindex_shortcode'] : true );
236
  $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
237
+ $Settings['subscribe_feature_apple_sidebar'] = (isset($GeneralSettings['subscribe_feature_apple_sidebar']) ? $GeneralSettings['subscribe_feature_apple_sidebar'] : true );
238
  $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
239
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
240
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
295
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
296
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
297
  $Settings['image_url'] = $Settings['itunes_image'];
 
298
  $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
299
+ $Settings['subscribe_feature_apple'] = (isset($GeneralSettings['subscribe_feature_apple']) ? $GeneralSettings['subscribe_feature_apple'] : true );
300
  $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
301
  $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
302
  $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
309
  $Settings['subscribe_feature_amazon'] = (isset($GeneralSettings['subscribe_feature_amazon']) ? $GeneralSettings['subscribe_feature_amazon'] : false );
310
  $Settings['subscribe_feature_pcindex'] = (isset($GeneralSettings['subscribe_feature_pcindex']) ? $GeneralSettings['subscribe_feature_pcindex'] : false );
311
  $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
312
+ $Settings['subscribe_feature_apple_shortcode'] = (isset($GeneralSettings['subscribe_feature_apple_shortcode']) ? $GeneralSettings['subscribe_feature_apple_shortcode'] : true );
313
  $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
314
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
315
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
322
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($GeneralSettings['subscribe_feature_amazon_shortcode']) ? $GeneralSettings['subscribe_feature_amazon_shortcode'] : true );
323
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($GeneralSettings['subscribe_feature_pcindex_shortcode']) ? $GeneralSettings['subscribe_feature_pcindex_shortcode'] : true );
324
  $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
325
+ $Settings['subscribe_feature_apple_sidebar'] = (isset($GeneralSettings['subscribe_feature_apple_sidebar']) ? $GeneralSettings['subscribe_feature_apple_sidebar'] : true );
326
  $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
327
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
328
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
367
  $Settings['subscribe_page_url'] = powerpresssubscribe_get_subscribe_page($Settings);
368
  $Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
369
  $Settings['image_url'] = $Settings['itunes_image'];
 
370
  $Settings['subscribe_feature_email'] = (isset($GeneralSettings['subscribe_feature_email']) ? $GeneralSettings['subscribe_feature_email'] : false );
371
+ $Settings['subscribe_feature_apple'] = (isset($GeneralSettings['subscribe_feature_apple']) ? $GeneralSettings['subscribe_feature_apple'] : true );
372
  $Settings['subscribe_feature_gp'] = (isset($GeneralSettings['subscribe_feature_gp']) ? $GeneralSettings['subscribe_feature_gp'] : false );
373
  $Settings['subscribe_feature_stitcher'] = (isset($GeneralSettings['subscribe_feature_stitcher']) ? $GeneralSettings['subscribe_feature_stitcher'] : false );
374
  $Settings['subscribe_feature_tunein'] = (isset($GeneralSettings['subscribe_feature_tunein']) ? $GeneralSettings['subscribe_feature_tunein'] : false );
381
  $Settings['subscribe_feature_amazon'] = (isset($GeneralSettings['subscribe_feature_amazon']) ? $GeneralSettings['subscribe_feature_amazon'] : false );
382
  $Settings['subscribe_feature_pcindex'] = (isset($GeneralSettings['subscribe_feature_pcindex']) ? $GeneralSettings['subscribe_feature_pcindex'] : false );
383
  $Settings['subscribe_feature_email_shortcode'] = (isset($GeneralSettings['subscribe_feature_email_shortcode']) ? $GeneralSettings['subscribe_feature_email_shortcode'] : true );
384
+ $Settings['subscribe_feature_apple_shortcode'] = (isset($GeneralSettings['subscribe_feature_apple_shortcode']) ? $GeneralSettings['subscribe_feature_apple_shortcode'] : true );
385
  $Settings['subscribe_feature_gp_shortcode'] = (isset($GeneralSettings['subscribe_feature_gp_shortcode']) ? $GeneralSettings['subscribe_feature_gp_shortcode'] : true );
386
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($GeneralSettings['subscribe_feature_stitcher_shortcode']) ? $GeneralSettings['subscribe_feature_stitcher_shortcode'] : true );
387
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($GeneralSettings['subscribe_feature_tunein_shortcode']) ? $GeneralSettings['subscribe_feature_tunein_shortcode'] : true );
394
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($GeneralSettings['subscribe_feature_amazon_shortcode']) ? $GeneralSettings['subscribe_feature_amazon_shortcode'] : true );
395
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($GeneralSettings['subscribe_feature_pcindex_shortcode']) ? $GeneralSettings['subscribe_feature_pcindex_shortcode'] : true );
396
  $Settings['subscribe_feature_email_sidebar'] = (isset($GeneralSettings['subscribe_feature_email_sidebar']) ? $GeneralSettings['subscribe_feature_email_sidebar'] : true );
397
+ $Settings['subscribe_feature_apple_sidebar'] = (isset($GeneralSettings['subscribe_feature_apple_sidebar']) ? $GeneralSettings['subscribe_feature_apple_sidebar'] : true );
398
  $Settings['subscribe_feature_gp_sidebar'] = (isset($GeneralSettings['subscribe_feature_gp_sidebar']) ? $GeneralSettings['subscribe_feature_gp_sidebar'] : true );
399
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($GeneralSettings['subscribe_feature_stitcher_sidebar']) ? $GeneralSettings['subscribe_feature_stitcher_sidebar'] : false );
400
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($GeneralSettings['subscribe_feature_tunein_sidebar']) ? $GeneralSettings['subscribe_feature_tunein_sidebar'] : false );
415
  if( !empty($FeedSettings['premium']) ) {
416
  $Settings['subscribe_feature_email'] = false;
417
  $Settings['subscribe_feature_gp'] = false;
418
+ $Settings['subscribe_feature_apple'] = false;
419
  $Settings['subscribe_feature_stitcher'] = false;
420
  $Settings['subscribe_feature_tunein'] = false;
421
  $Settings['subscribe_feature_spotify'] = false;
427
  $Settings['subscribe_feature_amazon'] = false;
428
  $Settings['subscribe_feature_pcindex'] = false;
429
  $Settings['subscribe_feature_email_shortcode'] = false;
430
+ $Settings['subscribe_feature_apple_shortcode'] = false;
431
  $Settings['subscribe_feature_gp_shortcode'] = false;
432
  $Settings['subscribe_feature_stitcher_shortcode'] = false;
433
  $Settings['subscribe_feature_tunein_shortcode'] = false;
441
  $Settings['subscribe_feature_pcindex_shortcode'] = false;
442
  $Settings['subscribe_feature_email_sidebar'] = false;
443
  $Settings['subscribe_feature_gp_sidebar'] = false;
444
+ $Settings['subscribe_feature_apple_sidebar'] = false;
445
  $Settings['subscribe_feature_stitcher_sidebar'] = false;
446
  $Settings['subscribe_feature_tunein_sidebar'] = false;
447
  $Settings['subscribe_feature_spotify_sidebar'] = false;
488
  $itunes_url = trim($SubscribeSettings['itunes_url']);
489
 
490
  $links_array = array();
491
+ if( !empty($itunes_url) && !empty($SubscribeSettings['subscribe_feature_apple']) ) {
492
  $guid = get_the_guid();
493
  $links_array[] = "<a href=\"". htmlspecialchars( powerpresssubscribe_add_guid_to_itunes_url($itunes_url, $guid) ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_itunes\" title=\"". __('Subscribe on Apple Podcasts', 'powerpress') ."\" rel=\"nofollow\">". __('Apple Podcasts','powerpress') ."</a>".PHP_EOL_WEB;
494
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
495
 
496
+ if( !empty($SubscribeSettings['subscribe_feature_gp']) )
497
  {
498
+ if( !empty($SubscribeSettings['google_url']) )
499
+ $SubscribeSettings['googleplay_url'] =$SubscribeSettings['google_url'];
500
+ else
501
+ $SubscribeSettings['googleplay_url'] = 'https://www.google.com/podcasts?feed='. powerpress_base64_encode($feed_url);
502
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['googleplay_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_googleplay\" title=\"". __('Subscribe on Google Podcasts', 'powerpress') ."\" rel=\"nofollow\">". __('Google Podcasts','powerpress') ."</a>".PHP_EOL_WEB;
503
+ }
504
+
505
+ if( !empty($SubscribeSettings['subscribe_feature_spotify']) && !empty($SubscribeSettings['spotify_url']) )
506
+ {
507
+ $SubscribeSettings['spotify_url'] = trim($SubscribeSettings['spotify_url']);
508
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['spotify_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_spotify\" title=\"". __('Subscribe on Spotify', 'powerpress') ."\" rel=\"nofollow\">". __('Spotify','powerpress') ."</a>".PHP_EOL_WEB;
509
  }
510
 
511
  if( !empty($SubscribeSettings['subscribe_feature_amazon']) && !empty($SubscribeSettings['amazon_url']) )
512
  {
513
  $SubscribeSettings['amazon_url'] = trim($SubscribeSettings['amazon_url']);
514
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['amazon_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_amazon\" title=\"". __('Subscribe on Amazon Music', 'powerpress') ."\" rel=\"nofollow\">". __('Amazon Music','powerpress') ."</a>".PHP_EOL_WEB;
515
+ }
516
+
517
+ if( preg_match('/^(https?:\/\/)(.*)$/i', $feed_url, $matches ) && !empty($SubscribeSettings['subscribe_feature_android']) ) {
518
+ $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
519
+ $links_array[] = "<a href=\"". htmlspecialchars($android_url) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_android\" title=\"". __('Subscribe on Android', 'powerpress') ."\" rel=\"nofollow\">". __('Android','powerpress') ."</a>".PHP_EOL_WEB;
520
+ }
521
+
522
+ if( !empty($SubscribeSettings['subscribe_feature_pandora']) && !empty($SubscribeSettings['pandora_url']) )
523
+ {
524
+ $SubscribeSettings['pandora_url'] = trim($SubscribeSettings['pandora_url']);
525
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['pandora_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_pandora\" title=\"". __('Subscribe on Pandora', 'powerpress') ."\" rel=\"nofollow\">". __('Pandora','powerpress') ."</a>".PHP_EOL_WEB;
526
+ }
527
+
528
+ if( !empty($SubscribeSettings['subscribe_feature_iheart']) && !empty($SubscribeSettings['iheart_url']) )
529
+ {
530
+ $SubscribeSettings['iheart_url'] = trim($SubscribeSettings['iheart_url']);
531
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['iheart_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_iheart\" title=\"". __('Subscribe on iHeartRadio', 'powerpress') ."\" rel=\"nofollow\">". __('iHeartRadio','powerpress') ."</a>".PHP_EOL_WEB;
532
+ }
533
+
534
+ if( !empty($SubscribeSettings['subscribe_feature_stitcher']) && !empty($SubscribeSettings['stitcher_url']) )
535
+ {
536
+ $SubscribeSettings['stitcher_url'] = trim($SubscribeSettings['stitcher_url']);
537
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['stitcher_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_stitcher\" title=\"". __('Subscribe on Stitcher', 'powerpress') ."\" rel=\"nofollow\">". __('Stitcher','powerpress') ."</a>".PHP_EOL_WEB;
538
+ }
539
+
540
+ if( !empty($SubscribeSettings['subscribe_feature_blubrry']) && !empty($SubscribeSettings['blubrry_url']) )
541
+ {
542
+ $SubscribeSettings['blubrry_url'] = trim($SubscribeSettings['blubrry_url']);
543
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['blubrry_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_blubrry\" title=\"". __('Subscribe on Blubrry', 'powerpress') ."\" rel=\"nofollow\">". __('Blubrry','powerpress') ."</a>".PHP_EOL_WEB;
544
  }
545
 
546
  if( !empty($SubscribeSettings['subscribe_feature_pcindex']) && !empty($SubscribeSettings['pcindex_url']) )
548
  $SubscribeSettings['pcindex_url'] = trim($SubscribeSettings['pcindex_url']);
549
  $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['pcindex_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_pcindex\" title=\"". __('Subscribe on Podcast Index', 'powerpress') ."\" rel=\"nofollow\">". __('Podcast Index','powerpress') ."</a>".PHP_EOL_WEB;
550
  }
551
+
552
+ if( preg_match('/^(https?:\/\/)(.*)$/i', $feed_url, $matches ) && !empty($SubscribeSettings['subscribe_feature_email']) ) {
553
+ $email_url = $matches[1] . 'subscribebyemail.com/' . $matches[2];
554
+ $links_array[] = "<a href=\"" . htmlspecialchars($email_url) . "\" class=\"powerpress_link_subscribe powerpress_link_subscribe_email\" title=\"" . __('Subscribe by Email', 'powerpress') . "\" rel=\"nofollow\">" . __('Email', 'powerpress') . "</a>" . PHP_EOL_WEB;
555
+ }
556
 
557
+ if( !empty($SubscribeSettings['subscribe_feature_tunein']) && !empty($SubscribeSettings['tunein_url']) )
558
+ {
559
+ $SubscribeSettings['tunein_url'] = trim($SubscribeSettings['tunein_url']);
560
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['tunein_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_tunein\" title=\"". __('Subscribe on TuneIn', 'powerpress') ."\" rel=\"nofollow\">". __('TuneIn','powerpress') ."</a>".PHP_EOL_WEB;
561
  }
562
+
563
+ if( !empty($SubscribeSettings['subscribe_feature_deezer']) && !empty($SubscribeSettings['deezer_url']) )
564
+ {
565
+ $SubscribeSettings['deezer_url'] = trim($SubscribeSettings['deezer_url']);
566
+ $links_array[] = "<a href=\"". esc_attr($SubscribeSettings['deezer_url'] ) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_deezer\" title=\"". __('Subscribe on Deezer', 'powerpress') ."\" rel=\"nofollow\">". __('Deezer','powerpress') ."</a>".PHP_EOL_WEB;
567
+ }
568
+
569
+ $links_array[] = "<a href=\"". htmlspecialchars($feed_url) ."\" class=\"powerpress_link_subscribe powerpress_link_subscribe_rss\" title=\"". __('Subscribe via RSS', 'powerpress') ."\" rel=\"nofollow\">". __('RSS','powerpress') ."</a>".PHP_EOL_WEB;
570
 
571
  if( !empty($SubscribeSettings['subscribe_page_url']) )
572
  {
857
  $html .= '<div class="pp-sub-bx">';
858
  $html .= '<img class="pp-sub-l" src="'. esc_url( $settings['image_url'] ) .'" '. (!empty($settings['title'])?' title="'. esc_attr($settings['title']).'" ':'') .'/>';
859
  $html .= '<div class="pp-sub-btns">';
 
 
 
860
 
861
+ if( !empty($settings['itunes_url']) && !empty($settings['subscribe_feature_apple_shortcode']) ) {
862
+ $html .= '<a href="'. esc_url( $settings['itunes_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-itunes" title="'. esc_attr( __('Subscribe on Apple Podcasts', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Apple Podcasts', 'powerpress') ) .'</a>';
863
+ }
864
  // Google Podcasts
865
  $googleUrl = '';
866
+ if( !empty($settings['google_url']) )
867
  $googleUrl = $settings['google_url'];
868
  else
869
  $googleUrl = 'https://www.google.com/podcasts?feed='. powerpress_base64_encode($settings['feed_url']);
870
+ if (!empty($settings['subscribe_feature_gp_shortcode'])) {
871
+ $html .= '<a href="' . esc_url($googleUrl) . '" class="pp-sub-btn' . $settings['subscribe_widget_shape'] . ' pp-sub-gp" title="' . esc_attr(__('Subscribe on Google Podcasts', 'powerpress')) . '"><span class="pp-sub-ic"></span>' . esc_html(__('Google Podcasts', 'powerpress')) . '</a>';
872
+ }
873
 
874
  if( !empty($settings['subscribe_feature_spotify_shortcode']) && !empty($settings['spotify_url']) )
875
  {
876
  $html .= '<a href="'. esc_url( $settings['spotify_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-spotify" title="'. esc_attr( __('Subscribe on Spotify', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Spotify', 'powerpress') ) .'</a>';
877
  }
878
 
879
+ if( !empty($settings['subscribe_feature_amazon_shortcode']) && !empty($settings['amazon_url']) ) {
880
+
881
+ $html .= '<a href="'. esc_url( $settings['amazon_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-amazon" title="'. esc_attr( __('Subscribe on Amazon Music', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Amazon Music', 'powerpress') ) .'</a>';
882
  }
883
+
884
  if( !empty($settings['subscribe_feature_android_shortcode']) && preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) ) {
885
  $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
886
  $html .= '<a href="'. esc_url( $android_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-android" title="'. esc_attr( __('Subscribe on Android', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Android', 'powerpress') ) .'</a>';
887
  }
888
 
889
+ if( !empty($settings['subscribe_feature_pandora_shortcode']) && !empty($settings['pandora_url']) ) {
890
+ $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Pandora', 'powerpress') ) .'</a>';
 
 
 
 
 
 
891
  }
892
 
893
  if( !empty($settings['subscribe_feature_iheart_shortcode']) && !empty($settings['iheart_url']) ) {
894
  $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('iHeartRadio', 'powerpress') ) .'</a>';
895
  }
896
 
897
+ if( !empty($settings['subscribe_feature_stitcher_shortcode']) && !empty($settings['stitcher_url']) )
898
+ {
899
+ $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Stitcher', 'powerpress') ) .'</a>';
 
 
 
 
900
  }
901
 
902
+ if( !empty($settings['subscribe_feature_blubrry_shortcode']) && !empty($settings['blubrry_url']) ) {
903
 
904
+ $html .= '<a href="'. esc_url( $settings['blubrry_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-blubrry" title="'. esc_attr( __('Subscribe on Blubrry', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Blubrry', 'powerpress') ) .'</a>';
905
  }
906
 
907
  if( !empty($settings['subscribe_feature_pcindex_shortcode']) && !empty($settings['pcindex_url']) ) {
915
  $html .= '<a href="'. esc_url( $email_url ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-email" title="'. esc_attr( __('Subscribe by Email', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('by Email', 'powerpress') ) .'</a>';
916
  }
917
 
918
+ if( !empty($settings['subscribe_feature_tunein_shortcode']) && !empty($settings['tunein_url']) )
919
+ {
920
+ $html .= '<a href="'. esc_url( $settings['tunein_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-tunein" title="'. esc_attr( __('Subscribe on TuneIn', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('TuneIn', 'powerpress') ) .'</a>';
921
+ }
922
+
923
+ if( !empty($settings['subscribe_feature_deezer_shortcode']) && !empty($settings['deezer_url']) ) {
924
+
925
+ $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-sub-btn'.$settings['subscribe_widget_shape'].' pp-sub-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-sub-ic"></span>'. esc_html( __('Deezer', 'powerpress') ) .'</a>';
926
+ }
927
+
928
  //$html .= var_dump($settings, true);
929
 
930
 
983
  }
984
  $html = '';
985
  $html .= '<div class="pp-ssb-widget pp-ssb-widget-'. esc_attr($settings['style']) . $important_tags_class .'">';
986
+ if( !empty($settings['itunes_url']) && !empty($settings['subscribe_feature_apple_sidebar']) ) {
987
  $html .= '<a href="'. esc_url( $settings['itunes_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-itunes" title="'. esc_attr( __('Subscribe on Apple Podcasts', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Apple Podcasts', 'powerpress') ) .'</span></a>';
988
  }
989
 
1002
  $html .= '<a href="'. esc_url( $settings['spotify_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-spotify" title="'. esc_attr( __('Subscribe on Spotify', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Spotify', 'powerpress') ) .'</span></a>';
1003
  }
1004
 
1005
+ if( !empty($settings['subscribe_feature_amazon_sidebar']) && !empty($settings['amazon_url']) ) {
1006
+ $settings['amazon_url'] = trim($settings['amazon_url']);
1007
+ $html .= '<a href="'. esc_url( $settings['amazon_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-amazon" title="'. esc_attr( __('Subscribe on Amazon Music', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Amazon Music', 'powerpress') ) .'</span></a>';
1008
  }
1009
 
1010
+ if( preg_match('/^(https?:\/\/)(.*)$/i', $settings['feed_url'], $matches ) && !empty($settings['subscribe_feature_android_sidebar']) ) {
1011
+ $android_url = $matches[1] . 'subscribeonandroid.com/' . $matches[2];
1012
+ $html .= '<a href="'. esc_url( $android_url ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-android" title="'. esc_attr( __('Subscribe on Android', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Android', 'powerpress') ) .'</span></a>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1013
  }
1014
 
1015
  if( !empty($settings['subscribe_feature_pandora_sidebar']) && !empty($settings['pandora_url']) ) {
1017
  $html .= '<a href="'. esc_url( $settings['pandora_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-pandora" title="'. esc_attr( __('Subscribe on Pandora', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Pandora', 'powerpress') ) .'</span></a>';
1018
  }
1019
 
1020
+ if( !empty($settings['subscribe_feature_iheart_sidebar']) && !empty($settings['iheart_url']) ) {
1021
+ $settings['iheart_url'] = trim($settings['iheart_url']);
1022
+ $html .= '<a href="'. esc_url( $settings['iheart_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-iheartradio" title="'. esc_attr( __('Subscribe on iHeartRadio', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('iHeartRadio', 'powerpress') ) .'</span></a>';
1023
  }
1024
 
1025
+ if( !empty($settings['subscribe_feature_stitcher_sidebar']) && !empty($settings['stitcher_url']) ) {
1026
+ $settings['stitcher_url'] = trim($settings['stitcher_url']);
1027
+ $html .= '<a href="'. esc_url( $settings['stitcher_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-stitcher" title="'. esc_attr( __('Subscribe on Stitcher', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Stitcher', 'powerpress') ) .'</span></a>';
1028
+ }
1029
+
1030
+ if( !empty($settings['subscribe_feature_blubrry_sidebar']) && !empty($settings['blubrry_url']) ) {
1031
+ $settings['blubrry_url'] = trim($settings['blubrry_url']);
1032
+ $html .= '<a href="'. esc_url( $settings['blubrry_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-blubrry" title="'. esc_attr( __('Subscribe on Blubrry', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Blubrry', 'powerpress') ) .'</span></a>';
1033
  }
1034
 
1035
  if( !empty($settings['subscribe_feature_pcindex_sidebar']) && !empty($settings['pcindex_url']) ) {
1044
  }
1045
  }
1046
 
1047
+ if( !empty($settings['subscribe_feature_tunein_sidebar']) && !empty($settings['tunein_url']) ) {
1048
+ $settings['tunein_url'] = trim($settings['tunein_url']);
1049
+ $html .= '<a href="'. esc_url( $settings['tunein_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-tunein" title="'. esc_attr( __('Subscribe on TuneIn', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('TuneIn', 'powerpress') ) .'</span></a>';
1050
+ }
1051
+
1052
+ if( !empty($settings['subscribe_feature_deezer_sidebar']) && !empty($settings['deezer_url']) ) {
1053
+ $settings['deezer_url'] = trim($settings['deezer_url']);
1054
+ $html .= '<a href="'. esc_url( $settings['deezer_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-deezer" title="'. esc_attr( __('Subscribe on Deezer', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('Deezer', 'powerpress') ) .'</span></a>';
1055
+ }
1056
+
1057
  $html .= '<a href="'. esc_url( $settings['feed_url'] ) .'" class="pp-ssb-btn'.$settings['modern_style'].' '.$settings['modern_direction'].' pp-ssb-rss" title="'. esc_attr( __('Subscribe via RSS', 'powerpress') ) .'"><span class="pp-ssb-ic"></span><span class="pp-ssb-text">'. esc_html( __('RSS', 'powerpress') ) .'</span></a>';
1058
 
1059
 
powerpress.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
- Version: 8.4.3
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
@@ -36,7 +36,7 @@ if( !function_exists('add_action') ) {
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
 
39
- define('POWERPRESS_VERSION', '8.4.3' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
+ Version: 8.4.4
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
 
39
+ define('POWERPRESS_VERSION', '8.4.4' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts,
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.5
7
- Stable tag: 8.4.3
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -236,8 +236,16 @@ To install Blubrry PowerPress manually, follow these steps:
236
  = Fan of PowerPress and want to show your support? =
237
  If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
238
 
 
 
 
 
 
 
 
 
239
  = 8.4.3 =
240
- * Released 11/9/2020
241
  * Fixed text in podcast index subscribe link under player--previously said "Blubrry"
242
  * Re-added Unlink option if there is an error in Connected to Blubrry Account menu
243
 
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.5
7
+ Stable tag: 8.4.4
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
236
  = Fan of PowerPress and want to show your support? =
237
  If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
238
 
239
+ = 8.4.4 =
240
+ * Released 11/17/2020
241
+ * Re-ordered destinations to better integrate new Amazon Music and Podcast Index
242
+ * Updated the episode box so that if validation is skipped, the user doesn't have to click Edit Media to edit
243
+ * No longer forcing Apple or Google icons in any locations
244
+ * Made an adjustment for the modern Blubrry icon--was getting cut off on Chrome for Mac
245
+ * Fixed text in amazon music subscribe link under player--previously said "Blubrry"
246
+
247
  = 8.4.3 =
248
+ * Released 11/6/2020
249
  * Fixed text in podcast index subscribe link under player--previously said "Blubrry"
250
  * Re-added Unlink option if there is an error in Connected to Blubrry Account menu
251
 
views/settings_tab_destinations.php CHANGED
@@ -53,8 +53,8 @@
53
  if(empty($FeedSettings['pcindex_url']) )
54
  $FeedSettings['pcindex_url'] = '';
55
 
56
- $Settings['subscribe_feature_rss'] = (isset($General['subscribe_feature_rss']) ? $General['subscribe_feature_rss'] : true );
57
  $Settings['subscribe_feature_email'] = (isset($General['subscribe_feature_email']) ? $General['subscribe_feature_email'] : false );
 
58
  $Settings['subscribe_feature_gp'] = (isset($General['subscribe_feature_gp']) ? $General['subscribe_feature_gp'] : false );
59
  $Settings['subscribe_feature_stitcher'] = (isset($General['subscribe_feature_stitcher']) ? $General['subscribe_feature_stitcher'] : false );
60
  $Settings['subscribe_feature_tunein'] = (isset($General['subscribe_feature_tunein']) ? $General['subscribe_feature_tunein'] : false );
@@ -67,6 +67,7 @@
67
  $Settings['subscribe_feature_amazon'] = (isset($General['subscribe_feature_amazon']) ? $General['subscribe_feature_amazon'] : false );
68
  $Settings['subscribe_feature_pcindex'] = (isset($General['subscribe_feature_pcindex']) ? $General['subscribe_feature_pcindex'] : false );
69
  $Settings['subscribe_feature_email_shortcode'] = (isset($General['subscribe_feature_email_shortcode']) ? $General['subscribe_feature_email_shortcode'] : true );
 
70
  $Settings['subscribe_feature_gp_shortcode'] = (isset($General['subscribe_feature_gp_shortcode']) ? $General['subscribe_feature_gp_shortcode'] : true );
71
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($General['subscribe_feature_stitcher_shortcode']) ? $General['subscribe_feature_stitcher_shortcode'] : true );
72
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($General['subscribe_feature_tunein_shortcode']) ? $General['subscribe_feature_tunein_shortcode'] : true );
@@ -79,6 +80,7 @@
79
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($General['subscribe_feature_amazon_shortcode']) ? $General['subscribe_feature_amazon_shortcode'] : true );
80
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($General['subscribe_feature_pcindex_shortcode']) ? $General['subscribe_feature_pcindex_shortcode'] : true );
81
  $Settings['subscribe_feature_email_sidebar'] = (isset($General['subscribe_feature_email_sidebar']) ? $General['subscribe_feature_email_sidebar'] : true );
 
82
  $Settings['subscribe_feature_gp_sidebar'] = (isset($General['subscribe_feature_gp_sidebar']) ? $General['subscribe_feature_gp_sidebar'] : true );
83
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($General['subscribe_feature_stitcher_sidebar']) ? $General['subscribe_feature_stitcher_sidebar'] : false );
84
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($General['subscribe_feature_tunein_sidebar']) ? $General['subscribe_feature_tunein_sidebar'] : false );
@@ -274,16 +276,16 @@ function subscribeSetting($directory, $feed_url, $listing_url) {
274
  <button class="pp-sidenav-tablinks" id="destinations-apple-tab" onclick="sideNav(event, 'destinations-apple')"><span id="apple-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Apple', 'powerpress')); ?></span></button>
275
  <button class="pp-sidenav-tablinks" id="destinations-google-tab" onclick="sideNav(event, 'destinations-google')"><span id="google-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Google', 'powerpress')); ?></span></button>
276
  <button class="pp-sidenav-tablinks" id="destinations-spotify-tab" onclick="sideNav(event, 'destinations-spotify')"><span id="spotify-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Spotify', 'powerpress')); ?></span></button>
 
 
 
 
277
  <button class="pp-sidenav-tablinks" id="destinations-stitcher-tab" onclick="sideNav(event, 'destinations-stitcher')"><span id="stitcher-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Stitcher', 'powerpress')); ?></span></button>
278
- <button class="pp-sidenav-tablinks" id="destinations-tunein-tab" onclick="sideNav(event, 'destinations-tunein')"><span id="tunein-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('TuneIn', 'powerpress')); ?></span></button>
279
  <button class="pp-sidenav-tablinks" id="destinations-blubrry-tab" onclick="sideNav(event, 'destinations-blubrry')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/blubrry.svg" style="margin-left: 7px; margin-right: 20px;"><?php echo htmlspecialchars(__('Blubrry Directory', 'powerpress')); ?></button>
280
- <button class="pp-sidenav-tablinks" id="destinations-iheart-tab" onclick="sideNav(event, 'destinations-iheart')"><span id="iheart-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('iHeartRadio', 'powerpress')); ?></span></button>
281
- <button class="pp-sidenav-tablinks" id="destinations-deezer-tab" onclick="sideNav(event, 'destinations-deezer')"><span id="deezer-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Deezer', 'powerpress')); ?></span></button>
282
- <button class="pp-sidenav-tablinks" id="destinations-pandora-tab" onclick="sideNav(event, 'destinations-pandora')"><span id="pandora-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Pandora', 'powerpress')); ?></span></button>
283
- <button class="pp-sidenav-tablinks" id="destinations-android-tab" onclick="sideNav(event, 'destinations-android')"><span id="android-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Android', 'powerpress')); ?></span></button>
284
- <button class="pp-sidenav-tablinks" id="destinations-email-tab" onclick="sideNav(event, 'destinations-email')"><span id="email-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Email', 'powerpress')); ?></span></button>
285
- <button class="pp-sidenav-tablinks" id="destinations-amazon-tab" onclick="sideNav(event, 'destinations-amazon')"><span id="amazon-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Amazon Music', 'powerpress')); ?></span></button>
286
  <button class="pp-sidenav-tablinks" id="destinations-pcindex-tab" onclick="sideNav(event, 'destinations-pcindex')"><span id="pcindex-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Podcast Index', 'powerpress')); ?></span></button>
 
 
 
287
  <?php
288
  powerpressadmin_edit_blubrry_services($General);
289
  ?>
@@ -311,9 +313,9 @@ function subscribeSetting($directory, $feed_url, $listing_url) {
311
  <div id="destinations-apple" class="pp-sidenav-tab">
312
  <?php subscribeSetting('apple', $feed_url, $FeedSettings['itunes_url']); ?>
313
  <div class="pp-show-subscribe">
314
- <p class="pp-settings-text-smaller-margin"><input class="pp-settings-checkbox" type="checkbox" name="NULL[subscribe_feature_itunes_sidebar]" value="1" checked disabled /> <label><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
315
- <p class="pp-settings-text-smaller-margin"><input class="pp-settings-checkbox" type="checkbox" name="NULL[subscribe_feature_itunes_shortcode]" value="1" checked disabled /> <label><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
316
- <p class="pp-settings-text-smaller-margin"><input class="pp-settings-checkbox" type="checkbox" name="NULL[subscribe_feature_itunes]" value="1" checked disabled /> <label><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
317
  </div>
318
  <?php powerpress_settings_tab_footer(); ?>
319
  </div>
@@ -323,47 +325,47 @@ function subscribeSetting($directory, $feed_url, $listing_url) {
323
  <div class="pp-show-subscribe">
324
  <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_gp_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_gp_sidebar" name="General[subscribe_feature_gp_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_gp_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_gp_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
325
  <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_gp_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_gp_shortcode" name="General[subscribe_feature_gp_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_gp_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_gp_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
326
- <p class="pp-settings-text-smaller-margin"><input class="pp-settings-checkbox" type="checkbox" name="NULL[subscribe_feature_gp]" value="1" checked disabled/> <label for="subscribe_feature_gp_shortcode"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
327
  </div>
328
  <?php powerpress_settings_tab_footer(); ?>
329
  </div>
330
 
331
- <div id="destinations-stitcher" class="pp-sidenav-tab">
332
- <?php subscribeSetting('stitcher', $feed_url, $FeedSettings['stitcher_url']); ?>
333
  <div class="pp-show-subscribe">
334
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_stitcher_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_stitcher_sidebar" name="General[subscribe_feature_stitcher_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_stitcher_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
335
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_stitcher_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_stitcher_shortcode" name="General[subscribe_feature_stitcher_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_stitcher_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
336
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_stitcher]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_stitcher" name="General[subscribe_feature_stitcher]" value="1" <?php if( !empty($Settings['subscribe_feature_stitcher']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
337
  </div>
338
  <?php powerpress_settings_tab_footer(); ?>
339
  </div>
340
 
341
- <div id="destinations-tunein" class="pp-sidenav-tab">
342
- <?php subscribeSetting('tunein', $feed_url, $FeedSettings['tunein_url']); ?>
343
  <div class="pp-show-subscribe">
344
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_tunein_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_tunein_sidebar" name="General[subscribe_feature_tunein_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_tunein_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
345
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_tunein_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_tunein_shortcode" name="General[subscribe_feature_tunein_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_tunein_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
346
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_tunein]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_tunein" name="General[subscribe_feature_tunein]" value="1" <?php if( !empty($Settings['subscribe_feature_tunein']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
347
  </div>
348
  <?php powerpress_settings_tab_footer(); ?>
349
  </div>
350
 
351
- <div id="destinations-spotify" class="pp-sidenav-tab">
352
- <?php subscribeSetting('spotify', $feed_url, $FeedSettings['spotify_url']); ?>
353
  <div class="pp-show-subscribe">
354
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_spotify_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_spotify_sidebar" name="General[subscribe_feature_spotify_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_spotify_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
355
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_spotify_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_spotify_shortcode" name="General[subscribe_feature_spotify_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_spotify_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
356
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_spotify]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_spotify" name="General[subscribe_feature_spotify]" value="1" <?php if( !empty($Settings['subscribe_feature_spotify']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
357
  </div>
358
  <?php powerpress_settings_tab_footer(); ?>
359
  </div>
360
 
361
- <div id="destinations-blubrry" class="pp-sidenav-tab">
362
- <?php subscribeSetting('blubrry', $feed_url, $FeedSettings['blubrry_url']); ?>
363
  <div class="pp-show-subscribe">
364
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_blubrry_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_blubrry_sidebar" name="General[subscribe_feature_blubrry_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_blubrry_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_blubrry_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
365
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_blubrry_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_blubrry_shortcode" name="General[subscribe_feature_blubrry_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_blubrry_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_blubrry_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
366
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_blubrry]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_blubrry" name="General[subscribe_feature_blubrry]" value="1" <?php if( !empty($Settings['subscribe_feature_blubrry']) ) echo 'checked '; ?>/> <label for="subscribe_feature_blubrry"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
367
  </div>
368
  <?php powerpress_settings_tab_footer(); ?>
369
  </div>
@@ -378,32 +380,32 @@ function subscribeSetting($directory, $feed_url, $listing_url) {
378
  <?php powerpress_settings_tab_footer(); ?>
379
  </div>
380
 
381
- <div id="destinations-deezer" class="pp-sidenav-tab">
382
- <?php subscribeSetting('deezer', $feed_url, $FeedSettings['deezer_url']); ?>
383
  <div class="pp-show-subscribe">
384
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_deezer_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_deezer_sidebar" name="General[subscribe_feature_deezer_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_deezer_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
385
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_deezer_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_deezer_shortcode" name="General[subscribe_feature_deezer_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_deezer_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
386
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_deezer]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_deezer" name="General[subscribe_feature_deezer]" value="1" <?php if( !empty($Settings['subscribe_feature_deezer']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
387
  </div>
388
  <?php powerpress_settings_tab_footer(); ?>
389
  </div>
390
 
391
- <div id="destinations-pandora" class="pp-sidenav-tab">
392
- <?php subscribeSetting('pandora', $feed_url, $FeedSettings['pandora_url']); ?>
393
  <div class="pp-show-subscribe">
394
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pandora_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pandora_sidebar" name="General[subscribe_feature_pandora_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_pandora_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
395
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pandora_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pandora_shortcode" name="General[subscribe_feature_pandora_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_pandora_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
396
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pandora]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pandora" name="General[subscribe_feature_pandora]" value="1" <?php if( !empty($Settings['subscribe_feature_pandora']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
397
  </div>
398
  <?php powerpress_settings_tab_footer(); ?>
399
  </div>
400
 
401
- <div id="destinations-android" class="pp-sidenav-tab">
402
- <?php subscribeSetting('android', $feed_url, ''); ?>
403
  <div class="pp-show-subscribe">
404
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_android_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_android_sidebar" name="General[subscribe_feature_android_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_android_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_android_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
405
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_android_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_android_shortcode" name="General[subscribe_feature_android_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_android_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_android_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
406
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_android]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_android" name="General[subscribe_feature_android]" value="1" <?php if( !empty($Settings['subscribe_feature_android']) ) echo 'checked '; ?>/> <label for="subscribe_feature_android"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
407
  </div>
408
  <?php powerpress_settings_tab_footer(); ?>
409
  </div>
@@ -419,22 +421,22 @@ function subscribeSetting($directory, $feed_url, $listing_url) {
419
  <?php powerpress_settings_tab_footer(); ?>
420
  </div>
421
 
422
- <div id="destinations-amazon" class="pp-sidenav-tab">
423
- <?php subscribeSetting('amazon', $feed_url, $FeedSettings['amazon_url']); ?>
424
  <div class="pp-show-subscribe">
425
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_amazon_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_amazon_sidebar" name="General[subscribe_feature_amazon_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_amazon_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_amazon_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
426
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_amazon_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_amazon_shortcode" name="General[subscribe_feature_amazon_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_amazon_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_amazon_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
427
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_amazon]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_amazon" name="General[subscribe_feature_amazon]" value="1" <?php if( !empty($Settings['subscribe_feature_amazon']) ) echo 'checked '; ?>/> <label for="subscribe_feature_amazon"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
428
  </div>
429
  <?php powerpress_settings_tab_footer(); ?>
430
  </div>
431
 
432
- <div id="destinations-pcindex" class="pp-sidenav-tab">
433
- <?php subscribeSetting('pcindex', $feed_url, $FeedSettings['pcindex_url']); ?>
434
  <div class="pp-show-subscribe">
435
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pcindex_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pcindex_sidebar" name="General[subscribe_feature_pcindex_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_pcindex_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pcindex_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
436
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pcindex_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pcindex_shortcode" name="General[subscribe_feature_pcindex_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_pcindex_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pcindex_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
437
- <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pcindex]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pcindex" name="General[subscribe_feature_pcindex]" value="1" <?php if( !empty($Settings['subscribe_feature_pcindex']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pcindex"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
438
  </div>
439
  <?php powerpress_settings_tab_footer(); ?>
440
  </div>
53
  if(empty($FeedSettings['pcindex_url']) )
54
  $FeedSettings['pcindex_url'] = '';
55
 
 
56
  $Settings['subscribe_feature_email'] = (isset($General['subscribe_feature_email']) ? $General['subscribe_feature_email'] : false );
57
+ $Settings['subscribe_feature_apple'] = (isset($General['subscribe_feature_apple']) ? $General['subscribe_feature_apple'] : false );
58
  $Settings['subscribe_feature_gp'] = (isset($General['subscribe_feature_gp']) ? $General['subscribe_feature_gp'] : false );
59
  $Settings['subscribe_feature_stitcher'] = (isset($General['subscribe_feature_stitcher']) ? $General['subscribe_feature_stitcher'] : false );
60
  $Settings['subscribe_feature_tunein'] = (isset($General['subscribe_feature_tunein']) ? $General['subscribe_feature_tunein'] : false );
67
  $Settings['subscribe_feature_amazon'] = (isset($General['subscribe_feature_amazon']) ? $General['subscribe_feature_amazon'] : false );
68
  $Settings['subscribe_feature_pcindex'] = (isset($General['subscribe_feature_pcindex']) ? $General['subscribe_feature_pcindex'] : false );
69
  $Settings['subscribe_feature_email_shortcode'] = (isset($General['subscribe_feature_email_shortcode']) ? $General['subscribe_feature_email_shortcode'] : true );
70
+ $Settings['subscribe_feature_apple_shortcode'] = (isset($General['subscribe_feature_apple_shortcode']) ? $General['subscribe_feature_apple_shortcode'] : true );
71
  $Settings['subscribe_feature_gp_shortcode'] = (isset($General['subscribe_feature_gp_shortcode']) ? $General['subscribe_feature_gp_shortcode'] : true );
72
  $Settings['subscribe_feature_stitcher_shortcode'] = (isset($General['subscribe_feature_stitcher_shortcode']) ? $General['subscribe_feature_stitcher_shortcode'] : true );
73
  $Settings['subscribe_feature_tunein_shortcode'] = (isset($General['subscribe_feature_tunein_shortcode']) ? $General['subscribe_feature_tunein_shortcode'] : true );
80
  $Settings['subscribe_feature_amazon_shortcode'] = (isset($General['subscribe_feature_amazon_shortcode']) ? $General['subscribe_feature_amazon_shortcode'] : true );
81
  $Settings['subscribe_feature_pcindex_shortcode'] = (isset($General['subscribe_feature_pcindex_shortcode']) ? $General['subscribe_feature_pcindex_shortcode'] : true );
82
  $Settings['subscribe_feature_email_sidebar'] = (isset($General['subscribe_feature_email_sidebar']) ? $General['subscribe_feature_email_sidebar'] : true );
83
+ $Settings['subscribe_feature_apple_sidebar'] = (isset($General['subscribe_feature_apple_sidebar']) ? $General['subscribe_feature_apple_sidebar'] : true );
84
  $Settings['subscribe_feature_gp_sidebar'] = (isset($General['subscribe_feature_gp_sidebar']) ? $General['subscribe_feature_gp_sidebar'] : true );
85
  $Settings['subscribe_feature_stitcher_sidebar'] = (isset($General['subscribe_feature_stitcher_sidebar']) ? $General['subscribe_feature_stitcher_sidebar'] : false );
86
  $Settings['subscribe_feature_tunein_sidebar'] = (isset($General['subscribe_feature_tunein_sidebar']) ? $General['subscribe_feature_tunein_sidebar'] : false );
276
  <button class="pp-sidenav-tablinks" id="destinations-apple-tab" onclick="sideNav(event, 'destinations-apple')"><span id="apple-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Apple', 'powerpress')); ?></span></button>
277
  <button class="pp-sidenav-tablinks" id="destinations-google-tab" onclick="sideNav(event, 'destinations-google')"><span id="google-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Google', 'powerpress')); ?></span></button>
278
  <button class="pp-sidenav-tablinks" id="destinations-spotify-tab" onclick="sideNav(event, 'destinations-spotify')"><span id="spotify-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Spotify', 'powerpress')); ?></span></button>
279
+ <button class="pp-sidenav-tablinks" id="destinations-amazon-tab" onclick="sideNav(event, 'destinations-amazon')"><span id="amazon-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Amazon Music', 'powerpress')); ?></span></button>
280
+ <button class="pp-sidenav-tablinks" id="destinations-android-tab" onclick="sideNav(event, 'destinations-android')"><span id="android-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Android', 'powerpress')); ?></span></button>
281
+ <button class="pp-sidenav-tablinks" id="destinations-pandora-tab" onclick="sideNav(event, 'destinations-pandora')"><span id="pandora-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Pandora', 'powerpress')); ?></span></button>
282
+ <button class="pp-sidenav-tablinks" id="destinations-iheart-tab" onclick="sideNav(event, 'destinations-iheart')"><span id="iheart-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('iHeartRadio', 'powerpress')); ?></span></button>
283
  <button class="pp-sidenav-tablinks" id="destinations-stitcher-tab" onclick="sideNav(event, 'destinations-stitcher')"><span id="stitcher-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Stitcher', 'powerpress')); ?></span></button>
 
284
  <button class="pp-sidenav-tablinks" id="destinations-blubrry-tab" onclick="sideNav(event, 'destinations-blubrry')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/blubrry.svg" style="margin-left: 7px; margin-right: 20px;"><?php echo htmlspecialchars(__('Blubrry Directory', 'powerpress')); ?></button>
 
 
 
 
 
 
285
  <button class="pp-sidenav-tablinks" id="destinations-pcindex-tab" onclick="sideNav(event, 'destinations-pcindex')"><span id="pcindex-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Podcast Index', 'powerpress')); ?></span></button>
286
+ <button class="pp-sidenav-tablinks" id="destinations-email-tab" onclick="sideNav(event, 'destinations-email')"><span id="email-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Email', 'powerpress')); ?></span></button>
287
+ <button class="pp-sidenav-tablinks" id="destinations-tunein-tab" onclick="sideNav(event, 'destinations-tunein')"><span id="tunein-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('TuneIn', 'powerpress')); ?></span></button>
288
+ <button class="pp-sidenav-tablinks" id="destinations-deezer-tab" onclick="sideNav(event, 'destinations-deezer')"><span id="deezer-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Deezer', 'powerpress')); ?></span></button>
289
  <?php
290
  powerpressadmin_edit_blubrry_services($General);
291
  ?>
313
  <div id="destinations-apple" class="pp-sidenav-tab">
314
  <?php subscribeSetting('apple', $feed_url, $FeedSettings['itunes_url']); ?>
315
  <div class="pp-show-subscribe">
316
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_apple_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_apple_sidebar" name="General[subscribe_feature_apple_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_apple_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_apple_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
317
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_apple_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_apple_shortcode" name="General[subscribe_feature_apple_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_apple_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_apple_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
318
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_apple]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_apple" name="General[subscribe_feature_apple]" value="1" <?php if( !empty($Settings['subscribe_feature_apple']) ) echo 'checked '; ?>/> <label for="subscribe_feature_apple"><?php echo __('Show link under player', 'powerpress'); ?></label></p>
319
  </div>
320
  <?php powerpress_settings_tab_footer(); ?>
321
  </div>
325
  <div class="pp-show-subscribe">
326
  <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_gp_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_gp_sidebar" name="General[subscribe_feature_gp_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_gp_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_gp_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
327
  <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_gp_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_gp_shortcode" name="General[subscribe_feature_gp_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_gp_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_gp_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
328
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_gp]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_gp" name="General[subscribe_feature_gp]" value="1" <?php if( !empty($Settings['subscribe_feature_gp']) ) echo 'checked '; ?>/> <label for="subscribe_feature_gp"><?php echo __('Show link under player', 'powerpress'); ?></label></p>
329
  </div>
330
  <?php powerpress_settings_tab_footer(); ?>
331
  </div>
332
 
333
+ <div id="destinations-spotify" class="pp-sidenav-tab">
334
+ <?php subscribeSetting('spotify', $feed_url, $FeedSettings['spotify_url']); ?>
335
  <div class="pp-show-subscribe">
336
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_spotify_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_spotify_sidebar" name="General[subscribe_feature_spotify_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_spotify_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
337
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_spotify_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_spotify_shortcode" name="General[subscribe_feature_spotify_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_spotify_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
338
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_spotify]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_spotify" name="General[subscribe_feature_spotify]" value="1" <?php if( !empty($Settings['subscribe_feature_spotify']) ) echo 'checked '; ?>/> <label for="subscribe_feature_spotify"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
339
  </div>
340
  <?php powerpress_settings_tab_footer(); ?>
341
  </div>
342
 
343
+ <div id="destinations-amazon" class="pp-sidenav-tab">
344
+ <?php subscribeSetting('amazon', $feed_url, $FeedSettings['amazon_url']); ?>
345
  <div class="pp-show-subscribe">
346
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_amazon_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_amazon_sidebar" name="General[subscribe_feature_amazon_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_amazon_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_amazon_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
347
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_amazon_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_amazon_shortcode" name="General[subscribe_feature_amazon_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_amazon_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_amazon_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
348
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_amazon]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_amazon" name="General[subscribe_feature_amazon]" value="1" <?php if( !empty($Settings['subscribe_feature_amazon']) ) echo 'checked '; ?>/> <label for="subscribe_feature_amazon"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
349
  </div>
350
  <?php powerpress_settings_tab_footer(); ?>
351
  </div>
352
 
353
+ <div id="destinations-android" class="pp-sidenav-tab">
354
+ <?php subscribeSetting('android', $feed_url, ''); ?>
355
  <div class="pp-show-subscribe">
356
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_android_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_android_sidebar" name="General[subscribe_feature_android_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_android_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_android_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
357
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_android_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_android_shortcode" name="General[subscribe_feature_android_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_android_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_android_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
358
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_android]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_android" name="General[subscribe_feature_android]" value="1" <?php if( !empty($Settings['subscribe_feature_android']) ) echo 'checked '; ?>/> <label for="subscribe_feature_android"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
359
  </div>
360
  <?php powerpress_settings_tab_footer(); ?>
361
  </div>
362
 
363
+ <div id="destinations-pandora" class="pp-sidenav-tab">
364
+ <?php subscribeSetting('pandora', $feed_url, $FeedSettings['pandora_url']); ?>
365
  <div class="pp-show-subscribe">
366
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pandora_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pandora_sidebar" name="General[subscribe_feature_pandora_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_pandora_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
367
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pandora_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pandora_shortcode" name="General[subscribe_feature_pandora_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_pandora_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
368
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pandora]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pandora" name="General[subscribe_feature_pandora]" value="1" <?php if( !empty($Settings['subscribe_feature_pandora']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pandora"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
369
  </div>
370
  <?php powerpress_settings_tab_footer(); ?>
371
  </div>
380
  <?php powerpress_settings_tab_footer(); ?>
381
  </div>
382
 
383
+ <div id="destinations-stitcher" class="pp-sidenav-tab">
384
+ <?php subscribeSetting('stitcher', $feed_url, $FeedSettings['stitcher_url']); ?>
385
  <div class="pp-show-subscribe">
386
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_stitcher_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_stitcher_sidebar" name="General[subscribe_feature_stitcher_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_stitcher_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
387
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_stitcher_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_stitcher_shortcode" name="General[subscribe_feature_stitcher_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_stitcher_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
388
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_stitcher]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_stitcher" name="General[subscribe_feature_stitcher]" value="1" <?php if( !empty($Settings['subscribe_feature_stitcher']) ) echo 'checked '; ?>/> <label for="subscribe_feature_stitcher"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
389
  </div>
390
  <?php powerpress_settings_tab_footer(); ?>
391
  </div>
392
 
393
+ <div id="destinations-blubrry" class="pp-sidenav-tab">
394
+ <?php subscribeSetting('blubrry', $feed_url, $FeedSettings['blubrry_url']); ?>
395
  <div class="pp-show-subscribe">
396
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_blubrry_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_blubrry_sidebar" name="General[subscribe_feature_blubrry_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_blubrry_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_blubrry_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
397
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_blubrry_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_blubrry_shortcode" name="General[subscribe_feature_blubrry_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_blubrry_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_blubrry_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
398
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_blubrry]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_blubrry" name="General[subscribe_feature_blubrry]" value="1" <?php if( !empty($Settings['subscribe_feature_blubrry']) ) echo 'checked '; ?>/> <label for="subscribe_feature_blubrry"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
399
  </div>
400
  <?php powerpress_settings_tab_footer(); ?>
401
  </div>
402
 
403
+ <div id="destinations-pcindex" class="pp-sidenav-tab">
404
+ <?php subscribeSetting('pcindex', $feed_url, $FeedSettings['pcindex_url']); ?>
405
  <div class="pp-show-subscribe">
406
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pcindex_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pcindex_sidebar" name="General[subscribe_feature_pcindex_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_pcindex_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pcindex_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
407
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pcindex_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pcindex_shortcode" name="General[subscribe_feature_pcindex_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_pcindex_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pcindex_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
408
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_pcindex]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_pcindex" name="General[subscribe_feature_pcindex]" value="1" <?php if( !empty($Settings['subscribe_feature_pcindex']) ) echo 'checked '; ?>/> <label for="subscribe_feature_pcindex"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
409
  </div>
410
  <?php powerpress_settings_tab_footer(); ?>
411
  </div>
421
  <?php powerpress_settings_tab_footer(); ?>
422
  </div>
423
 
424
+ <div id="destinations-tunein" class="pp-sidenav-tab">
425
+ <?php subscribeSetting('tunein', $feed_url, $FeedSettings['tunein_url']); ?>
426
  <div class="pp-show-subscribe">
427
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_tunein_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_tunein_sidebar" name="General[subscribe_feature_tunein_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_tunein_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
428
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_tunein_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_tunein_shortcode" name="General[subscribe_feature_tunein_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_tunein_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
429
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_tunein]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_tunein" name="General[subscribe_feature_tunein]" value="1" <?php if( !empty($Settings['subscribe_feature_tunein']) ) echo 'checked '; ?>/> <label for="subscribe_feature_tunein"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
430
  </div>
431
  <?php powerpress_settings_tab_footer(); ?>
432
  </div>
433
 
434
+ <div id="destinations-deezer" class="pp-sidenav-tab">
435
+ <?php subscribeSetting('deezer', $feed_url, $FeedSettings['deezer_url']); ?>
436
  <div class="pp-show-subscribe">
437
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_deezer_sidebar]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_deezer_sidebar" name="General[subscribe_feature_deezer_sidebar]" value="1" <?php if( !empty($Settings['subscribe_feature_deezer_sidebar']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer_sidebar"><?php echo __('Show link in subscribe sidebar', 'powerpress'); ?></label></p>
438
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_deezer_shortcode]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_deezer_shortcode" name="General[subscribe_feature_deezer_shortcode]" value="1" <?php if( !empty($Settings['subscribe_feature_deezer_shortcode']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer_shortcode"><?php echo __('Show link on subscribe page', 'powerpress'); ?></label></p>
439
+ <p class="pp-settings-text-smaller-margin"><input type="hidden" name="General[subscribe_feature_deezer]" value="0" /><input class="pp-settings-checkbox" type="checkbox" id="subscribe_feature_deezer" name="General[subscribe_feature_deezer]" value="1" <?php if( !empty($Settings['subscribe_feature_deezer']) ) echo 'checked '; ?>/> <label for="subscribe_feature_deezer"><?php echo __('Show link under media player', 'powerpress'); ?></label></p>
440
  </div>
441
  <?php powerpress_settings_tab_footer(); ?>
442
  </div>