Version Description
- Released 05/03/2021
- Add Blubrry stats widget to WordPress dashboard and PowerPress settings
- Remove deprecated Post to Social feature
- Small bug fixes
Changes to links and Blubrry messages
8.5.8 =
Released on 04/29/2021
Fixed a PowerPress uploader bug introduced in a chrome update
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 8.6 |
Comparing to | |
See all releases |
Code changes from version 8.5.8 to 8.6
- admin/networks.php +1 -1
- class.powerpress_onboarding.php +4 -0
- css/onboarding.css +16 -1
- css/onboarding.min.css +1 -1
- css/settings.css +82 -16
- css/settings.min.css +1 -1
- css/style.css +102 -0
- css/style.min.css +1 -1
- images/Blubrry2017Logo-LOWERCASE.svg +1 -0
- images/Blubrry_stats_hero_2a.jpg +0 -0
- images/audio_lines.svg +1 -0
- images/audio_lines_pink.svg +1 -0
- images/down_arrow.svg +1 -0
- images/down_arrow_pink.svg +1 -0
- images/up_arrow.svg +1 -0
- images/up_arrow_pink.svg +1 -0
- js/admin.js +37 -0
- powerpress-player.php +49 -50
- powerpress.php +95 -107
- powerpressadmin-basic.php +68 -42
- powerpressadmin-dashboard.php +6 -131
- powerpressadmin-defaults.php +2 -2
- powerpressadmin-editfeed.php +51 -38
- powerpressadmin-jquery.php +2 -35
- powerpressadmin-migrate.php +1 -1
- powerpressadmin-rss-import.php +1 -1
- powerpressadmin-search.php +1 -1
- powerpressadmin-stats-widget.class.php +534 -0
- powerpressadmin-tags.php +2 -2
- powerpressadmin-tools.php +4 -4
- powerpressadmin.php +36 -18
- readme.txt +29 -22
- views/onboarding/blubrry_signin.php +1 -1
- views/onboarding/createepisode.php +9 -4
- views/onboarding/nohost.php +1 -1
- views/onboarding/show_basics.php +1 -1
- views/settings_tab_appearance.php +7 -7
- views/settings_tab_destinations.php +31 -25
admin/networks.php
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
</table>
|
33 |
</div>
|
34 |
<?php } else {?>
|
35 |
-
<h2>Sorry, we couldn't find a Network associated with your account. Learn more about the Network feature <a href="https://
|
36 |
<?php } ?>
|
37 |
<br>
|
38 |
|
32 |
</table>
|
33 |
</div>
|
34 |
<?php } else {?>
|
35 |
+
<h2>Sorry, we couldn't find a Network associated with your account. Learn more about the Network feature <a href="https://blubrry.com/services/podcast-network-plugin/">here</a>, or contact our support team <a href="https://blubrry.com/contact/">here.</a></h2>
|
36 |
<?php } ?>
|
37 |
<br>
|
38 |
|
class.powerpress_onboarding.php
CHANGED
@@ -18,6 +18,7 @@ class PowerpressOnboarding
|
|
18 |
public function router($GET) {
|
19 |
if(empty($GET['step'])) {
|
20 |
include 'views/onboarding/start.php';
|
|
|
21 |
}
|
22 |
else {
|
23 |
switch ($GET['step']) {
|
@@ -29,15 +30,18 @@ class PowerpressOnboarding
|
|
29 |
break;
|
30 |
case 'showBasics':
|
31 |
include 'views/onboarding/show_basics.php';
|
|
|
32 |
break;
|
33 |
case 'createEpisode':
|
34 |
include 'views/onboarding/createepisode.php';
|
|
|
35 |
break;
|
36 |
case 'wantStats':
|
37 |
include 'views/onboarding/want_stats.php';
|
38 |
break;
|
39 |
default:
|
40 |
include 'views/onboarding/start.php';
|
|
|
41 |
break;
|
42 |
}
|
43 |
}
|
18 |
public function router($GET) {
|
19 |
if(empty($GET['step'])) {
|
20 |
include 'views/onboarding/start.php';
|
21 |
+
marketing_footer(true);
|
22 |
}
|
23 |
else {
|
24 |
switch ($GET['step']) {
|
30 |
break;
|
31 |
case 'showBasics':
|
32 |
include 'views/onboarding/show_basics.php';
|
33 |
+
marketing_footer();
|
34 |
break;
|
35 |
case 'createEpisode':
|
36 |
include 'views/onboarding/createepisode.php';
|
37 |
+
marketing_footer(true);
|
38 |
break;
|
39 |
case 'wantStats':
|
40 |
include 'views/onboarding/want_stats.php';
|
41 |
break;
|
42 |
default:
|
43 |
include 'views/onboarding/start.php';
|
44 |
+
marketing_footer(true);
|
45 |
break;
|
46 |
}
|
47 |
}
|
css/onboarding.css
CHANGED
@@ -27,7 +27,7 @@ body {
|
|
27 |
.pp_container {
|
28 |
position: relative;
|
29 |
max-width: 80rem;
|
30 |
-
margin: 2rem auto;
|
31 |
background: #fff;
|
32 |
width: 100%;
|
33 |
padding: 3rem 5rem;
|
@@ -77,6 +77,21 @@ body {
|
|
77 |
width: 32%;
|
78 |
}
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
@media (max-width: 400px) {
|
81 |
.pp_.flex-grid,
|
82 |
.pp_.flex-grid-thirds {
|
27 |
.pp_container {
|
28 |
position: relative;
|
29 |
max-width: 80rem;
|
30 |
+
margin: 2rem auto 1rem auto;
|
31 |
background: #fff;
|
32 |
width: 100%;
|
33 |
padding: 3rem 5rem;
|
77 |
width: 32%;
|
78 |
}
|
79 |
|
80 |
+
@media (max-width: 1350px) {
|
81 |
+
#pp-create-episode .btn-caption-container {
|
82 |
+
height: 80%;
|
83 |
+
}
|
84 |
+
}
|
85 |
+
|
86 |
+
@media (max-width: 1100px) {
|
87 |
+
#pp-create-episode .btn-caption-container {
|
88 |
+
height: 88%;
|
89 |
+
}
|
90 |
+
#pp-create-episode .pp_image {
|
91 |
+
height: 25%;
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
@media (max-width: 400px) {
|
96 |
.pp_.flex-grid,
|
97 |
.pp_.flex-grid-thirds {
|
css/onboarding.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body,body *,input,select,textarea{font-family:Roboto,sans-serif;box-sizing:border-box}body ::after,body ::before,body::after,body::before,input::after,input::before,select::after,select::before,textarea::after,textarea::before{box-sizing:border-box}body{background-image:-webkit-linear-gradient(top,#f2f2f2,#e6e6e6)}.pp_container{position:relative;max-width:80rem;margin:2rem auto;background:#fff;width:100%;padding:3rem 5rem;border-radius:4px}.pp_container::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2);-webkit-transform:scale(.98);transform:scale(.98);-webkit-transition:-webkit-transform .28s ease-in-out;transition:-webkit-transform .28s ease-in-out;transition:transform .28s ease-in-out;transition:transform .28s ease-in-out,-webkit-transform .28s ease-in-out;z-index:-1}.pp_container:hover::before{-webkit-transform:scale(1);transform:scale(1)}.pp_button-container{text-align:center}.pp_flex-grid{display:flex}.pp_flex-grid .pp_col{flex:1;margin:0 25px}.pp_flex-grid-thirds{display:flex;justify-content:space-between}.pp_flex-grid-thirds .pp_col{width:32%}@media (max-width:400px){.pp_.flex-grid,.pp_.flex-grid-thirds{display:block}.pp_col{width:100%;margin:0 0 10px 0}}*{box-sizing:border-box}.pp_.flex-grid{margin:0 0 20px 0}.pp_.col{background:salmon;padding:20px}h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.5;margin:0 0 .5rem 0;color:#333}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit;text-decoration:none}h2{font-size:1.5rem}h3{font-size:1.35rem}h4{font-size:1.15rem}h5{font-size:.9rem}h6{font-size:.7rem}.pp_small{font-size:10px;color:#888}hr{border:0;border-bottom:solid 1px;margin:2rem 0}hr.major{margin:3rem 0}.pp_align-left{text-align:left}.pp_align-center{text-align:center}.pp_align-right{text-align:right}input,select,textarea{color:#555}a{color:#8a4680}b,strong{color:#555}blockquote{border-left-color:rgba(144,144,144,.25)}code{background:rgba(144,144,144,.075);border-color:rgba(144,144,144,.25)}hr{border-bottom-color:rgba(144,144,144,.25)}.pp_leftline{border-left:3px solid #efefef;padding-left:15px}.pp_box{height:100%;margin-bottom:2rem;background:#fff;padding:3rem;border:1px solid rgba(144,144,144,.25)}.pp_box header h2{margin-bottom:2rem}.pp_box header p{text-transform:uppercase;font-size:.75rem;font-weight:300;margin:0 0 .25rem 0;padding:0 0 .75rem 0;letter-spacing:.25rem}.pp_box header p:after{content:'';position:absolute;margin:auto;right:0;bottom:0;left:0;width:50%;height:1px;background-color:rgba(0,0,0,.125)}.pp_box>:last-child,.pp_box>:last-child>:last-child,.pp_box>:last-child>:last-child>:last-child{margin-bottom:0}.pp_box.alt{border:0;border-radius:0;padding:0}@media screen and (max-width:736px){.pp_box .pp_content{padding:2rem}}#wpcontent{background-image:-webkit-linear-gradient(top,#f2f2f2,#e6e6e6)}fieldset{margin:0 0 3rem}select{width:100%}.pp_input-field{position:relative;width:25%}.pp_input-field-thirds{position:relative;width:100%}input[type=password],input[type=text]{width:100%;padding-left:.75rem;transition:all .15s ease}.pp_outlined{height:38px;box-shadow:inset 0 0 0 1px #b2b2b2;border-radius:4px;background:0 0}.pp_outlined:focus{outline:0;box-shadow:inset 0 0 0 2px #ffb300}.pp_outlined+label{background:#fff;top:.8rem;position:absolute;left:.75rem;color:grey;transition:all .15s ease;padding:0;font-size:12px;pointer-events:none}.pp_outlined:focus+label,.pp_outlined:valid+label{color:#000;transform:scale(.8) translateY(-24px) translateX(-9px);padding:0 3px}.pp_form-group,.pp_form-radio{position:relative;margin-top:1.25rem;margin-bottom:2.25rem}.pp_form-inline>.pp_btn,.pp_form-inline>.pp_form-group{display:inline-block;margin-bottom:0}.pp_form-help{margin-top:.125rem;margin-left:.125rem;color:#b3b3b3;font-size:.8rem}.pp_checkbox .pp_form-help,.pp_form-group .pp_form-help,.pp_form-radio .pp_form-help{position:absolute;width:100%}.pp_checkbox .pp_form-help{position:relative;margin-bottom:1rem}.pp_form-radio .pp_form-help{padding-top:.25rem;margin-top:-1rem}.pp_checkbox label,.pp_form-radio label{position:relative;cursor:pointer;padding-left:2rem;text-align:left;color:#333;display:block}.pp_checkbox input,.pp_form-radio input{width:auto;opacity:.00000001;position:absolute;left:0}.pp_radio{margin-bottom:1rem}.pp_radio .pp_helper{position:absolute;top:-.25rem;left:-.25rem;cursor:pointer;display:block;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#999}.pp_radio .pp_helper::after,.pp_radio .pp_helper::before{content:'';position:absolute;left:0;top:0;margin:.25rem;width:1rem;height:1rem;-webkit-transition:-webkit-transform .28s ease;transition:-webkit-transform .28s ease;transition:transform .28s ease;transition:transform .28s ease,-webkit-transform .28s ease;border-radius:50%;border:.125rem solid currentColor}.pp_radio .pp_helper::after{-webkit-transform:scale(0);transform:scale(0);background-color:#337ab7;border-color:#337ab7}.pp_radio label:hover .pp_helper{color:#337ab7}.pp_radio input:checked~.pp_helper::after{-webkit-transform:scale(.5);transform:scale(.5)}.pp_radio input:checked~.pp_helper::before{color:#337ab7}.pp_checkbox{margin-bottom:1rem}.pp_checkbox .pp_helper{color:#999;position:absolute;top:0;left:0;width:1rem;height:1rem;z-index:0;border:.125rem solid currentColor;border-radius:.0625rem;-webkit-transition:border-color .28s ease;transition:border-color .28s ease}.pp_checkbox .pp_helper::after,.pp_checkbox .pp_helper::before{position:absolute;height:0;width:.2rem;background-color:#337ab7;display:block;-webkit-transform-origin:left top;transform-origin:left top;border-radius:.25rem;content:'';-webkit-transition:opacity .28s ease,height 0s linear .28s;transition:opacity .28s ease,height 0s linear .28s;opacity:0}.pp_checkbox .pp_helper::before{top:.65rem;left:.38rem;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);box-shadow:0 0 0 .0625rem #fff}.pp_checkbox .helper::after{top:.3rem;left:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.pp_checkbox label:hover .pp_helper{color:#337ab7}.pp_checkbox input:checked~.pp_helper{color:#337ab7}.pp_checkbox input:checked~.pp_helper::after,.pp_checkbox input:checked~.pp_helper::before{opacity:1;-webkit-transition:height .28s ease;transition:height .28s ease}.pp_checkbox input:checked~.pp_helper::after{height:.5rem}.pp_checkbox input:checked~.pp_helper::before{height:1.2rem;-webkit-transition-delay:.28s;transition-delay:.28s}.pp_checkbox+.pp_checkbox,.pp_radio+.pp_radio{margin-top:1rem}.pp_has-error .pp_legend.pp_legend,.pp_has-error.pp_form-group .pp_control-label.pp_control-label{color:#d9534f}.pp_has-error.pp_checkbox .pp_form-help,.pp_has-error.pp_checkbox .pp_helper,.pp_has-error.pp_form-group .pp_form-help,.pp_has-error.pp_form-group .pp_helper,.pp_has-error.pp_form-radio .pp_form-help,.pp_has-error.pp_form-radio .pp_helper,.pp_has-error.pp_radio .pp_form-help,.pp_has-error.pp_radio .pp_helper{color:#d9534f}.pp_has-error .pp_bar::before{background:#d9534f;left:0;width:100%}.pp_button{position:relative;background:currentColor;border:1px solid currentColor;font-size:1.1rem;color:#1976d2;margin:0;padding:.75rem 3rem;cursor:pointer;-webkit-transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;overflow:hidden;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.pp_button span{color:#fff;position:relative;z-index:1}.pp_button::before{content:'';position:absolute;background:#003b75;border:50vh solid #1d4567;width:30vh;height:30vh;border-radius:50%;display:block;top:50%;left:50%;z-index:0;opacity:1;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}.pp_button:hover{color:#003b75;box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2)}.pp_button:active::before,.pp_button:focus::before{-webkit-transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:transform 1.12s ease,opacity .28s ease 364ms;transition:transform 1.12s ease,opacity .28s ease 364ms,-webkit-transform 1.12s ease;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:0}.pp_button:focus{outline:0}.pp_button_alt{position:relative;background:#fff;border:1px solid #c4c4c4;font-size:1.1rem;color:#333;margin:0;padding:.75rem 3rem;cursor:pointer;-webkit-transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;overflow:hidden;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.pp_button_alt span{color:#333;position:relative;z-index:1}.pp_button_alt::before{content:'';position:absolute;background:#efefef;width:30vh;height:30vh;border-radius:50%;display:block;top:50%;left:50%;z-index:0;opacity:1;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}.pp_button_alt:hover{color:#efefef;box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2)}.pp_button_alt:active::before,.pp_button_alt:focus::before{-webkit-transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:transform 1.12s ease,opacity .28s ease 364ms;transition:transform 1.12s ease,opacity .28s ease 364ms,-webkit-transform 1.12s ease;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:0}.pp_button_alt:focus{outline:0}.pp_image{height:50%}.pp_image.pp_fit{margin:0 auto;width:100%}#blubrry-logo-onboarding{height:1.5rem;margin:0 0 .5ch 1rem;vertical-align:bottom}.pp_content{height:50%}.btn-caption-container{height:50%}.pp_image img{width:50%;margin:0 auto}.pp_image.center>img{display:block;margin-left:auto;margin-right:auto}.pp_button.show_button{min-width:240px;margin-top:15px}.pp_input-field-login{position:relative}.pp_file_upload{opacity:0;left:0;top:0;z-index:999;height:50px}.pp_file_upload::-webkit-file-upload-button{height:50px}.image_center{display:block;margin-left:auto;margin-right:auto;width:40%}.image_wrapper{width:100%;height:auto}#upload-artwork-button{float:right;width:auto;min-height:40px;margin:1em 0 0 1em}#filepath{float:left;width:100%;margin:3ch 0 2em 0}#artwork-spec{margin-top:6em}#filePath{width:100%}.pp_input-field-login,button[name=signin]{width:40%}h5.pp_align-center,p{font-size:16px}p.pp-smaller-text{font-size:13px}.wrap div.error{border-right-width:0;border-top-width:0;border-bottom-width:0;border-left-width:3px;color:#dc3232;box-shadow:none;margin-bottom:0}@media (max-width:1095px){#showbasics_artwork{display:block}#artwork-spec{margin-top:0}#upload-artwork-button{width:95%;text-align:center;margin-bottom:1em;margin-left:0;float:left}.pp_input-field-login,button[name=signin]{width:50%}}@media (max-width:736px){.pp_flex-grid{display:block}.pp_container{padding:3rem 1rem}.bpp_input_med{width:100%}#showbasics_artwork_upload{margin:0}.pp_button,.pp_button_alt{padding:.75rem}}@media (max-width:610px){#filePath{width:100%}}@media (max-width:475px){.pp_box{padding:1rem}.pp_input-field-login,button[name=signin]{width:90%}}
|
1 |
+
body,body *,input,select,textarea{font-family:Roboto,sans-serif;box-sizing:border-box}body ::after,body ::before,body::after,body::before,input::after,input::before,select::after,select::before,textarea::after,textarea::before{box-sizing:border-box}body{background-image:-webkit-linear-gradient(top,#f2f2f2,#e6e6e6)}.pp_container{position:relative;max-width:80rem;margin:2rem auto 1rem auto;background:#fff;width:100%;padding:3rem 5rem;border-radius:4px}.pp_container::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2);-webkit-transform:scale(.98);transform:scale(.98);-webkit-transition:-webkit-transform .28s ease-in-out;transition:-webkit-transform .28s ease-in-out;transition:transform .28s ease-in-out;transition:transform .28s ease-in-out,-webkit-transform .28s ease-in-out;z-index:-1}.pp_container:hover::before{-webkit-transform:scale(1);transform:scale(1)}.pp_button-container{text-align:center}.pp_flex-grid{display:flex}.pp_flex-grid .pp_col{flex:1;margin:0 25px}.pp_flex-grid-thirds{display:flex;justify-content:space-between}.pp_flex-grid-thirds .pp_col{width:32%}@media (max-width:1350px){#pp-create-episode .btn-caption-container{height:80%}}@media (max-width:1100px){#pp-create-episode .btn-caption-container{height:88%}#pp-create-episode .pp_image{height:25%}}@media (max-width:400px){.pp_.flex-grid,.pp_.flex-grid-thirds{display:block}.pp_col{width:100%;margin:0 0 10px 0}}*{box-sizing:border-box}.pp_.flex-grid{margin:0 0 20px 0}.pp_.col{background:salmon;padding:20px}h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.5;margin:0 0 .5rem 0;color:#333}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit;text-decoration:none}h2{font-size:1.5rem}h3{font-size:1.35rem}h4{font-size:1.15rem}h5{font-size:.9rem}h6{font-size:.7rem}.pp_small{font-size:10px;color:#888}hr{border:0;border-bottom:solid 1px;margin:2rem 0}hr.major{margin:3rem 0}.pp_align-left{text-align:left}.pp_align-center{text-align:center}.pp_align-right{text-align:right}input,select,textarea{color:#555}a{color:#8a4680}b,strong{color:#555}blockquote{border-left-color:rgba(144,144,144,.25)}code{background:rgba(144,144,144,.075);border-color:rgba(144,144,144,.25)}hr{border-bottom-color:rgba(144,144,144,.25)}.pp_leftline{border-left:3px solid #efefef;padding-left:15px}.pp_box{height:100%;margin-bottom:2rem;background:#fff;padding:3rem;border:1px solid rgba(144,144,144,.25)}.pp_box header h2{margin-bottom:2rem}.pp_box header p{text-transform:uppercase;font-size:.75rem;font-weight:300;margin:0 0 .25rem 0;padding:0 0 .75rem 0;letter-spacing:.25rem}.pp_box header p:after{content:'';position:absolute;margin:auto;right:0;bottom:0;left:0;width:50%;height:1px;background-color:rgba(0,0,0,.125)}.pp_box>:last-child,.pp_box>:last-child>:last-child,.pp_box>:last-child>:last-child>:last-child{margin-bottom:0}.pp_box.alt{border:0;border-radius:0;padding:0}@media screen and (max-width:736px){.pp_box .pp_content{padding:2rem}}#wpcontent{background-image:-webkit-linear-gradient(top,#f2f2f2,#e6e6e6)}fieldset{margin:0 0 3rem}select{width:100%}.pp_input-field{position:relative;width:25%}.pp_input-field-thirds{position:relative;width:100%}input[type=password],input[type=text]{width:100%;padding-left:.75rem;transition:all .15s ease}.pp_outlined{height:38px;box-shadow:inset 0 0 0 1px #b2b2b2;border-radius:4px;background:0 0}.pp_outlined:focus{outline:0;box-shadow:inset 0 0 0 2px #ffb300}.pp_outlined+label{background:#fff;top:.8rem;position:absolute;left:.75rem;color:grey;transition:all .15s ease;padding:0;font-size:12px;pointer-events:none}.pp_outlined:focus+label,.pp_outlined:valid+label{color:#000;transform:scale(.8) translateY(-24px) translateX(-9px);padding:0 3px}.pp_form-group,.pp_form-radio{position:relative;margin-top:1.25rem;margin-bottom:2.25rem}.pp_form-inline>.pp_btn,.pp_form-inline>.pp_form-group{display:inline-block;margin-bottom:0}.pp_form-help{margin-top:.125rem;margin-left:.125rem;color:#b3b3b3;font-size:.8rem}.pp_checkbox .pp_form-help,.pp_form-group .pp_form-help,.pp_form-radio .pp_form-help{position:absolute;width:100%}.pp_checkbox .pp_form-help{position:relative;margin-bottom:1rem}.pp_form-radio .pp_form-help{padding-top:.25rem;margin-top:-1rem}.pp_checkbox label,.pp_form-radio label{position:relative;cursor:pointer;padding-left:2rem;text-align:left;color:#333;display:block}.pp_checkbox input,.pp_form-radio input{width:auto;opacity:.00000001;position:absolute;left:0}.pp_radio{margin-bottom:1rem}.pp_radio .pp_helper{position:absolute;top:-.25rem;left:-.25rem;cursor:pointer;display:block;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#999}.pp_radio .pp_helper::after,.pp_radio .pp_helper::before{content:'';position:absolute;left:0;top:0;margin:.25rem;width:1rem;height:1rem;-webkit-transition:-webkit-transform .28s ease;transition:-webkit-transform .28s ease;transition:transform .28s ease;transition:transform .28s ease,-webkit-transform .28s ease;border-radius:50%;border:.125rem solid currentColor}.pp_radio .pp_helper::after{-webkit-transform:scale(0);transform:scale(0);background-color:#337ab7;border-color:#337ab7}.pp_radio label:hover .pp_helper{color:#337ab7}.pp_radio input:checked~.pp_helper::after{-webkit-transform:scale(.5);transform:scale(.5)}.pp_radio input:checked~.pp_helper::before{color:#337ab7}.pp_checkbox{margin-bottom:1rem}.pp_checkbox .pp_helper{color:#999;position:absolute;top:0;left:0;width:1rem;height:1rem;z-index:0;border:.125rem solid currentColor;border-radius:.0625rem;-webkit-transition:border-color .28s ease;transition:border-color .28s ease}.pp_checkbox .pp_helper::after,.pp_checkbox .pp_helper::before{position:absolute;height:0;width:.2rem;background-color:#337ab7;display:block;-webkit-transform-origin:left top;transform-origin:left top;border-radius:.25rem;content:'';-webkit-transition:opacity .28s ease,height 0s linear .28s;transition:opacity .28s ease,height 0s linear .28s;opacity:0}.pp_checkbox .pp_helper::before{top:.65rem;left:.38rem;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);box-shadow:0 0 0 .0625rem #fff}.pp_checkbox .helper::after{top:.3rem;left:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.pp_checkbox label:hover .pp_helper{color:#337ab7}.pp_checkbox input:checked~.pp_helper{color:#337ab7}.pp_checkbox input:checked~.pp_helper::after,.pp_checkbox input:checked~.pp_helper::before{opacity:1;-webkit-transition:height .28s ease;transition:height .28s ease}.pp_checkbox input:checked~.pp_helper::after{height:.5rem}.pp_checkbox input:checked~.pp_helper::before{height:1.2rem;-webkit-transition-delay:.28s;transition-delay:.28s}.pp_checkbox+.pp_checkbox,.pp_radio+.pp_radio{margin-top:1rem}.pp_has-error .pp_legend.pp_legend,.pp_has-error.pp_form-group .pp_control-label.pp_control-label{color:#d9534f}.pp_has-error.pp_checkbox .pp_form-help,.pp_has-error.pp_checkbox .pp_helper,.pp_has-error.pp_form-group .pp_form-help,.pp_has-error.pp_form-group .pp_helper,.pp_has-error.pp_form-radio .pp_form-help,.pp_has-error.pp_form-radio .pp_helper,.pp_has-error.pp_radio .pp_form-help,.pp_has-error.pp_radio .pp_helper{color:#d9534f}.pp_has-error .pp_bar::before{background:#d9534f;left:0;width:100%}.pp_button{position:relative;background:currentColor;border:1px solid currentColor;font-size:1.1rem;color:#1976d2;margin:0;padding:.75rem 3rem;cursor:pointer;-webkit-transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;overflow:hidden;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.pp_button span{color:#fff;position:relative;z-index:1}.pp_button::before{content:'';position:absolute;background:#003b75;border:50vh solid #1d4567;width:30vh;height:30vh;border-radius:50%;display:block;top:50%;left:50%;z-index:0;opacity:1;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}.pp_button:hover{color:#003b75;box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2)}.pp_button:active::before,.pp_button:focus::before{-webkit-transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:transform 1.12s ease,opacity .28s ease 364ms;transition:transform 1.12s ease,opacity .28s ease 364ms,-webkit-transform 1.12s ease;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:0}.pp_button:focus{outline:0}.pp_button_alt{position:relative;background:#fff;border:1px solid #c4c4c4;font-size:1.1rem;color:#333;margin:0;padding:.75rem 3rem;cursor:pointer;-webkit-transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;overflow:hidden;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.pp_button_alt span{color:#333;position:relative;z-index:1}.pp_button_alt::before{content:'';position:absolute;background:#efefef;width:30vh;height:30vh;border-radius:50%;display:block;top:50%;left:50%;z-index:0;opacity:1;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}.pp_button_alt:hover{color:#efefef;box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2)}.pp_button_alt:active::before,.pp_button_alt:focus::before{-webkit-transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:transform 1.12s ease,opacity .28s ease 364ms;transition:transform 1.12s ease,opacity .28s ease 364ms,-webkit-transform 1.12s ease;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:0}.pp_button_alt:focus{outline:0}.pp_image{height:50%}.pp_image.pp_fit{margin:0 auto;width:100%}#blubrry-logo-onboarding{height:1.5rem;margin:0 0 .5ch 1rem;vertical-align:bottom}.pp_content{height:50%}.btn-caption-container{height:50%}.pp_image img{width:50%;margin:0 auto}.pp_image.center>img{display:block;margin-left:auto;margin-right:auto}.pp_button.show_button{min-width:240px;margin-top:15px}.pp_input-field-login{position:relative}.pp_file_upload{opacity:0;left:0;top:0;z-index:999;height:50px}.pp_file_upload::-webkit-file-upload-button{height:50px}.image_center{display:block;margin-left:auto;margin-right:auto;width:40%}.image_wrapper{width:100%;height:auto}#upload-artwork-button{float:right;width:auto;min-height:40px;margin:1em 0 0 1em}#filepath{float:left;width:100%;margin:3ch 0 2em 0}#artwork-spec{margin-top:6em}#filePath{width:100%}.pp_input-field-login,button[name=signin]{width:40%}h5.pp_align-center,p{font-size:16px}p.pp-smaller-text{font-size:13px}.wrap div.error{border-right-width:0;border-top-width:0;border-bottom-width:0;border-left-width:3px;color:#dc3232;box-shadow:none;margin-bottom:0}@media (max-width:1095px){#showbasics_artwork{display:block}#artwork-spec{margin-top:0}#upload-artwork-button{width:95%;text-align:center;margin-bottom:1em;margin-left:0;float:left}.pp_input-field-login,button[name=signin]{width:50%}}@media (max-width:736px){.pp_flex-grid{display:block}.pp_container{padding:3rem 1rem}.bpp_input_med{width:100%}#showbasics_artwork_upload{margin:0}.pp_button,.pp_button_alt{padding:.75rem}}@media (max-width:610px){#filePath{width:100%}}@media (max-width:475px){.pp_box{padding:1rem}.pp_input-field-login,button[name=signin]{width:90%}}
|
css/settings.css
CHANGED
@@ -325,11 +325,60 @@ span[id^="all-icon"] {
|
|
325 |
.pp-sidenav {
|
326 |
overflow: hidden;
|
327 |
background-color: white;
|
328 |
-
width: 23%;
|
329 |
-
display: inline-block;
|
330 |
float: left;
|
331 |
min-height: 70vh;
|
332 |
height: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
}
|
334 |
|
335 |
/* Style the buttons that are used to open the tab content */
|
@@ -374,20 +423,6 @@ span[id^="all-icon"] {
|
|
374 |
margin-top: 1em;
|
375 |
}
|
376 |
|
377 |
-
/* Style the tab content */
|
378 |
-
.pp-sidenav-tab {
|
379 |
-
background-color: #ffffff;
|
380 |
-
display: none;
|
381 |
-
border-top: none;
|
382 |
-
padding: 3vh 3vw;
|
383 |
-
width: 75%;
|
384 |
-
border-left: 1px solid #ddd;
|
385 |
-
}
|
386 |
-
|
387 |
-
.pp-sidenav-tab.active {
|
388 |
-
display: inline-block;
|
389 |
-
}
|
390 |
-
|
391 |
#connect-blubrry-services {
|
392 |
margin: 30px 10px 10px 10px;
|
393 |
text-align: center;
|
@@ -741,4 +776,35 @@ select.pp-settings-select-inline {
|
|
741 |
|
742 |
.pp-shortcode-container {
|
743 |
margin: 4ch 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
744 |
}
|
325 |
.pp-sidenav {
|
326 |
overflow: hidden;
|
327 |
background-color: white;
|
|
|
|
|
328 |
float: left;
|
329 |
min-height: 70vh;
|
330 |
height: 100%;
|
331 |
+
z-index: 10000;
|
332 |
+
opacity: 1.0;
|
333 |
+
}
|
334 |
+
|
335 |
+
.pp-sidenav-container {
|
336 |
+
display: inline-block;
|
337 |
+
}
|
338 |
+
|
339 |
+
.pp-sidenav-hidden {
|
340 |
+
display: none;
|
341 |
+
}
|
342 |
+
|
343 |
+
.toggle-sidenav {
|
344 |
+
display: none;
|
345 |
+
}
|
346 |
+
|
347 |
+
/* Style the tab content */
|
348 |
+
.pp-sidenav-tab {
|
349 |
+
background-color: #ffffff;
|
350 |
+
display: none;
|
351 |
+
border-top: none;
|
352 |
+
padding: 3vh 3vw;
|
353 |
+
width: 75%;
|
354 |
+
border-left: 1px solid #ddd;
|
355 |
+
}
|
356 |
+
|
357 |
+
.pp-sidenav-tab.active {
|
358 |
+
display: inline-block;
|
359 |
+
}
|
360 |
+
|
361 |
+
@media (min-width: 651px) {
|
362 |
+
.pp-sidenav-toggle-container {
|
363 |
+
width: 23%;
|
364 |
+
}
|
365 |
+
}
|
366 |
+
@media (max-width: 650px) {
|
367 |
+
.pp-sidenav {
|
368 |
+
width: 100%;
|
369 |
+
overflow: visible;
|
370 |
+
}
|
371 |
+
.pp-sidenav-tab {
|
372 |
+
border-left: none;
|
373 |
+
}
|
374 |
+
.toggle-sidenav {
|
375 |
+
color: #1a6deb;
|
376 |
+
font-weight: bold;
|
377 |
+
font-size: 24px;
|
378 |
+
cursor: pointer;
|
379 |
+
padding: 0.5ch;
|
380 |
+
display: block;
|
381 |
+
}
|
382 |
}
|
383 |
|
384 |
/* Style the buttons that are used to open the tab content */
|
423 |
margin-top: 1em;
|
424 |
}
|
425 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
#connect-blubrry-services {
|
427 |
margin: 30px 10px 10px 10px;
|
428 |
text-align: center;
|
776 |
|
777 |
.pp-shortcode-container {
|
778 |
margin: 4ch 0;
|
779 |
+
}
|
780 |
+
|
781 |
+
.blubrry-stats-marketing-message {
|
782 |
+
background-image: url('../images/Blubrry_stats_hero_2a.jpg');
|
783 |
+
background-size: cover;
|
784 |
+
background-repeat: no-repeat;
|
785 |
+
background-position: 0 25%;
|
786 |
+
padding: 1em;
|
787 |
+
border-radius: 4px;
|
788 |
+
margin-bottom: 1em;
|
789 |
+
width: 100%;
|
790 |
+
}
|
791 |
+
|
792 |
+
.blubrry-stats-marketing-text, .blubrry-stats-marketing-text:hover {
|
793 |
+
color: white;
|
794 |
+
margin-top: 0;
|
795 |
+
}
|
796 |
+
|
797 |
+
a.blubrry-stats-marketing-text {
|
798 |
+
display: inline-block;
|
799 |
+
text-decoration: none;
|
800 |
+
}
|
801 |
+
|
802 |
+
h5.blubrry-stats-marketing-text {
|
803 |
+
margin: 0;
|
804 |
+
}
|
805 |
+
|
806 |
+
.pp_white-button-container {
|
807 |
+
padding: 0.5ch 3em;
|
808 |
+
border: 2px solid white;
|
809 |
+
border-radius: 4px;
|
810 |
}
|
css/settings.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.pp-tab{font-size:16px;overflow:hidden;background-color:#fff;border-bottom:1px solid #ddd;box-shadow:0 1px 0 0 #eaedf3,0 1px 3px 0 rgba(0,0,0,.05);width:100%;padding:0}.pp-tab button{background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:3vh 3%;transition:.3s;width:auto}.pp-tab button:hover{background-color:#ddd}.pp-tab button.active{border-bottom:3px solid #1a6deb;font-weight:700}.pp-tabcontent{background-color:#fff;display:none;border-top:none;padding:0 40px 0 0;height:100%}.pp-tabcontent.active{display:flex}#welcome-title{display:inline-block;margin-top:1ch;font-size:22px;width:70%}#welcome-tab-new-post{display:inline-block;text-decoration:none;color:#1976d2;font-family:Roboto,sans-serif;font-size:14px}#welcome-tab-new-post div{padding:1ch;border:2px solid #1976d2;border-radius:4px}#welcome-tab-new-post div:hover{background-color:#1976d2;color:#fff}#pp-welcome-applesubmit-link:hover,#pp-welcome-artwork-link:hover{cursor:pointer;text-decoration:underline}#pp-welcome-applesubmit-link,#pp-welcome-artwork-link,.program-status-link,p[class=pp-settings-status-text]{margin-top:0;margin-bottom:1em;font-family:Roboto,sans-serif;font-size:14px}#advanced-tab-seo-link{cursor:pointer}.submit{font-family:Roboto,sans-serif;font-size:14px;letter-spacing:0;line-height:21px}.powerpress_save_button{border-width:1px}.powerpress_save_button:hover{cursor:pointer}.pp-news-image{vertical-align:top;float:left;margin-right:1em;max-height:95%;max-width:40%;width:auto;height:auto}.pp-settings-welcome-text img{height:50px;width:50px}.pp-news-item{padding:0 2em 2ch 0;border-bottom:1px solid #ddd;height:17vh}.powerpress-welcome-news .rss-date{font-size:80%}.powerpress-welcome-news .rsswidget{font-size:110%;color:#000;text-decoration:underline}.pp-news-image-container{max-width:33%;overflow:hidden}.pp-news-details-container{height:100%;width:auto;overflow:hidden}.program-status-link{color:#d21919;text-decoration:underline}.pp-settings-program-summary{margin-bottom:4em}.prog-sum-contents,.prog-sum-head{display:inline-block;vertical-align:middle}.prog-sum-head{width:72%}.prog-sum-contents{width:23%;height:100%;position:absolute;margin-left:2em}.pp-settings-podcast-status{margin-top:2ch}.pp-settings-num-episodes,.pp-settings-podcast-status,.pp-settings-recent-post{display:inline-block;vertical-align:top}.pp-settings-recent-post{width:70%}.pp-settings-num-episodes{width:16%;margin-left:3em}.pp-settings-welcome-text{display:inline-block;vertical-align:top;width:65%;margin-left:1ch}#welcome-preview-image{width:30%;height:auto;display:inline-block}.destinations-side-text{line-height:36px}.directory-summary-head{vertical-align:middle}.destinations-side-icon{background-image:url(../images/modern_icon_sprite_2020.svg);margin-right:15px;display:inline-block;width:36px;height:36px;border:0;background-repeat:no-repeat;background-size:50px;vertical-align:middle}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-sidenav .destinations-side-icon{background-image:url(../images/modern-icon-sprite.png)}}span[id^=apple-icon]{background-position:-5px -10px}span[id^=android-icon]{background-position:-5px -60px}span[id^=email-icon]{background-position:-5px -111px}span[id^=google-icon]{background-position:-5px -160px}span[id^=stitcher-icon]{background-position:-7px -210px}span[id^=tunein-icon]{background-position:-7px -260px}span[id^=spotify-icon]{background-position:-5px -312px}span[id^=iheart-icon]{background-position:-5px -461px}span[id^=deezer-icon]{background-position:-5px -512px}span[id^=pandora-icon]{background-position:-5px -560px}span[id^=amazon-icon]{background-position:-5px -1010px}span[id^=pcindex-icon]{background-position:-5px -1060px}span[id^=jiosaavn-icon]{background-position:-5px -1110px}span[id^=podchaser-icon]{background-position:-5px -1160px}span[id^=gaana-icon]{background-position:-5px -1210px}span[id^=all-icon]{background-position:-5px -360px}.pp-settings-footer{border-top:1px solid #eff0f5;margin:3ch;padding-top:2ch}.pp-save-button-container{display:inline-block;float:right}#connect-blubrry-services .button-blubrry{max-width:14em;width:100%}#connected-blubrry-blurb{display:inline-block;width:55%;margin:0 0 0 1ch;text-align:left}#connect-blubrry-blurb{font-size:12px;margin:1ch 1ch 0 4ch}.pp-sidenav{overflow:hidden;background-color:#fff;width:23%;display:inline-block;float:left;min-height:70vh;height:100%}.pp-sidenav button{display:block;font-family:Roboto,sans-serif;font-size:14px;font-weight:600;background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:1vh 2vw 1vh 1vw;transition:.3s;width:100%;text-align:left;line-height:25px}.pp-sidenav button img{height:25px;width:25px;background-color:rgba(255,255,255,0);vertical-align:middle}.pp-sidenav button:hover{background-color:#ddd}.pp-sidenav button.active{border-left:2px solid #1a6deb;color:#1665d8;background-color:#f6f9fd}#powerpress_settings_page{min-height:100vh;margin-top:1em}.pp-sidenav-tab{background-color:#fff;display:none;border-top:none;padding:3vh 3vw;width:75%;border-left:1px solid #ddd}.pp-sidenav-tab.active{display:inline-block}#connect-blubrry-services{margin:30px 10px 10px 10px;text-align:center;border:1px solid #d0d3db;border-radius:2px;display:inline-block}#blubrry-services-connected-settings,#connect-see-options{padding:3ch 3ch 3ch 1.5ch}#connect-blubrry-button-container{padding:10px;text-align:center;border-top:1px solid #d0d3db}#blubrry-logo-connect{width:42px;height:40px}.pp-settings-section{border-left:3px solid #eff0f5;padding-left:2em;margin-bottom:4em}.pp-settings-section h2{font-weight:700;font-family:Roboto,sans-serif;font-size:20px}.pp-settings-subsection{margin-left:1em;padding:1em 0 1em 1em;border-bottom:1px solid #eff0f5;display:inline-block;width:90%}.pp-settings-subsection-no-border{padding:1em 0 1em 0;display:inline-block;width:90%}.pp-nav-icon{margin:0 25px 0 10px}.pp-directory-icon{margin:0 25px 0 0;vertical-align:middle}h1.pp-heading,h2.pp-heading{font-size:26px;font-family:Roboto,sans-serif;font-weight:700}p.pp-main{font-size:16px;font-family:Roboto,sans-serif;font-weight:700;margin:0;display:block}a.pp-sub,p.pp-sub{font-size:16px;font-family:Roboto,sans-serif;margin:0;display:block}p.pp-sub{color:rgba(0,0,0,.6)}p.pp-label-bottom{font-size:14px;font-family:Roboto,sans-serif;margin:0 0 2em 0;color:rgba(0,0,0,.6)}a.pp-sidenav-extra-text,p.pp-sidenav-extra-text{color:#32373c;font-size:12px;line-height:18px;font-family:Roboto,sans-serif;text-decoration:none;font-weight:700}.pp-sidenav-extra{margin:2vh 2vw}.pp-settings-text{margin-top:0;margin-bottom:2em;font-family:Roboto,sans-serif;font-size:14px;display:block}.pp-settings-text-smaller-margin{margin-top:0;margin-bottom:1em;font-family:Roboto,sans-serif;font-size:14px;display:block}.pp-settings-text-no-margin{margin-top:0;margin-bottom:0;font-family:Roboto,sans-serif;font-size:12px;display:block}.pp-show-subscribe{margin-top:3em}.pp-show-subscribe input.pp-settings-checkbox{margin-top:2px;margin-right:10px}.pp-label-bottom a,.pp-main a,.pp-right-label a,.pp-settings-text a,.pp-sub a{text-decoration:none;color:#2278cf}.pp-right-label{font-size:14px;margin-top:5px}.pp-settings-text-with-label{margin-top:0;margin-bottom:0;font-family:Roboto,sans-serif;font-size:14px}b{font-weight:700}input.pp-settings-checkbox{border:2px solid #d4d8e0;border-radius:3px;height:18px;width:18px;vertical-align:top;margin-top:2ch}input.pp-settings-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.pp-settings-checkbox:checked:disabled{background-color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.2)}input.pp-settings-checkbox:checked:before{content:url(../images/check_white.svg);height:21px;width:21px;margin:-3px 0 0 -4px}input.pp-settings-checkbox:checked+label.pp-checkbox-label{color:#0c74d5}.pp-checkbox-label{font-size:13px;font-family:Roboto,sans-serif}.round-checkbox{border-radius:8px}input.round-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.round-checkbox:checked:before{color:#2278cf}input[class=pp-settings-radio]{width:22px;height:22px;border:2px solid #b1b1b1;margin-bottom:3.5em}input[class=pp-settings-radio]:checked{border:2px solid #0c74d5}input[class=pp-settings-radio]:checked:before{width:12px;height:12px;margin:3px;background-color:#0c74d5}input[class=pp-settings-radio-small]{width:16px;height:16px;margin-right:8px;background-color:#d8dce6}input[class=pp-settings-radio-small]:checked{border:2px solid #0c74d5;background-color:#0c74d5}input[class=pp-settings-radio-small]:checked:before{width:6px;height:6px;margin:3px;background-color:#d8dce6}input.pp-settings-text-input,input.pp-settings-text-input:focus,textarea.pp-settings-text-input,textarea.pp-settings-text-input:focus{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;padding:2ch 1em 2ch 1em;width:100%}input.pp-settings-text-input-less-wide,input.pp-settings-text-input-less-wide:focus{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;padding:2ch 1em 2ch 1em;width:70%;margin-right:30%}.pp-settings-section h4{margin-top:0;margin-bottom:0;font-weight:700}.powerpress_color_box{float:left;width:24px;height:24px;cursor:pointer;margin:8px 19px 8px 0;border:1px solid #666}label[class^=pp-settings-label]{position:relative;top:9px;padding:0 9px 0 2px;left:9px;background-color:#fff;font-size:12px}label[class^=pp-settings-label-under]{position:relative;top:-2px;padding:0 9px 0 2px;left:9px;background-color:#fff;color:rgba(0,0,0,.6);font-size:12px}select[class^=pp-settings-select]{background-color:#eff0f5;color:rgba(0,0,0,.6);border-radius:4px;padding:1em 1ch 1em 1ch;font-size:14px;font-family:Roboto,sans-serif;font-weight:700;border:none;box-shadow:none;height:auto;width:45%;display:block}select.pp-settings-select-inline{display:inline-block;width:40%;margin-bottom:3ch}.pp-settings-button{box-sizing:border-box;display:inline-block;padding:1.5ch;border:1px solid #d8dce6;border-radius:4px;background:linear-gradient(0deg,#f6f7f9 0,#fff 100%);box-shadow:inset 0 2px 0 0 rgba(255,255,255,.05),0 1px 1px 0 rgba(22,29,37,.05);margin:1em 0 1em 0}.pp-settings-icon{margin:0 10px;width:18px;height:18px}.pp-settings-icon-small{margin:0 5px 0 0;width:16px;height:18px;display:inline-block;vertical-align:middle}.pp-settings-button-label,.pp-settings-icon{vertical-align:middle}.pp-shortcode{padding:1em 3ch 1em 3ch}.pp-shortcode-container{margin:4ch 0}
|
1 |
+
.pp-tab{font-size:16px;overflow:hidden;background-color:#fff;border-bottom:1px solid #ddd;box-shadow:0 1px 0 0 #eaedf3,0 1px 3px 0 rgba(0,0,0,.05);width:100%;padding:0}.pp-tab button{background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:3vh 3%;transition:.3s;width:auto}.pp-tab button:hover{background-color:#ddd}.pp-tab button.active{border-bottom:3px solid #1a6deb;font-weight:700}.pp-tabcontent{background-color:#fff;display:none;border-top:none;padding:0 40px 0 0;height:100%}.pp-tabcontent.active{display:flex}#welcome-title{display:inline-block;margin-top:1ch;font-size:22px;width:70%}#welcome-tab-new-post{display:inline-block;text-decoration:none;color:#1976d2;font-family:Roboto,sans-serif;font-size:14px}#welcome-tab-new-post div{padding:1ch;border:2px solid #1976d2;border-radius:4px}#welcome-tab-new-post div:hover{background-color:#1976d2;color:#fff}#pp-welcome-applesubmit-link:hover,#pp-welcome-artwork-link:hover{cursor:pointer;text-decoration:underline}#pp-welcome-applesubmit-link,#pp-welcome-artwork-link,.program-status-link,p[class=pp-settings-status-text]{margin-top:0;margin-bottom:1em;font-family:Roboto,sans-serif;font-size:14px}#advanced-tab-seo-link{cursor:pointer}.submit{font-family:Roboto,sans-serif;font-size:14px;letter-spacing:0;line-height:21px}.powerpress_save_button{border-width:1px}.powerpress_save_button:hover{cursor:pointer}.pp-news-image{vertical-align:top;float:left;margin-right:1em;max-height:95%;max-width:40%;width:auto;height:auto}.pp-settings-welcome-text img{height:50px;width:50px}.pp-news-item{padding:0 2em 2ch 0;border-bottom:1px solid #ddd;height:17vh}.powerpress-welcome-news .rss-date{font-size:80%}.powerpress-welcome-news .rsswidget{font-size:110%;color:#000;text-decoration:underline}.pp-news-image-container{max-width:33%;overflow:hidden}.pp-news-details-container{height:100%;width:auto;overflow:hidden}.program-status-link{color:#d21919;text-decoration:underline}.pp-settings-program-summary{margin-bottom:4em}.prog-sum-contents,.prog-sum-head{display:inline-block;vertical-align:middle}.prog-sum-head{width:72%}.prog-sum-contents{width:23%;height:100%;position:absolute;margin-left:2em}.pp-settings-podcast-status{margin-top:2ch}.pp-settings-num-episodes,.pp-settings-podcast-status,.pp-settings-recent-post{display:inline-block;vertical-align:top}.pp-settings-recent-post{width:70%}.pp-settings-num-episodes{width:16%;margin-left:3em}.pp-settings-welcome-text{display:inline-block;vertical-align:top;width:65%;margin-left:1ch}#welcome-preview-image{width:30%;height:auto;display:inline-block}.destinations-side-text{line-height:36px}.directory-summary-head{vertical-align:middle}.destinations-side-icon{background-image:url(../images/modern_icon_sprite_2020.svg);margin-right:15px;display:inline-block;width:36px;height:36px;border:0;background-repeat:no-repeat;background-size:50px;vertical-align:middle}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.pp-sidenav .destinations-side-icon{background-image:url(../images/modern-icon-sprite.png)}}span[id^=apple-icon]{background-position:-5px -10px}span[id^=android-icon]{background-position:-5px -60px}span[id^=email-icon]{background-position:-5px -111px}span[id^=google-icon]{background-position:-5px -160px}span[id^=stitcher-icon]{background-position:-7px -210px}span[id^=tunein-icon]{background-position:-7px -260px}span[id^=spotify-icon]{background-position:-5px -312px}span[id^=iheart-icon]{background-position:-5px -461px}span[id^=deezer-icon]{background-position:-5px -512px}span[id^=pandora-icon]{background-position:-5px -560px}span[id^=amazon-icon]{background-position:-5px -1010px}span[id^=pcindex-icon]{background-position:-5px -1060px}span[id^=jiosaavn-icon]{background-position:-5px -1110px}span[id^=podchaser-icon]{background-position:-5px -1160px}span[id^=gaana-icon]{background-position:-5px -1210px}span[id^=all-icon]{background-position:-5px -360px}.pp-settings-footer{border-top:1px solid #eff0f5;margin:3ch;padding-top:2ch}.pp-save-button-container{display:inline-block;float:right}#connect-blubrry-services .button-blubrry{max-width:14em;width:100%}#connected-blubrry-blurb{display:inline-block;width:55%;margin:0 0 0 1ch;text-align:left}#connect-blubrry-blurb{font-size:12px;margin:1ch 1ch 0 4ch}.pp-sidenav{overflow:hidden;background-color:#fff;float:left;min-height:70vh;height:100%;z-index:10000;opacity:1}.pp-sidenav-container{display:inline-block}.pp-sidenav-hidden{display:none}.toggle-sidenav{display:none}.pp-sidenav-tab{background-color:#fff;display:none;border-top:none;padding:3vh 3vw;width:75%;border-left:1px solid #ddd}.pp-sidenav-tab.active{display:inline-block}@media (min-width:651px){.pp-sidenav-toggle-container{width:23%}}@media (max-width:650px){.pp-sidenav{width:100%;overflow:visible}.pp-sidenav-tab{border-left:none}.toggle-sidenav{color:#1a6deb;font-weight:700;font-size:24px;cursor:pointer;padding:.5ch;display:block}}.pp-sidenav button{display:block;font-family:Roboto,sans-serif;font-size:14px;font-weight:600;background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:1vh 2vw 1vh 1vw;transition:.3s;width:100%;text-align:left;line-height:25px}.pp-sidenav button img{height:25px;width:25px;background-color:rgba(255,255,255,0);vertical-align:middle}.pp-sidenav button:hover{background-color:#ddd}.pp-sidenav button.active{border-left:2px solid #1a6deb;color:#1665d8;background-color:#f6f9fd}#powerpress_settings_page{min-height:100vh;margin-top:1em}#connect-blubrry-services{margin:30px 10px 10px 10px;text-align:center;border:1px solid #d0d3db;border-radius:2px;display:inline-block}#blubrry-services-connected-settings,#connect-see-options{padding:3ch 3ch 3ch 1.5ch}#connect-blubrry-button-container{padding:10px;text-align:center;border-top:1px solid #d0d3db}#blubrry-logo-connect{width:42px;height:40px}.pp-settings-section{border-left:3px solid #eff0f5;padding-left:2em;margin-bottom:4em}.pp-settings-section h2{font-weight:700;font-family:Roboto,sans-serif;font-size:20px}.pp-settings-subsection{margin-left:1em;padding:1em 0 1em 1em;border-bottom:1px solid #eff0f5;display:inline-block;width:90%}.pp-settings-subsection-no-border{padding:1em 0 1em 0;display:inline-block;width:90%}.pp-nav-icon{margin:0 25px 0 10px}.pp-directory-icon{margin:0 25px 0 0;vertical-align:middle}h1.pp-heading,h2.pp-heading{font-size:26px;font-family:Roboto,sans-serif;font-weight:700}p.pp-main{font-size:16px;font-family:Roboto,sans-serif;font-weight:700;margin:0;display:block}a.pp-sub,p.pp-sub{font-size:16px;font-family:Roboto,sans-serif;margin:0;display:block}p.pp-sub{color:rgba(0,0,0,.6)}p.pp-label-bottom{font-size:14px;font-family:Roboto,sans-serif;margin:0 0 2em 0;color:rgba(0,0,0,.6)}a.pp-sidenav-extra-text,p.pp-sidenav-extra-text{color:#32373c;font-size:12px;line-height:18px;font-family:Roboto,sans-serif;text-decoration:none;font-weight:700}.pp-sidenav-extra{margin:2vh 2vw}.pp-settings-text{margin-top:0;margin-bottom:2em;font-family:Roboto,sans-serif;font-size:14px;display:block}.pp-settings-text-smaller-margin{margin-top:0;margin-bottom:1em;font-family:Roboto,sans-serif;font-size:14px;display:block}.pp-settings-text-no-margin{margin-top:0;margin-bottom:0;font-family:Roboto,sans-serif;font-size:12px;display:block}.pp-show-subscribe{margin-top:3em}.pp-show-subscribe input.pp-settings-checkbox{margin-top:2px;margin-right:10px}.pp-label-bottom a,.pp-main a,.pp-right-label a,.pp-settings-text a,.pp-sub a{text-decoration:none;color:#2278cf}.pp-right-label{font-size:14px;margin-top:5px}.pp-settings-text-with-label{margin-top:0;margin-bottom:0;font-family:Roboto,sans-serif;font-size:14px}b{font-weight:700}input.pp-settings-checkbox{border:2px solid #d4d8e0;border-radius:3px;height:18px;width:18px;vertical-align:top;margin-top:2ch}input.pp-settings-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.pp-settings-checkbox:checked:disabled{background-color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.2)}input.pp-settings-checkbox:checked:before{content:url(../images/check_white.svg);height:21px;width:21px;margin:-3px 0 0 -4px}input.pp-settings-checkbox:checked+label.pp-checkbox-label{color:#0c74d5}.pp-checkbox-label{font-size:13px;font-family:Roboto,sans-serif}.round-checkbox{border-radius:8px}input.round-checkbox:checked{background-color:#2278cf;border-color:#2278cf}input.round-checkbox:checked:before{color:#2278cf}input[class=pp-settings-radio]{width:22px;height:22px;border:2px solid #b1b1b1;margin-bottom:3.5em}input[class=pp-settings-radio]:checked{border:2px solid #0c74d5}input[class=pp-settings-radio]:checked:before{width:12px;height:12px;margin:3px;background-color:#0c74d5}input[class=pp-settings-radio-small]{width:16px;height:16px;margin-right:8px;background-color:#d8dce6}input[class=pp-settings-radio-small]:checked{border:2px solid #0c74d5;background-color:#0c74d5}input[class=pp-settings-radio-small]:checked:before{width:6px;height:6px;margin:3px;background-color:#d8dce6}input.pp-settings-text-input,input.pp-settings-text-input:focus,textarea.pp-settings-text-input,textarea.pp-settings-text-input:focus{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;padding:2ch 1em 2ch 1em;width:100%}input.pp-settings-text-input-less-wide,input.pp-settings-text-input-less-wide:focus{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;padding:2ch 1em 2ch 1em;width:70%;margin-right:30%}.pp-settings-section h4{margin-top:0;margin-bottom:0;font-weight:700}.powerpress_color_box{float:left;width:24px;height:24px;cursor:pointer;margin:8px 19px 8px 0;border:1px solid #666}label[class^=pp-settings-label]{position:relative;top:9px;padding:0 9px 0 2px;left:9px;background-color:#fff;font-size:12px}label[class^=pp-settings-label-under]{position:relative;top:-2px;padding:0 9px 0 2px;left:9px;background-color:#fff;color:rgba(0,0,0,.6);font-size:12px}select[class^=pp-settings-select]{background-color:#eff0f5;color:rgba(0,0,0,.6);border-radius:4px;padding:1em 1ch 1em 1ch;font-size:14px;font-family:Roboto,sans-serif;font-weight:700;border:none;box-shadow:none;height:auto;width:45%;display:block}select.pp-settings-select-inline{display:inline-block;width:40%;margin-bottom:3ch}.pp-settings-button{box-sizing:border-box;display:inline-block;padding:1.5ch;border:1px solid #d8dce6;border-radius:4px;background:linear-gradient(0deg,#f6f7f9 0,#fff 100%);box-shadow:inset 0 2px 0 0 rgba(255,255,255,.05),0 1px 1px 0 rgba(22,29,37,.05);margin:1em 0 1em 0}.pp-settings-icon{margin:0 10px;width:18px;height:18px}.pp-settings-icon-small{margin:0 5px 0 0;width:16px;height:18px;display:inline-block;vertical-align:middle}.pp-settings-button-label,.pp-settings-icon{vertical-align:middle}.pp-shortcode{padding:1em 3ch 1em 3ch}.pp-shortcode-container{margin:4ch 0}.blubrry-stats-marketing-message{background-image:url(../images/Blubrry_stats_hero_2a.jpg);background-size:cover;background-repeat:no-repeat;background-position:0 25%;padding:1em;border-radius:4px;margin-bottom:1em;width:100%}.blubrry-stats-marketing-text,.blubrry-stats-marketing-text:hover{color:#fff;margin-top:0}a.blubrry-stats-marketing-text{display:inline-block;text-decoration:none}h5.blubrry-stats-marketing-text{margin:0}.pp_white-button-container{padding:.5ch 3em;border:2px solid #fff;border-radius:4px}
|
css/style.css
CHANGED
@@ -1216,4 +1216,106 @@ div.ppn-artwork-inline {
|
|
1216 |
|
1217 |
h1 {
|
1218 |
font-size: 38px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1219 |
}
|
1216 |
|
1217 |
h1 {
|
1218 |
font-size: 38px;
|
1219 |
+
}
|
1220 |
+
|
1221 |
+
.powerpress-blubrry-hosting-marketing {
|
1222 |
+
max-width: 80rem;
|
1223 |
+
margin: 0 auto 2rem auto;
|
1224 |
+
padding: 2ch 2em;
|
1225 |
+
background-color: white;
|
1226 |
+
border-radius: 4px;
|
1227 |
+
border-top: 2px solid rgba(144, 144, 144, 0.25);
|
1228 |
+
}
|
1229 |
+
|
1230 |
+
.hosting-marketing-blubrry-logo {
|
1231 |
+
display: inline-block;
|
1232 |
+
width: 20%;
|
1233 |
+
vertical-align: middle;
|
1234 |
+
}
|
1235 |
+
|
1236 |
+
.hosting-marketing-text-container {
|
1237 |
+
display: inline-block;
|
1238 |
+
margin-left: 2em;
|
1239 |
+
height: 100%;
|
1240 |
+
vertical-align: middle;
|
1241 |
+
}
|
1242 |
+
|
1243 |
+
.hosting-marketing-title {
|
1244 |
+
color: #0c74d5;
|
1245 |
+
font-weight: bold;
|
1246 |
+
}
|
1247 |
+
|
1248 |
+
.hosting-marketing-text {
|
1249 |
+
text-decoration: none;
|
1250 |
+
}
|
1251 |
+
|
1252 |
+
a.hosting-marketing-text {
|
1253 |
+
color: #0c74d5;
|
1254 |
+
}
|
1255 |
+
|
1256 |
+
.hosting-marketing-button {
|
1257 |
+
display: inline-block;
|
1258 |
+
border-radius: 4px;
|
1259 |
+
background-color: #0c74d5;
|
1260 |
+
color: white;
|
1261 |
+
font-family: Roboto, sans-serif;
|
1262 |
+
font-size: 16px;
|
1263 |
+
padding: 1ch 2em 1ch 2em;
|
1264 |
+
cursor: pointer;
|
1265 |
+
text-align: center;
|
1266 |
+
font-weight: bold;
|
1267 |
+
width: 20%;
|
1268 |
+
border: none;
|
1269 |
+
margin-left: 1em;
|
1270 |
+
vertical-align: middle;
|
1271 |
+
}
|
1272 |
+
|
1273 |
+
@media (max-width: 1110px) {
|
1274 |
+
.hosting-marketing-button {
|
1275 |
+
width: 95%;
|
1276 |
+
padding-top: 1em;
|
1277 |
+
padding-bottom: 1em;
|
1278 |
+
margin-right: 1em;
|
1279 |
+
}
|
1280 |
+
.hosting-marketing-text-container {
|
1281 |
+
width: 70% !important;
|
1282 |
+
}
|
1283 |
+
.hosting-marketing-blubrry-logo {
|
1284 |
+
margin-left: 1em;
|
1285 |
+
}
|
1286 |
+
}
|
1287 |
+
|
1288 |
+
@media (max-width: 799px) {
|
1289 |
+
#destinations-blubrry .hosting-marketing-blubrry-logo {
|
1290 |
+
width: 70%;
|
1291 |
+
margin-right: 1em;
|
1292 |
+
margin-bottom: 1em;
|
1293 |
+
margin-left: 0;
|
1294 |
+
}
|
1295 |
+
#destinations-blubrry .hosting-marketing-text-container {
|
1296 |
+
width: 90% !important;
|
1297 |
+
margin-left: 0;
|
1298 |
+
}
|
1299 |
+
}
|
1300 |
+
|
1301 |
+
@media (max-width: 599px) {
|
1302 |
+
#destinations-blubrry .hosting-marketing-blubrry-logo {
|
1303 |
+
width: 80%;
|
1304 |
+
}
|
1305 |
+
}
|
1306 |
+
|
1307 |
+
@media (max-width: 480px) {
|
1308 |
+
.hosting-marketing-blubrry-logo {
|
1309 |
+
width: 90%;
|
1310 |
+
margin-right: 1em;
|
1311 |
+
margin-bottom: 1em;
|
1312 |
+
margin-left: 0;
|
1313 |
+
}
|
1314 |
+
.hosting-marketing-text-container {
|
1315 |
+
width: 90% !important;
|
1316 |
+
margin-left: 0;
|
1317 |
+
}
|
1318 |
+
.hosting-marketing-button {
|
1319 |
+
margin-left: 0;
|
1320 |
+
}
|
1321 |
}
|
css/style.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#test{font-size:80px}.card{min-height:100px;min-width:100px}.well-z-depth-1{min-height:20px;padding:19px;background-color:#f9f9f9;border:1px solid transparent;border-radius:3px;margin:auto auto 20px auto;width:100%}.ppn-container{margin:10px}.ppn-header{text-align:center;font-family:Montserrat,sans-serif}#ppn-header p{font-size:18px}#ppn-header h2{font-size:30px;text-shadow:0 3px 4px rgba(63,63,63,.2);font-weight:400}#ppn-episode h3{color:#1976d2}#ppn-episode i{margin-top:7px;display:block;padding:0 0 0 55px}.jumbotron{background-image:url("../images/ShowPageRedesign_Banner BG Image.jpg");background-size:cover;border:1px solid;padding-right:0;overflow:inherit;margin-bottom:0}.jumbotron .share-icons{position:relative;color:#fff;font-size:25px;background:rgba(25,25,25,.35);width:100%;float:right;height:40px;text-align:center;vertical-align:center}@media screen and (min-width:768px){.container .jumbotron,.container-fluid .jumbotron{padding-right:0!important;padding-left:0!important}}.pp-sub-button{width:100%;height:48px;padding:0;background-color:#888;color:#fff;display:inline-block;margin:10px 0 5px 0;text-decoration:none;text-align:left;vertical-align:middle;line-height:48px;font-size:90%;font-weight:700;overflow:hidden;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2)}.pp-sub-buttons{width:90%!important;margin:0;margin-left:5%;padding:5px;display:inline-block}.twitter{background-image:url(../images/twitter.png);background-position:0 0;background-repeat:no-repeat}.facebook{background-image:url(../images/facebook.png);background-position:0 0;background-repeat:no-repeat}.linkedin{background-image:url(../images/linkedin.png);background-position:0 0;background-repeat:no-repeat}.email{background-image:url(../images/email.png);background-position:0 0;background-repeat:no-repeat}.pp-sub-buttons .pp-sub-img{width:48px;height:48px;border:0;display:inline-block;vertical-align:middle;margin-right:2px}.pp-sub-img{background-image:url(../images/spriteStandard.png);background-repeat:no-repeat;background-size:294px}.pp-sub-itunes{background-color:#732bbe}.pp-sub-mycast{background-color:#003466}.pp-sub-email,.pp-sub-pr{background-color:#337ec9}.pp-sub-bp,.pp-sub-rss{background-color:#f80}.pp-sub-browse{background-color:#1976d2}.pp-sub-android{background-color:#6ab344}.pp-sub-itunes .pp-sub-img{background:url(../images/spriteStandard.png) -49px 0}.pp-sub-rss .pp-sub-img{background:url(../images/spriteStandard.png) 0 -49px}.pp-sub-email .pp-sub-img{background:url(../images/spriteStandard.png) -196px -49px}.pp-sub-pr .pp-sub-img{background:url(../images/spriteStandard.png) -196px 0}.pp-sub-bp .pp-sub-img{background:url(../images/spriteStandard.png) -147px 0}.pp-sub-mycast .pp-sub-img{background:url(../images/spriteStandard.png) 0 -98px}.pp-sub-share .pp-sub-img{background:url(../images/spriteStandard.png) -245px 0}.pp-sub-browse .pp-sub-img{background:url(../images/spriteStandard.png) -49px -98px}.pp-sub-android .pp-sub-img{background:url(../images/spriteStandard.png) -98px -98px}h4{margin:0}.playnow{width:48px;height:48px;float:left;padding:0;margin:0;margin-right:10px;text-decoration:none;text-align:left;vertical-align:top;line-height:48px;overflow:hidden;background:url(../images/spriteStandard.png) -98px 0;background-color:#1976d2;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2)}.share-popup{z-index:5000;position:absolute;color:#000;padding:5px;font-weight:400;width:100%;margin:5px;line-height:normal}.share-popup h2{font-size:20px;margin:5px 0 15px 10px}.share-popup ul{list-style-type:none;padding:0;margin:0}.share-popup ul li{font-weight:400;margin:0 10px;height:28px;width:130px;float:left;font-size:16px}.share-popup ul li a{padding-left:24px}.mycast_popup{display:none;z-index:5000;position:absolute;display:none;background-color:#eee;border:1px solid #999;color:#000;padding:5px;font-weight:400;width:300px;margin:5px}.mycast_popup p{margin-top:10px}.episode-container{box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);transition:all .3s cubic-bezier(.25,.8,.25,1)}.episode-container a{text-decoration:underline;font-size:18px}@media screen and (min-width:768px){#cbocContent{width:100%;height:100%}}.featured-container{overflow:hidden;width:100%;height:235px;display:flex;margin-right:10px}h3{margin-top:0}.featured-container-large{width:100%;display:flex;flex-wrap:wrap;overflow:hidden;height:235px;justify-content:stretch;flex-direction:row;min-height:336px}.featured{overflow:hidden;min-width:100px;display:flex;justify-content:stretch;flex-direction:row;flex-wrap:wrap}.featured-large{min-width:100px;display:flex;justify-content:stretch;flex-direction:row;flex-wrap:wrap;position:inherit;padding-top:15px}.featured-item{width:130px;justify-content:center;background:#f7f7f7}p{margin-block-start:0;margin-block-end:0;margin:0}.title{margin-bottom:0;font-size:small;font-weight:500;margin-left:8px;background:#f7f7f7}.blubrry-icon{color:#fff}.featured-item-container{width:auto;min-width:150px;justify-content:center;border-radius:2px;display:inline-block;height:200px;background:#f7f7f7;margin:1.5rem;position:relative;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);transition:all .3s cubic-bezier(.25,.8,.25,1)}.artwork{width:150px;padding:1px}#results-artwork{padding:1px;border:solid 2px rgba(0,0,0,.1)}.featured-link{text-decoration:none;color:inherit;justify-content:center}.first{border:none}.header-link{color:inherit;text-decoration:none!important}#featured-container .row{content:"";clear:both;display:flex;position:absolute}.row{margin-left:0!important;margin-right:0!important}#featured-column{float:left;min-width:300px}#search-btn{text-decoration:none}.search-container{display:inline-block}.search-container-container{margin:auto;margin-top:20px}@media (min-width:200px){#search.form-control{width:0%!important}}#search.form-control{width:100%!important}.search-button{position:absolute;right:0;top:0;line-height:0;width:37px;height:37px;font-size:34px}.search-container{margin:auto;padding:0;position:relative;width:100%}.no-style-button{background-color:inherit!important;color:transparent!important;border:none!important;position:absolute;right:0;top:0;height:37px;width:37px}.artwork-container{padding-left:0;height:90px!important;width:90px!important}.results-container{overflow-y:auto;min-width:320px;max-width:800px;margin:auto}.result{padding-top:10px;padding-left:20px;height:120px;border-top:1px solid rgba(0,0,0,.2)}.first{border-top:none}.result-text{float:left;margin-top:-10px;margin-left:10px}@media (min-width:300px){.result-text{max-width:200px}}@media (min-width:400px){.result-text{max-width:250px}}@media (min-width:500px){.result-text{max-width:350px}}@media (min-width:600px){.result-text{max-width:400px}}a>h4{color:inherit}.results-header{border-bottom:2px solid rgba(0,0,0,.4);clear:both;display:block;overflow:auto}.header-text{float:right}.page-next{float:right;width:50%;text-align:right}.page-prev{float:left;width:50%}.page-nav{border-top:2px solid rgba(0,0,0,.4);padding-top:20px}.disabled,.disabled:hover{color:grey;text-decoration:none!important}.audio-panel{margin:0;padding:0}#playist ul{list-style:none;margin:0;padding:20px}#playist li{margin:0;padding:0}#playist li,a{transition:all .5s}.list-group-item.active a{text-decoration:none;color:#fff;vertical-align:bottom;border-color:transparent transparent transparent #fff}.list-group-item{vertical-align:bottom}#playist a{display:block;position:relative;width:100%}#playist li a{display:block;text-decoration:none}#playist li:hover{background-color:#333}#playist li a:hover{text-decoration:none;color:#fff}#playist a{color:#fff;text-decoration:none}.last{display:none}#playlist{padding-left:0}.column{float:left;padding:.5%}.row:after{content:"";display:table;clear:both}.play-button-outer{width:2em;height:2em;cursor:pointer;float:left;padding-right:3%}.play-button{margin:0 auto;position:relative;width:0;height:0;border-style:solid;border-width:1em 0 1em 1.75em;border-color:transparent transparent transparent #0a6ebd;opacity:.75}.active .list-group-item .play-button-outer .play-button{border-color:transparent transparent transparent #fff}.play-button-outer:hover .play-button{opacity:1}.active .play-button{border-color:transparent transparent transparent #fff}.item1{grid-area:header}.item2{grid-area:menu}.item3{grid-area:main}.coverart{grid-area:left;margin-left:25px}.player{grid-area:footer}.share-icons{grid-area:share;margin-top:90%}.grid-container{display:grid;grid-template-areas:'header header header header header header header' 'left main main main main main share' 'footer footer footer footer footer footer footer';grid-template-columns:300px auto auto auto auto auto 300px}@media screen and (max-width:425px){.grid-container{display:grid;grid-template-areas:'left left left left left left' 'share share share share share share' 'footer footer footer footer footer footer'}.coverart{margin-left:0}}.grid-container>div{text-align:center;font-size:30px}.caret{display:inline;float:right;border-top:0;border-bottom:6px dashed;border-right:6px solid transparent;border-left:6px solid transparent;color:#1976d2;margin-top:1%;cursor:pointer}li.active p.caret{display:inline;float:right;border-top:6px dashed;border-right:6px solid transparent;border-left:6px solid transparent;border-bottom:0;color:#ffff}.subtitle{margin-block-end:0;margin-left:3%}.mejs__controls,.mejs__mediaelement{background:#eee!important}.mejs__container{border:1px solid #eee}.mejs__container *{color:#020202!important}.mejs__controls button{color:#020101!important}.mejs__controls .mejs__time-rail .mejs__time-total{background:#fff!important}.mejs__controls .mejs__time-rail .mejs__time-current{background:#8f8f8f!important}.mejs__controls .mejs__time-rail .mejs__time-loaded{background:#fff!important}.mejs__controls .mejs__horizontal-volume-slider .mejs__horizontal-volume-total{background:#fff!important}.mejs__controls .mejs__horizontal-volume-slider .mejs__horizontal-volume-current{background:#8f8f8f!important}.category-text{text-decoration:none;font-size:large;font-weight:700}.entry-content a{text-decoration:none!important}.entry-content a:hover{text-decoration:underline}.playbutton{width:48px;height:48px;padding:0;margin:0;display:inline-block;text-decoration:none;text-align:left;vertical-align:top;line-height:48px}.list-group-item{padding:3px}.playbuttoncontainer{float:left;vertical-align:center;margin-right:1%;margin-top:1%}.subshare{vertical-align:text-bottom;display:inline;color:#fff;font-family:Roboto,Arial,Helvetica,sans-serif;padding:5px}a:hover a:focus{color:#fff}.ppn-program-description,.ppn-program-talent-name{text-align:left;font-family:Montserrat,sans-serif;letter-spacing:0;color:#444;font-weight:700;opacity:1}.ppn-program-url a{text-align:left;font-family:Montserrat,sans-serif;letter-spacing:0;color:#1976d2;opacity:1}.ppn-episode-title{color:#444;font-family:Montserrat,sans-serif;font-weight:bolder}.ppn-episode-row{outline:1px solid #707070;padding:20px}.ppn-episode-date{color:#444;font-family:Montserrat,sans-serif;font-style:italic;font-size:larger}.ppn-episode-description{color:#444;font-family:Montserrat,sans-serif;font-size:medium}.ppn-download-link{width:150px;max-width:250px;background-color:#1976d2;text-align:center;min-height:40px}@media screen and (max-width:500px){.ppn-download-link{max-width:100%}}.ppn-download-link div{color:#fff;font-family:Montserrat,sans-serif;font-weight:100;font-size:18px;line-height:40px;vertical-align:middle}.ppn-download-arrow{display:inline-block;background-image:url(../images/download.svg);background-repeat:no-repeat;width:30px;height:30px}.ppn-program-sub-title{color:#444;font-family:Montserrat,sans-serif;font-size:x-large;font-weight:bolder;padding-top:10px}.ppn-program-artwork-cell{outline:1px solid #444}div.ppn-artwork-inline{float:left}.ppn-list-artwork,.ppn-program-artwork{max-width:100%}.ppn-program-row{border:1px solid #707070;padding:20px}.ppn-program-title{margin-top:0;overflow:hidden;text-overflow:ellipsis}@media screen and (max-width:500px){.ppn-program-title{font-size:larger}}.ppn-program-detail *{font-family:Montserrat,sans-serif;color:#444}.ppn-program-detail h2{font-weight:bolder}.sub-success{border:1px solid #06843a;display:flex;width:100%;margin-bottom:10px;color:#06843a}.sub-success-icon{background-color:#06843a;margin:-1px}.sub-success-icon-check{width:100%;height:100%;min-height:50px;min-width:80px;background-size:40px 40px!important;background:url(../images/circlecheck.svg) center no-repeat}.sub-error{border:1px solid #b2201a;display:flex;width:100%;margin-bottom:10px;color:#b2201a}.sub-error-icon{background-color:#b2201a;margin:-1px}.sub-error-icon-check{width:100%;height:100%;min-height:50px;min-width:80px;background-size:40px 40px!important;background:url(../images/circleerror.svg) center no-repeat}@media screen and (min-width:688px){.ppn-form-div{margin-left:0;margin-right:60px}}.sub-alert-text{padding:15px;vertical-align:center}.sub-form{border:1px solid #707070;padding:20px;font-family:Montserrat,sans-serif}.sub-checkbox-cl{display:none}.sub-checkbox-cl-label{display:inline-block;position:relative;vertical-align:middle;margin:5px;cursor:pointer;font-weight:400}.sub-checkbox-cl+.sub-checkbox-cl-label:before{content:'';background:#ddd;border-radius:5px;border:2px solid #ddd;display:inline-block;vertical-align:middle;width:20px;height:20px;padding:2px;margin-right:10px;text-align:center}.sub-checkbox-cl:checked+.sub-checkbox-cl-label:after{content:"";padding:2px;text-align:center;position:absolute;width:1px;height:12px;border:solid #1c7cd5;border-width:0 3px 3px 0;transform:rotate(45deg);-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);top:6px;left:6px}.sub-checkbox-cl:checked{background:#1c7cd5}.sub-btn{width:150px;height:40px;text-align:center;border:none;background-color:#1976d2;color:#fff;font-family:Montserrat,sans-serif}.ppn-grid-header{padding-top:5%}.ppn-grid-rows{position:relative;top:0;left:0;height:100%;width:100%;margin-bottom:20px}.ppn-grid-cell{position:relative;align-content:center}.ppn-grid-img{align-items:center;justify-content:center;display:block}.ppn-grid-title{line-height:1.5em;height:3em;overflow:hidden}.ppn-grid-title:hover{cursor:hand}.ppn-title{font-size:100%;margin-top:5px;padding-bottom:5px}.ppn-title a{color:#fff;font-family:Montserrat,sans-serif}.ppn-img{width:100%;height:100%;max-width:300px!important;max-height:300px!important;position:absolute}.square{width:100%;padding-bottom:100%}.square:after{content:"";display:block;padding-bottom:100%}.app-paragraphs{color:#373a3c;margin:0;font-size:large}.app-form-border{border:none}.tos-color{color:#1976d2}.podcast-filename{margin-top:2%;margin-bottom:1%}.audio-tag-filename{width:100%;margin:2%}.display-inline{display:inline}.display-inline-block{display:inline-block}.podcast-summary-paragraph{color:#000;font-size:small}.text-decoration-none{text-decoration:none}.ppn-subscribe-style{color:#fff;padding:3px}.ppn-share-style{color:#fff;padding:5px}.ppn-margin-bottom{margin-bottom:0}.ppn-claim-style{font-family:Roboto,Arial,Helvetica,sans-serif}.ppn-padding{padding:0}.word-break{word-break:break-all}h1{font-size:38px}
|
1 |
+
#test{font-size:80px}.card{min-height:100px;min-width:100px}.well-z-depth-1{min-height:20px;padding:19px;background-color:#f9f9f9;border:1px solid transparent;border-radius:3px;margin:auto auto 20px auto;width:100%}.ppn-container{margin:10px}.ppn-header{text-align:center;font-family:Montserrat,sans-serif}#ppn-header p{font-size:18px}#ppn-header h2{font-size:30px;text-shadow:0 3px 4px rgba(63,63,63,.2);font-weight:400}#ppn-episode h3{color:#1976d2}#ppn-episode i{margin-top:7px;display:block;padding:0 0 0 55px}.jumbotron{background-image:url("../images/ShowPageRedesign_Banner BG Image.jpg");background-size:cover;border:1px solid;padding-right:0;overflow:inherit;margin-bottom:0}.jumbotron .share-icons{position:relative;color:#fff;font-size:25px;background:rgba(25,25,25,.35);width:100%;float:right;height:40px;text-align:center;vertical-align:center}@media screen and (min-width:768px){.container .jumbotron,.container-fluid .jumbotron{padding-right:0!important;padding-left:0!important}}.pp-sub-button{width:100%;height:48px;padding:0;background-color:#888;color:#fff;display:inline-block;margin:10px 0 5px 0;text-decoration:none;text-align:left;vertical-align:middle;line-height:48px;font-size:90%;font-weight:700;overflow:hidden;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2)}.pp-sub-buttons{width:90%!important;margin:0;margin-left:5%;padding:5px;display:inline-block}.twitter{background-image:url(../images/twitter.png);background-position:0 0;background-repeat:no-repeat}.facebook{background-image:url(../images/facebook.png);background-position:0 0;background-repeat:no-repeat}.linkedin{background-image:url(../images/linkedin.png);background-position:0 0;background-repeat:no-repeat}.email{background-image:url(../images/email.png);background-position:0 0;background-repeat:no-repeat}.pp-sub-buttons .pp-sub-img{width:48px;height:48px;border:0;display:inline-block;vertical-align:middle;margin-right:2px}.pp-sub-img{background-image:url(../images/spriteStandard.png);background-repeat:no-repeat;background-size:294px}.pp-sub-itunes{background-color:#732bbe}.pp-sub-mycast{background-color:#003466}.pp-sub-email,.pp-sub-pr{background-color:#337ec9}.pp-sub-bp,.pp-sub-rss{background-color:#f80}.pp-sub-browse{background-color:#1976d2}.pp-sub-android{background-color:#6ab344}.pp-sub-itunes .pp-sub-img{background:url(../images/spriteStandard.png) -49px 0}.pp-sub-rss .pp-sub-img{background:url(../images/spriteStandard.png) 0 -49px}.pp-sub-email .pp-sub-img{background:url(../images/spriteStandard.png) -196px -49px}.pp-sub-pr .pp-sub-img{background:url(../images/spriteStandard.png) -196px 0}.pp-sub-bp .pp-sub-img{background:url(../images/spriteStandard.png) -147px 0}.pp-sub-mycast .pp-sub-img{background:url(../images/spriteStandard.png) 0 -98px}.pp-sub-share .pp-sub-img{background:url(../images/spriteStandard.png) -245px 0}.pp-sub-browse .pp-sub-img{background:url(../images/spriteStandard.png) -49px -98px}.pp-sub-android .pp-sub-img{background:url(../images/spriteStandard.png) -98px -98px}h4{margin:0}.playnow{width:48px;height:48px;float:left;padding:0;margin:0;margin-right:10px;text-decoration:none;text-align:left;vertical-align:top;line-height:48px;overflow:hidden;background:url(../images/spriteStandard.png) -98px 0;background-color:#1976d2;border-radius:1px;box-shadow:0 1px 4px rgba(0,0,0,.2)}.share-popup{z-index:5000;position:absolute;color:#000;padding:5px;font-weight:400;width:100%;margin:5px;line-height:normal}.share-popup h2{font-size:20px;margin:5px 0 15px 10px}.share-popup ul{list-style-type:none;padding:0;margin:0}.share-popup ul li{font-weight:400;margin:0 10px;height:28px;width:130px;float:left;font-size:16px}.share-popup ul li a{padding-left:24px}.mycast_popup{display:none;z-index:5000;position:absolute;display:none;background-color:#eee;border:1px solid #999;color:#000;padding:5px;font-weight:400;width:300px;margin:5px}.mycast_popup p{margin-top:10px}.episode-container{box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);transition:all .3s cubic-bezier(.25,.8,.25,1)}.episode-container a{text-decoration:underline;font-size:18px}@media screen and (min-width:768px){#cbocContent{width:100%;height:100%}}.featured-container{overflow:hidden;width:100%;height:235px;display:flex;margin-right:10px}h3{margin-top:0}.featured-container-large{width:100%;display:flex;flex-wrap:wrap;overflow:hidden;height:235px;justify-content:stretch;flex-direction:row;min-height:336px}.featured{overflow:hidden;min-width:100px;display:flex;justify-content:stretch;flex-direction:row;flex-wrap:wrap}.featured-large{min-width:100px;display:flex;justify-content:stretch;flex-direction:row;flex-wrap:wrap;position:inherit;padding-top:15px}.featured-item{width:130px;justify-content:center;background:#f7f7f7}p{margin-block-start:0;margin-block-end:0;margin:0}.title{margin-bottom:0;font-size:small;font-weight:500;margin-left:8px;background:#f7f7f7}.blubrry-icon{color:#fff}.featured-item-container{width:auto;min-width:150px;justify-content:center;border-radius:2px;display:inline-block;height:200px;background:#f7f7f7;margin:1.5rem;position:relative;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);transition:all .3s cubic-bezier(.25,.8,.25,1)}.artwork{width:150px;padding:1px}#results-artwork{padding:1px;border:solid 2px rgba(0,0,0,.1)}.featured-link{text-decoration:none;color:inherit;justify-content:center}.first{border:none}.header-link{color:inherit;text-decoration:none!important}#featured-container .row{content:"";clear:both;display:flex;position:absolute}.row{margin-left:0!important;margin-right:0!important}#featured-column{float:left;min-width:300px}#search-btn{text-decoration:none}.search-container{display:inline-block}.search-container-container{margin:auto;margin-top:20px}@media (min-width:200px){#search.form-control{width:0%!important}}#search.form-control{width:100%!important}.search-button{position:absolute;right:0;top:0;line-height:0;width:37px;height:37px;font-size:34px}.search-container{margin:auto;padding:0;position:relative;width:100%}.no-style-button{background-color:inherit!important;color:transparent!important;border:none!important;position:absolute;right:0;top:0;height:37px;width:37px}.artwork-container{padding-left:0;height:90px!important;width:90px!important}.results-container{overflow-y:auto;min-width:320px;max-width:800px;margin:auto}.result{padding-top:10px;padding-left:20px;height:120px;border-top:1px solid rgba(0,0,0,.2)}.first{border-top:none}.result-text{float:left;margin-top:-10px;margin-left:10px}@media (min-width:300px){.result-text{max-width:200px}}@media (min-width:400px){.result-text{max-width:250px}}@media (min-width:500px){.result-text{max-width:350px}}@media (min-width:600px){.result-text{max-width:400px}}a>h4{color:inherit}.results-header{border-bottom:2px solid rgba(0,0,0,.4);clear:both;display:block;overflow:auto}.header-text{float:right}.page-next{float:right;width:50%;text-align:right}.page-prev{float:left;width:50%}.page-nav{border-top:2px solid rgba(0,0,0,.4);padding-top:20px}.disabled,.disabled:hover{color:grey;text-decoration:none!important}.audio-panel{margin:0;padding:0}#playist ul{list-style:none;margin:0;padding:20px}#playist li{margin:0;padding:0}#playist li,a{transition:all .5s}.list-group-item.active a{text-decoration:none;color:#fff;vertical-align:bottom;border-color:transparent transparent transparent #fff}.list-group-item{vertical-align:bottom}#playist a{display:block;position:relative;width:100%}#playist li a{display:block;text-decoration:none}#playist li:hover{background-color:#333}#playist li a:hover{text-decoration:none;color:#fff}#playist a{color:#fff;text-decoration:none}.last{display:none}#playlist{padding-left:0}.column{float:left;padding:.5%}.row:after{content:"";display:table;clear:both}.play-button-outer{width:2em;height:2em;cursor:pointer;float:left;padding-right:3%}.play-button{margin:0 auto;position:relative;width:0;height:0;border-style:solid;border-width:1em 0 1em 1.75em;border-color:transparent transparent transparent #0a6ebd;opacity:.75}.active .list-group-item .play-button-outer .play-button{border-color:transparent transparent transparent #fff}.play-button-outer:hover .play-button{opacity:1}.active .play-button{border-color:transparent transparent transparent #fff}.item1{grid-area:header}.item2{grid-area:menu}.item3{grid-area:main}.coverart{grid-area:left;margin-left:25px}.player{grid-area:footer}.share-icons{grid-area:share;margin-top:90%}.grid-container{display:grid;grid-template-areas:'header header header header header header header' 'left main main main main main share' 'footer footer footer footer footer footer footer';grid-template-columns:300px auto auto auto auto auto 300px}@media screen and (max-width:425px){.grid-container{display:grid;grid-template-areas:'left left left left left left' 'share share share share share share' 'footer footer footer footer footer footer'}.coverart{margin-left:0}}.grid-container>div{text-align:center;font-size:30px}.caret{display:inline;float:right;border-top:0;border-bottom:6px dashed;border-right:6px solid transparent;border-left:6px solid transparent;color:#1976d2;margin-top:1%;cursor:pointer}li.active p.caret{display:inline;float:right;border-top:6px dashed;border-right:6px solid transparent;border-left:6px solid transparent;border-bottom:0;color:#ffff}.subtitle{margin-block-end:0;margin-left:3%}.mejs__controls,.mejs__mediaelement{background:#eee!important}.mejs__container{border:1px solid #eee}.mejs__container *{color:#020202!important}.mejs__controls button{color:#020101!important}.mejs__controls .mejs__time-rail .mejs__time-total{background:#fff!important}.mejs__controls .mejs__time-rail .mejs__time-current{background:#8f8f8f!important}.mejs__controls .mejs__time-rail .mejs__time-loaded{background:#fff!important}.mejs__controls .mejs__horizontal-volume-slider .mejs__horizontal-volume-total{background:#fff!important}.mejs__controls .mejs__horizontal-volume-slider .mejs__horizontal-volume-current{background:#8f8f8f!important}.category-text{text-decoration:none;font-size:large;font-weight:700}.entry-content a{text-decoration:none!important}.entry-content a:hover{text-decoration:underline}.playbutton{width:48px;height:48px;padding:0;margin:0;display:inline-block;text-decoration:none;text-align:left;vertical-align:top;line-height:48px}.list-group-item{padding:3px}.playbuttoncontainer{float:left;vertical-align:center;margin-right:1%;margin-top:1%}.subshare{vertical-align:text-bottom;display:inline;color:#fff;font-family:Roboto,Arial,Helvetica,sans-serif;padding:5px}a:hover a:focus{color:#fff}.ppn-program-description,.ppn-program-talent-name{text-align:left;font-family:Montserrat,sans-serif;letter-spacing:0;color:#444;font-weight:700;opacity:1}.ppn-program-url a{text-align:left;font-family:Montserrat,sans-serif;letter-spacing:0;color:#1976d2;opacity:1}.ppn-episode-title{color:#444;font-family:Montserrat,sans-serif;font-weight:bolder}.ppn-episode-row{outline:1px solid #707070;padding:20px}.ppn-episode-date{color:#444;font-family:Montserrat,sans-serif;font-style:italic;font-size:larger}.ppn-episode-description{color:#444;font-family:Montserrat,sans-serif;font-size:medium}.ppn-download-link{width:150px;max-width:250px;background-color:#1976d2;text-align:center;min-height:40px}@media screen and (max-width:500px){.ppn-download-link{max-width:100%}}.ppn-download-link div{color:#fff;font-family:Montserrat,sans-serif;font-weight:100;font-size:18px;line-height:40px;vertical-align:middle}.ppn-download-arrow{display:inline-block;background-image:url(../images/download.svg);background-repeat:no-repeat;width:30px;height:30px}.ppn-program-sub-title{color:#444;font-family:Montserrat,sans-serif;font-size:x-large;font-weight:bolder;padding-top:10px}.ppn-program-artwork-cell{outline:1px solid #444}div.ppn-artwork-inline{float:left}.ppn-list-artwork,.ppn-program-artwork{max-width:100%}.ppn-program-row{border:1px solid #707070;padding:20px}.ppn-program-title{margin-top:0;overflow:hidden;text-overflow:ellipsis}@media screen and (max-width:500px){.ppn-program-title{font-size:larger}}.ppn-program-detail *{font-family:Montserrat,sans-serif;color:#444}.ppn-program-detail h2{font-weight:bolder}.sub-success{border:1px solid #06843a;display:flex;width:100%;margin-bottom:10px;color:#06843a}.sub-success-icon{background-color:#06843a;margin:-1px}.sub-success-icon-check{width:100%;height:100%;min-height:50px;min-width:80px;background-size:40px 40px!important;background:url(../images/circlecheck.svg) center no-repeat}.sub-error{border:1px solid #b2201a;display:flex;width:100%;margin-bottom:10px;color:#b2201a}.sub-error-icon{background-color:#b2201a;margin:-1px}.sub-error-icon-check{width:100%;height:100%;min-height:50px;min-width:80px;background-size:40px 40px!important;background:url(../images/circleerror.svg) center no-repeat}@media screen and (min-width:688px){.ppn-form-div{margin-left:0;margin-right:60px}}.sub-alert-text{padding:15px;vertical-align:center}.sub-form{border:1px solid #707070;padding:20px;font-family:Montserrat,sans-serif}.sub-checkbox-cl{display:none}.sub-checkbox-cl-label{display:inline-block;position:relative;vertical-align:middle;margin:5px;cursor:pointer;font-weight:400}.sub-checkbox-cl+.sub-checkbox-cl-label:before{content:'';background:#ddd;border-radius:5px;border:2px solid #ddd;display:inline-block;vertical-align:middle;width:20px;height:20px;padding:2px;margin-right:10px;text-align:center}.sub-checkbox-cl:checked+.sub-checkbox-cl-label:after{content:"";padding:2px;text-align:center;position:absolute;width:1px;height:12px;border:solid #1c7cd5;border-width:0 3px 3px 0;transform:rotate(45deg);-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);top:6px;left:6px}.sub-checkbox-cl:checked{background:#1c7cd5}.sub-btn{width:150px;height:40px;text-align:center;border:none;background-color:#1976d2;color:#fff;font-family:Montserrat,sans-serif}.ppn-grid-header{padding-top:5%}.ppn-grid-rows{position:relative;top:0;left:0;height:100%;width:100%;margin-bottom:20px}.ppn-grid-cell{position:relative;align-content:center}.ppn-grid-img{align-items:center;justify-content:center;display:block}.ppn-grid-title{line-height:1.5em;height:3em;overflow:hidden}.ppn-grid-title:hover{cursor:hand}.ppn-title{font-size:100%;margin-top:5px;padding-bottom:5px}.ppn-title a{color:#fff;font-family:Montserrat,sans-serif}.ppn-img{width:100%;height:100%;max-width:300px!important;max-height:300px!important;position:absolute}.square{width:100%;padding-bottom:100%}.square:after{content:"";display:block;padding-bottom:100%}.app-paragraphs{color:#373a3c;margin:0;font-size:large}.app-form-border{border:none}.tos-color{color:#1976d2}.podcast-filename{margin-top:2%;margin-bottom:1%}.audio-tag-filename{width:100%;margin:2%}.display-inline{display:inline}.display-inline-block{display:inline-block}.podcast-summary-paragraph{color:#000;font-size:small}.text-decoration-none{text-decoration:none}.ppn-subscribe-style{color:#fff;padding:3px}.ppn-share-style{color:#fff;padding:5px}.ppn-margin-bottom{margin-bottom:0}.ppn-claim-style{font-family:Roboto,Arial,Helvetica,sans-serif}.ppn-padding{padding:0}.word-break{word-break:break-all}h1{font-size:38px}.powerpress-blubrry-hosting-marketing{max-width:80rem;margin:0 auto 2rem auto;padding:2ch 2em;background-color:#fff;border-radius:4px;border-top:2px solid rgba(144,144,144,.25)}.hosting-marketing-blubrry-logo{display:inline-block;width:20%;vertical-align:middle}.hosting-marketing-text-container{display:inline-block;margin-left:2em;height:100%;vertical-align:middle}.hosting-marketing-title{color:#0c74d5;font-weight:700}.hosting-marketing-text{text-decoration:none}a.hosting-marketing-text{color:#0c74d5}.hosting-marketing-button{display:inline-block;border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:16px;padding:1ch 2em 1ch 2em;cursor:pointer;text-align:center;font-weight:700;width:20%;border:none;margin-left:1em;vertical-align:middle}@media (max-width:1110px){.hosting-marketing-button{width:95%;padding-top:1em;padding-bottom:1em;margin-right:1em}.hosting-marketing-text-container{width:70%!important}.hosting-marketing-blubrry-logo{margin-left:1em}}@media (max-width:799px){#destinations-blubrry .hosting-marketing-blubrry-logo{width:70%;margin-right:1em;margin-bottom:1em;margin-left:0}#destinations-blubrry .hosting-marketing-text-container{width:90%!important;margin-left:0}}@media (max-width:599px){#destinations-blubrry .hosting-marketing-blubrry-logo{width:80%}}@media (max-width:480px){.hosting-marketing-blubrry-logo{width:90%;margin-right:1em;margin-bottom:1em;margin-left:0}.hosting-marketing-text-container{width:90%!important;margin-left:0}.hosting-marketing-button{margin-left:0}}
|
images/Blubrry2017Logo-LOWERCASE.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 937.82 299.18"><defs><style>.cls-1{fill:#1976d2;}</style></defs><path class="cls-1" d="M199.11,145.11s13.72-31.35,13-31.94-31.37,18.66-31.37,18.66S143.2,103,141.72,103c-2,0-33.92,26.28-33.92,26.28s-34-24.59-34.76-23.74,11,39.58,11,39.58C34.53,166.19,0,211.71,0,266.87,0,341.6,63.39,402.18,141.6,402.18c80.78,0,141.59-60.58,141.59-135.31C283.19,211.71,248.65,166.18,199.11,145.11ZM213,266.49c-.25-25.55-15.69-47.68-38.26-58.8l5.17-13.07C208,207.78,227.37,235,227.57,266.49Zm32.07,0c-.14-38.58-24.21-71.87-59-87.44l7.47-18.87c42.86,18.47,72.65,59.12,72.71,106.31Z" transform="translate(0 -103)"/><path class="cls-1" d="M353.35,175.53v50a47.56,47.56,0,0,1,14.81-10.27,42.56,42.56,0,0,1,17-3.43q19.74,0,33.53,14.91T432.53,265q0,22.5-14.26,37.64t-33.81,15.14a41.93,41.93,0,0,1-16.2-3.1,49.5,49.5,0,0,1-14.91-10.14v10.65h-25.1V175.53Zm26.58,59.64q-12,0-19.82,8.15t-7.87,21.3q0,13.42,7.87,21.71a26.15,26.15,0,0,0,19.82,8.29,25.7,25.7,0,0,0,19.49-8.43q7.92-8.42,7.92-21.48t-7.78-21.26A25.79,25.79,0,0,0,379.93,235.17Z" transform="translate(0 -103)"/><path class="cls-1" d="M447.83,175.53h25.29V315.18H447.83Z" transform="translate(0 -103)"/><path class="cls-1" d="M493.15,214.42h25.56V263q0,14.18,1.95,19.68a17.18,17.18,0,0,0,6.26,8.56,17.92,17.92,0,0,0,10.63,3.06,18.56,18.56,0,0,0,10.73-3,17.59,17.59,0,0,0,6.54-8.84q1.57-4.35,1.58-18.62V214.42h25.28v42.69q0,26.4-4.17,36.12a39.31,39.31,0,0,1-15,18.2q-9.91,6.35-25.19,6.34-16.58,0-26.81-7.4t-14.4-20.66q-3-9.16-3-33.34Z" transform="translate(0 -103)"/><path class="cls-1" d="M629.31,175.53v50a47.6,47.6,0,0,1,14.82-10.27,42.53,42.53,0,0,1,17-3.43q19.73,0,33.52,14.91T708.49,265q0,22.5-14.26,37.64t-33.8,15.14a41.94,41.94,0,0,1-16.21-3.1,49.5,49.5,0,0,1-14.91-10.14v10.65h-25.1V175.53Zm26.58,59.64a26.37,26.37,0,0,0-19.82,8.15q-7.87,8.15-7.87,21.3,0,13.42,7.87,21.71a26.16,26.16,0,0,0,19.82,8.29,25.7,25.7,0,0,0,19.49-8.43q7.92-8.42,7.92-21.48t-7.78-21.26A25.79,25.79,0,0,0,655.89,235.17Z" transform="translate(0 -103)"/><path class="cls-1" d="M720.65,214.42h21.67v12.69a27,27,0,0,1,9.35-11.39,22.59,22.59,0,0,1,12.78-3.89,23.63,23.63,0,0,1,10.28,2.59l-7.87,21.76a17.38,17.38,0,0,0-7.32-2.22q-5.84,0-9.86,7.23t-4,28.33l.09,4.91v40.75H720.65Z" transform="translate(0 -103)"/><path class="cls-1" d="M778.46,214.42h21.67v12.69a27.09,27.09,0,0,1,9.36-11.39,22.59,22.59,0,0,1,12.78-3.89,23.66,23.66,0,0,1,10.28,2.59l-7.88,21.76a17.38,17.38,0,0,0-7.31-2.22q-5.83,0-9.87,7.23t-4,28.33l.09,4.91v40.75h-25.1Z" transform="translate(0 -103)"/><path class="cls-1" d="M831,214.42h25.84L883,277.64l28.88-63.22h25.91L874.72,352H848.61l20.71-44.38Z" transform="translate(0 -103)"/><path class="cls-1" d="M605.27,364V338.63q0-1.47-.24-6.54h4.24l0,4a6.33,6.33,0,0,1,2.76-3.23,8.78,8.78,0,0,1,4.79-1.36,9.08,9.08,0,0,1,7.31,3.25,12.56,12.56,0,0,1,2.74,8.36,13.07,13.07,0,0,1-2.78,8.58A9.7,9.7,0,0,1,612,353.86a6,6,0,0,1-2.7-2.89v13Zm10.8-12.18a5.69,5.69,0,0,0,4.9-2.35,10.2,10.2,0,0,0,1.73-6.19,10,10,0,0,0-1.73-6.13,5.72,5.72,0,0,0-4.88-2.32,6,6,0,0,0-5.08,2.41,10.17,10.17,0,0,0-1.83,6.33,9.34,9.34,0,0,0,1.8,6A6.12,6.12,0,0,0,616.07,351.82Z" transform="translate(0 -103)"/><path class="cls-1" d="M643,355.09q-5.46,0-8.54-3.25a11.78,11.78,0,0,1-3.09-8.47,12,12,0,0,1,3.11-8.58q3.11-3.27,8.57-3.27t8.47,3.26a12.11,12.11,0,0,1,3,8.59,11.85,11.85,0,0,1-3.07,8.47Q648.36,355.1,643,355.09Zm0-3.29a6.61,6.61,0,0,0,5.44-2.31,9.38,9.38,0,0,0,1.87-6.12,9.54,9.54,0,0,0-1.9-6.22,7.51,7.51,0,0,0-10.89,0,9.49,9.49,0,0,0-1.91,6.22,9.28,9.28,0,0,0,1.9,6.12A6.68,6.68,0,0,0,643,351.8Z" transform="translate(0 -103)"/><path class="cls-1" d="M669.23,355.09a9.52,9.52,0,0,1-7.41-3.19,12.15,12.15,0,0,1-2.89-8.48,14.51,14.51,0,0,1,1.23-6.14,9.74,9.74,0,0,1,3.63-4.21,10.25,10.25,0,0,1,5.65-1.55,8.67,8.67,0,0,1,4.53,1.16,6.51,6.51,0,0,1,2.67,2.79V322h4.06v26.78c0,1.35.07,3.29.16,5.84h-4.11l-.08-3.82a6.49,6.49,0,0,1-2.63,3A8.57,8.57,0,0,1,669.23,355.09Zm.59-3.29a6,6,0,0,0,5.11-2.35,10.08,10.08,0,0,0,1.8-6.3,9.47,9.47,0,0,0-1.82-6,6,6,0,0,0-5-2.32,5.91,5.91,0,0,0-5,2.34,11.66,11.66,0,0,0,0,12.32A5.81,5.81,0,0,0,669.82,351.8Z" transform="translate(0 -103)"/><path class="cls-1" d="M698.15,355.09a11.06,11.06,0,0,1-8.35-3.26,11.57,11.57,0,0,1-3.13-8.35,12,12,0,0,1,3.19-8.65,11.07,11.07,0,0,1,8.38-3.31,10.12,10.12,0,0,1,7.44,2.68l-1.43,2.68a8.37,8.37,0,0,0-5.73-2.05,7.29,7.29,0,0,0-5.56,2.25,9,9,0,0,0-2.12,6.38,8.69,8.69,0,0,0,2.06,6.08,7.11,7.11,0,0,0,5.56,2.26,9.77,9.77,0,0,0,6.14-2.11l1.28,2.92A12.27,12.27,0,0,1,698.15,355.09Z" transform="translate(0 -103)"/><path class="cls-1" d="M720.74,355.09a10.81,10.81,0,0,1-4.58-.94,9.27,9.27,0,0,1-3.38-2.56,11.43,11.43,0,0,1-2-3.73,13.93,13.93,0,0,1-.71-4.51,13.5,13.5,0,0,1,1.28-6,10.38,10.38,0,0,1,3.74-4.27,10.16,10.16,0,0,1,5.69-1.6,8.43,8.43,0,0,1,4.35,1.16,8,8,0,0,1,3,3v-3.58h4v22.52h-4v-3.84a7.33,7.33,0,0,1-2.87,3.17A8.38,8.38,0,0,1,720.74,355.09Zm.57-3.29a6,6,0,0,0,5.12-2.34,10.17,10.17,0,0,0,1.77-6.29,9.56,9.56,0,0,0-1.8-6,6.11,6.11,0,0,0-5.14-2.32,6.39,6.39,0,0,0-5.34,2.33,9.57,9.57,0,0,0-1.83,6.1,9.81,9.81,0,0,0,1.84,6.18A6.38,6.38,0,0,0,721.31,351.8Z" transform="translate(0 -103)"/><path class="cls-1" d="M747.12,355.09a14.37,14.37,0,0,1-8.61-2.72l1.12-3a13.59,13.59,0,0,0,3.2,1.67,10.87,10.87,0,0,0,4,.75q4.47,0,4.47-3.29a2.31,2.31,0,0,0-1-2.07,19,19,0,0,0-3.92-1.67l-1.94-.65q-1.11-.41-1.89-.75a9.61,9.61,0,0,1-1.57-.89,5.82,5.82,0,0,1-1.28-1.16,5.17,5.17,0,0,1-.78-1.52,6.54,6.54,0,0,1-.29-2,5.87,5.87,0,0,1,.67-2.84,5.05,5.05,0,0,1,1.83-1.95,9.5,9.5,0,0,1,2.57-1.08,12.1,12.1,0,0,1,3-.36,13.55,13.55,0,0,1,7.5,2l-1.12,2.89a12.51,12.51,0,0,0-5.92-1.58,6.29,6.29,0,0,0-3.36.75,2.37,2.37,0,0,0-1.19,2.11,2.2,2.2,0,0,0,.72,1.81,11.21,11.21,0,0,0,2.84,1.35l2.26.76c.92.33,1.66.6,2.22.84a13.47,13.47,0,0,1,1.79.93,5.81,5.81,0,0,1,1.47,1.22,5.19,5.19,0,0,1,.85,1.59,6.36,6.36,0,0,1,.34,2.16,6.83,6.83,0,0,1-.68,3.15,5.34,5.34,0,0,1-1.84,2.11,9.15,9.15,0,0,1-2.53,1.13A10.89,10.89,0,0,1,747.12,355.09Z" transform="translate(0 -103)"/><path class="cls-1" d="M772.66,354.61H770.8c-3.19,0-5.38-.6-6.55-1.71s-1.77-3.14-1.77-6.08v-12h-4.32v-2.7h4.41V326.3l3.95-1.17v7h6.1v2.7h-6.1V347a9.42,9.42,0,0,0,.16,1.95,3.44,3.44,0,0,0,.52,1.26,2,2,0,0,0,1.12.76,9.14,9.14,0,0,0,1.73.34,25.67,25.67,0,0,0,2.61.1Z" transform="translate(0 -103)"/><path class="cls-1" d="M778.61,354.61V332.09h4v22.52Zm0-28.2v-3.76h4v3.76Z" transform="translate(0 -103)"/><path class="cls-1" d="M790.13,354.61V338.32c0-1,0-2,0-3.05s-.08-1.83-.12-2.37l-.07-.81h4.17l0,3.53a8.11,8.11,0,0,1,3.26-3,9.46,9.46,0,0,1,4.43-1.09c2.83,0,4.93.86,6.27,2.58s2,4.33,2,7.82v12.69h-4V341.94a10.33,10.33,0,0,0-1.09-5.39,4.21,4.21,0,0,0-3.87-1.74,7.15,7.15,0,0,0-4.63,1.72,5.67,5.67,0,0,0-2.26,4v14.11Z" transform="translate(0 -103)"/><path class="cls-1" d="M826.08,363.78a18.54,18.54,0,0,1-8.32-1.91l.64-3.49a15.06,15.06,0,0,0,7.53,2.13,7.61,7.61,0,0,0,5.57-1.93c1.32-1.29,2-3.23,2-5.84v-2.35a7.69,7.69,0,0,1-2.73,2.8,8.21,8.21,0,0,1-4.4,1.11,10.29,10.29,0,0,1-7.63-3,10.93,10.93,0,0,1-3-8.05A14.72,14.72,0,0,1,817,337.2a9.4,9.4,0,0,1,3.61-4.15,10.53,10.53,0,0,1,5.75-1.53,8.24,8.24,0,0,1,4.37,1.1,7.9,7.9,0,0,1,2.79,2.81l.06-3.34h4.17q-.24,3.65-.24,6.06v13.39a16.92,16.92,0,0,1-.66,4.87,11,11,0,0,1-2,3.86,8.83,8.83,0,0,1-3.57,2.59A13.28,13.28,0,0,1,826.08,363.78Zm.51-12.64a6.25,6.25,0,0,0,5.2-2.23,9.34,9.34,0,0,0,1.78-6A9.17,9.17,0,0,0,831.8,337a6,6,0,0,0-4.93-2.21,6.12,6.12,0,0,0-5.07,2.33,9.52,9.52,0,0,0-1.84,6.1,8.89,8.89,0,0,0,1.73,5.83A6,6,0,0,0,826.59,351.14Z" transform="translate(0 -103)"/></svg>
|
images/Blubrry_stats_hero_2a.jpg
ADDED
Binary file
|
images/audio_lines.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg width="16" height="14" viewBox="0 0 16 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.39151 7.51754e-05C3.23501 0.00262693 3.08587 0.0698411 2.97682 0.186966C2.86778 0.304091 2.80774 0.461557 2.80989 0.624805V12.9509C2.80878 13.0325 2.82324 13.1136 2.85244 13.1894C2.88164 13.2652 2.92498 13.3342 2.97996 13.3923C3.03493 13.4505 3.10044 13.4967 3.17268 13.5282C3.24492 13.5597 3.32244 13.576 3.40074 13.576C3.47904 13.576 3.55657 13.5597 3.6288 13.5282C3.70104 13.4967 3.76655 13.4505 3.82152 13.3923C3.8765 13.3342 3.91985 13.2652 3.94904 13.1894C3.97824 13.1136 3.9927 13.0325 3.9916 12.9509V0.624805C3.99268 0.54235 3.97789 0.460506 3.9481 0.384122C3.91831 0.307737 3.87413 0.238364 3.81817 0.18011C3.76222 0.121856 3.69562 0.0759065 3.62234 0.0449821C3.54905 0.0140577 3.47056 -0.00121266 3.39151 7.51754e-05ZM12.8452 7.51754e-05C12.6887 0.00262693 12.5395 0.0698411 12.4305 0.186966C12.3215 0.304091 12.2614 0.461557 12.2636 0.624805V12.9509C12.2624 13.0325 12.2769 13.1136 12.3061 13.1894C12.3353 13.2652 12.3786 13.3342 12.4336 13.3923C12.4886 13.4505 12.5541 13.4967 12.6263 13.5282C12.6986 13.5597 12.7761 13.576 12.8544 13.576C12.9327 13.576 13.0102 13.5597 13.0825 13.5282C13.1547 13.4967 13.2202 13.4505 13.2752 13.3923C13.3302 13.3342 13.3735 13.2652 13.4027 13.1894C13.4319 13.1136 13.4464 13.0325 13.4453 12.9509V0.624805C13.4463 0.54235 13.4316 0.460506 13.4018 0.384122C13.372 0.307737 13.3278 0.238364 13.2718 0.18011C13.2159 0.121856 13.1493 0.0759065 13.076 0.0449821C13.0027 0.0140577 12.9242 -0.00121266 12.8452 7.51754e-05ZM1.02809 2.46529C0.87159 2.46784 0.722451 2.53505 0.613408 2.65218C0.504365 2.7693 0.444327 2.92677 0.44647 3.09002V10.4857C0.445363 10.5673 0.459828 10.6484 0.489024 10.7242C0.51822 10.8 0.561566 10.869 0.616542 10.9271C0.671517 10.9853 0.737027 11.0315 0.809263 11.063C0.881499 11.0945 0.959021 11.1107 1.03732 11.1107C1.11563 11.1107 1.19315 11.0945 1.26539 11.063C1.33762 11.0315 1.40313 10.9853 1.45811 10.9271C1.51308 10.869 1.55643 10.8 1.58562 10.7242C1.61482 10.6484 1.62929 10.5673 1.62818 10.4857V3.09002C1.62926 3.00756 1.61447 2.92572 1.58468 2.84934C1.55489 2.77295 1.51071 2.70358 1.45476 2.64532C1.3988 2.58707 1.33221 2.54112 1.25892 2.5102C1.18563 2.47927 1.10714 2.464 1.02809 2.46529ZM5.75493 3.08159C5.59842 3.08414 5.44929 3.15136 5.34024 3.26848C5.2312 3.38561 5.17116 3.54307 5.1733 3.70632V9.86936C5.1722 9.95102 5.18666 10.0321 5.21586 10.1079C5.24505 10.1837 5.2884 10.2527 5.34338 10.3108C5.39835 10.369 5.46386 10.4152 5.5361 10.4467C5.60833 10.4782 5.68586 10.4944 5.76416 10.4944C5.84246 10.4944 5.91998 10.4782 5.99222 10.4467C6.06446 10.4152 6.12997 10.369 6.18494 10.3108C6.23992 10.2527 6.28326 10.1837 6.31246 10.1079C6.34166 10.0321 6.35612 9.95102 6.35501 9.86936V3.70632C6.35609 3.62387 6.3413 3.54202 6.31152 3.46564C6.28173 3.38925 6.23755 3.31988 6.18159 3.26163C6.12564 3.20337 6.05904 3.15742 5.98575 3.1265C5.91247 3.09558 5.83397 3.0803 5.75493 3.08159ZM10.4818 3.08159C10.3253 3.08414 10.1761 3.15136 10.0671 3.26848C9.95803 3.38561 9.89799 3.54307 9.90014 3.70632V9.86936C9.89903 9.95102 9.9135 10.0321 9.94269 10.1079C9.97189 10.1837 10.0152 10.2527 10.0702 10.3108C10.1252 10.369 10.1907 10.4152 10.2629 10.4467C10.3352 10.4782 10.4127 10.4944 10.491 10.4944C10.5693 10.4944 10.6468 10.4782 10.7191 10.4467C10.7913 10.4152 10.8568 10.369 10.9118 10.3108C10.9668 10.2527 11.0101 10.1837 11.0393 10.1079C11.0685 10.0321 11.083 9.95102 11.0818 9.86936V3.70632C11.0829 3.62387 11.0681 3.54202 11.0383 3.46564C11.0086 3.38925 10.9644 3.31988 10.9084 3.26163C10.8525 3.20337 10.7859 3.15742 10.7126 3.1265C10.6393 3.09558 10.5608 3.0803 10.4818 3.08159ZM15.2086 4.3142C15.0521 4.31675 14.903 4.38397 14.7939 4.50109C14.6849 4.61821 14.6248 4.77568 14.627 4.93893V8.63675C14.6259 8.71842 14.6403 8.7995 14.6695 8.87529C14.6987 8.95107 14.7421 9.02005 14.797 9.07821C14.852 9.13637 14.9175 9.18255 14.9898 9.21408C15.062 9.2456 15.1395 9.26183 15.2178 9.26183C15.2961 9.26183 15.3737 9.2456 15.4459 9.21408C15.5181 9.18255 15.5836 9.13637 15.6386 9.07821C15.6936 9.02005 15.7369 8.95107 15.7661 8.87529C15.7953 8.7995 15.8098 8.71842 15.8087 8.63675V4.93893C15.8098 4.85647 15.795 4.77463 15.7652 4.69825C15.7354 4.62186 15.6912 4.55249 15.6353 4.49423C15.5793 4.43598 15.5127 4.39003 15.4394 4.35911C15.3661 4.32818 15.2876 4.31291 15.2086 4.3142ZM8.11834 4.9305C7.96184 4.93305 7.8127 5.00027 7.70366 5.11739C7.59462 5.23452 7.53458 5.39198 7.53672 5.55523V8.02045C7.53561 8.10211 7.55008 8.1832 7.57927 8.25898C7.60847 8.33477 7.65182 8.40375 7.70679 8.46191C7.76177 8.52007 7.82728 8.56625 7.89951 8.59777C7.97175 8.62929 8.04927 8.64553 8.12758 8.64553C8.20588 8.64553 8.2834 8.62929 8.35564 8.59777C8.42787 8.56625 8.49338 8.52007 8.54836 8.46191C8.60333 8.40375 8.64668 8.33477 8.67588 8.25898C8.70507 8.1832 8.71954 8.10211 8.71843 8.02045V5.55523C8.71951 5.47278 8.70472 5.39093 8.67493 5.31455C8.64514 5.23816 8.60096 5.16879 8.54501 5.11054C8.48905 5.05228 8.42246 5.00633 8.34917 4.97541C8.27588 4.94449 8.19739 4.92921 8.11834 4.9305Z" fill="#003366"/></svg>
|
images/audio_lines_pink.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg width="16" height="14" viewBox="0 0 16 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.39151 7.51754e-05C3.23501 0.00262693 3.08587 0.0698411 2.97682 0.186966C2.86778 0.304091 2.80774 0.461557 2.80989 0.624805V12.9509C2.80878 13.0325 2.82324 13.1136 2.85244 13.1894C2.88164 13.2652 2.92498 13.3342 2.97996 13.3923C3.03493 13.4505 3.10044 13.4967 3.17268 13.5282C3.24492 13.5597 3.32244 13.576 3.40074 13.576C3.47904 13.576 3.55657 13.5597 3.6288 13.5282C3.70104 13.4967 3.76655 13.4505 3.82152 13.3923C3.8765 13.3342 3.91985 13.2652 3.94904 13.1894C3.97824 13.1136 3.9927 13.0325 3.9916 12.9509V0.624805C3.99268 0.54235 3.97789 0.460506 3.9481 0.384122C3.91831 0.307737 3.87413 0.238364 3.81817 0.18011C3.76222 0.121856 3.69562 0.0759065 3.62234 0.0449821C3.54905 0.0140577 3.47056 -0.00121266 3.39151 7.51754e-05ZM12.8452 7.51754e-05C12.6887 0.00262693 12.5395 0.0698411 12.4305 0.186966C12.3215 0.304091 12.2614 0.461557 12.2636 0.624805V12.9509C12.2624 13.0325 12.2769 13.1136 12.3061 13.1894C12.3353 13.2652 12.3786 13.3342 12.4336 13.3923C12.4886 13.4505 12.5541 13.4967 12.6263 13.5282C12.6986 13.5597 12.7761 13.576 12.8544 13.576C12.9327 13.576 13.0102 13.5597 13.0825 13.5282C13.1547 13.4967 13.2202 13.4505 13.2752 13.3923C13.3302 13.3342 13.3735 13.2652 13.4027 13.1894C13.4319 13.1136 13.4464 13.0325 13.4453 12.9509V0.624805C13.4463 0.54235 13.4316 0.460506 13.4018 0.384122C13.372 0.307737 13.3278 0.238364 13.2718 0.18011C13.2159 0.121856 13.1493 0.0759065 13.076 0.0449821C13.0027 0.0140577 12.9242 -0.00121266 12.8452 7.51754e-05ZM1.02809 2.46529C0.87159 2.46784 0.722451 2.53505 0.613408 2.65218C0.504365 2.7693 0.444327 2.92677 0.44647 3.09002V10.4857C0.445363 10.5673 0.459828 10.6484 0.489024 10.7242C0.51822 10.8 0.561566 10.869 0.616542 10.9271C0.671517 10.9853 0.737027 11.0315 0.809263 11.063C0.881499 11.0945 0.959021 11.1107 1.03732 11.1107C1.11563 11.1107 1.19315 11.0945 1.26539 11.063C1.33762 11.0315 1.40313 10.9853 1.45811 10.9271C1.51308 10.869 1.55643 10.8 1.58562 10.7242C1.61482 10.6484 1.62929 10.5673 1.62818 10.4857V3.09002C1.62926 3.00756 1.61447 2.92572 1.58468 2.84934C1.55489 2.77295 1.51071 2.70358 1.45476 2.64532C1.3988 2.58707 1.33221 2.54112 1.25892 2.5102C1.18563 2.47927 1.10714 2.464 1.02809 2.46529ZM5.75493 3.08159C5.59842 3.08414 5.44929 3.15136 5.34024 3.26848C5.2312 3.38561 5.17116 3.54307 5.1733 3.70632V9.86936C5.1722 9.95102 5.18666 10.0321 5.21586 10.1079C5.24505 10.1837 5.2884 10.2527 5.34338 10.3108C5.39835 10.369 5.46386 10.4152 5.5361 10.4467C5.60833 10.4782 5.68586 10.4944 5.76416 10.4944C5.84246 10.4944 5.91998 10.4782 5.99222 10.4467C6.06446 10.4152 6.12997 10.369 6.18494 10.3108C6.23992 10.2527 6.28326 10.1837 6.31246 10.1079C6.34166 10.0321 6.35612 9.95102 6.35501 9.86936V3.70632C6.35609 3.62387 6.3413 3.54202 6.31152 3.46564C6.28173 3.38925 6.23755 3.31988 6.18159 3.26163C6.12564 3.20337 6.05904 3.15742 5.98575 3.1265C5.91247 3.09558 5.83397 3.0803 5.75493 3.08159ZM10.4818 3.08159C10.3253 3.08414 10.1761 3.15136 10.0671 3.26848C9.95803 3.38561 9.89799 3.54307 9.90014 3.70632V9.86936C9.89903 9.95102 9.9135 10.0321 9.94269 10.1079C9.97189 10.1837 10.0152 10.2527 10.0702 10.3108C10.1252 10.369 10.1907 10.4152 10.2629 10.4467C10.3352 10.4782 10.4127 10.4944 10.491 10.4944C10.5693 10.4944 10.6468 10.4782 10.7191 10.4467C10.7913 10.4152 10.8568 10.369 10.9118 10.3108C10.9668 10.2527 11.0101 10.1837 11.0393 10.1079C11.0685 10.0321 11.083 9.95102 11.0818 9.86936V3.70632C11.0829 3.62387 11.0681 3.54202 11.0383 3.46564C11.0086 3.38925 10.9644 3.31988 10.9084 3.26163C10.8525 3.20337 10.7859 3.15742 10.7126 3.1265C10.6393 3.09558 10.5608 3.0803 10.4818 3.08159ZM15.2086 4.3142C15.0521 4.31675 14.903 4.38397 14.7939 4.50109C14.6849 4.61821 14.6248 4.77568 14.627 4.93893V8.63675C14.6259 8.71842 14.6403 8.7995 14.6695 8.87529C14.6987 8.95107 14.7421 9.02005 14.797 9.07821C14.852 9.13637 14.9175 9.18255 14.9898 9.21408C15.062 9.2456 15.1395 9.26183 15.2178 9.26183C15.2961 9.26183 15.3737 9.2456 15.4459 9.21408C15.5181 9.18255 15.5836 9.13637 15.6386 9.07821C15.6936 9.02005 15.7369 8.95107 15.7661 8.87529C15.7953 8.7995 15.8098 8.71842 15.8087 8.63675V4.93893C15.8098 4.85647 15.795 4.77463 15.7652 4.69825C15.7354 4.62186 15.6912 4.55249 15.6353 4.49423C15.5793 4.43598 15.5127 4.39003 15.4394 4.35911C15.3661 4.32818 15.2876 4.31291 15.2086 4.3142ZM8.11834 4.9305C7.96184 4.93305 7.8127 5.00027 7.70366 5.11739C7.59462 5.23452 7.53458 5.39198 7.53672 5.55523V8.02045C7.53561 8.10211 7.55008 8.1832 7.57927 8.25898C7.60847 8.33477 7.65182 8.40375 7.70679 8.46191C7.76177 8.52007 7.82728 8.56625 7.89951 8.59777C7.97175 8.62929 8.04927 8.64553 8.12758 8.64553C8.20588 8.64553 8.2834 8.62929 8.35564 8.59777C8.42787 8.56625 8.49338 8.52007 8.54836 8.46191C8.60333 8.40375 8.64668 8.33477 8.67588 8.25898C8.70507 8.1832 8.71954 8.10211 8.71843 8.02045V5.55523C8.71951 5.47278 8.70472 5.39093 8.67493 5.31455C8.64514 5.23816 8.60096 5.16879 8.54501 5.11054C8.48905 5.05228 8.42246 5.00633 8.34917 4.97541C8.27588 4.94449 8.19739 4.92921 8.11834 4.9305Z" fill="#86357A"/></svg>
|
images/down_arrow.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.26813 14.2406C7.04565 14.2425 6.82251 14.1543 6.66246 13.9761L1.10628 7.78923C0.817437 7.46759 0.85127 6.97903 1.18185 6.698C1.51243 6.41697 2.01458 6.44989 2.30343 6.77153L6.47409 11.4156L6.47409 1.09345C6.47409 0.666337 6.82996 0.320091 7.26896 0.320091C7.70796 0.320091 8.06383 0.666337 8.06383 1.09345V11.4024L12.2352 6.7707C12.5245 6.44947 13.0267 6.41724 13.3569 6.69872C13.6871 6.98021 13.7202 7.46881 13.4309 7.79005L7.92666 13.9017C7.78364 14.1062 7.54243 14.2406 7.26896 14.2406C7.26868 14.2406 7.2684 14.2406 7.26813 14.2406Z" fill="#003366"/></svg>
|
images/down_arrow_pink.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.26813 14.2406C7.04565 14.2425 6.82251 14.1543 6.66246 13.9761L1.10628 7.78923C0.817437 7.46759 0.85127 6.97903 1.18185 6.698C1.51243 6.41697 2.01458 6.44989 2.30343 6.77153L6.47409 11.4156L6.47409 1.09345C6.47409 0.666337 6.82996 0.320091 7.26896 0.320091C7.70796 0.320091 8.06383 0.666337 8.06383 1.09345V11.4024L12.2352 6.7707C12.5245 6.44947 13.0267 6.41724 13.3569 6.69872C13.6871 6.98021 13.7202 7.46881 13.4309 7.79005L7.92666 13.9017C7.78364 14.1062 7.54243 14.2406 7.26896 14.2406C7.26868 14.2406 7.2684 14.2406 7.26813 14.2406Z" fill="#86357A"/></svg>
|
images/up_arrow.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.26813 0.759417C7.04565 0.757503 6.82251 0.845677 6.66246 1.0239L1.10628 7.21078C0.817437 7.53242 0.85127 8.02097 1.18185 8.302C1.51243 8.58303 2.01458 8.55012 2.30343 8.22848L6.47409 3.58439L6.47409 13.9066C6.47409 14.3337 6.82996 14.6799 7.26896 14.6799C7.70796 14.6799 8.06383 14.3337 8.06383 13.9066V3.59761L12.2352 8.2293C12.5245 8.55054 13.0267 8.58277 13.3569 8.30128C13.6871 8.0198 13.7202 7.5312 13.4309 7.20996L7.92666 1.09835C7.78364 0.893783 7.54243 0.759422 7.26896 0.759422C7.26868 0.759422 7.2684 0.759417 7.26813 0.759417Z" fill="#003366"/></svg>
|
images/up_arrow_pink.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.26813 0.759417C7.04565 0.757503 6.82251 0.845677 6.66246 1.0239L1.10628 7.21078C0.817437 7.53242 0.85127 8.02097 1.18185 8.302C1.51243 8.58303 2.01458 8.55012 2.30343 8.22848L6.47409 3.58439L6.47409 13.9066C6.47409 14.3337 6.82996 14.6799 7.26896 14.6799C7.70796 14.6799 8.06383 14.3337 8.06383 13.9066V3.59761L12.2352 8.2293C12.5245 8.55054 13.0267 8.58277 13.3569 8.30128C13.6871 8.0198 13.7202 7.5312 13.4309 7.20996L7.92666 1.09835C7.78364 0.893783 7.54243 0.759422 7.26896 0.759422C7.26868 0.759422 7.2684 0.759417 7.26813 0.759417Z" fill="#86357A"/></svg>
|
js/admin.js
CHANGED
@@ -106,6 +106,33 @@ function powerpress_openTab(evt, cityName) {
|
|
106 |
}
|
107 |
}
|
108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
function sideNav(evt, cityName) {
|
110 |
// Declare all variables
|
111 |
var i, tabcontent, tablinks, tabs;
|
@@ -128,6 +155,15 @@ function sideNav(evt, cityName) {
|
|
128 |
|
129 |
let icon = target.firstElementChild;
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
// Get all elements with class="pp-tabcontent" and hide them
|
132 |
tabcontent = jQuery(".pp-sidenav-tab");
|
133 |
tabcontent.each(function(index, element) {
|
@@ -162,6 +198,7 @@ function sideNav(evt, cityName) {
|
|
162 |
// Show the current tab, and add an "active" class to the button that opened the tab
|
163 |
desired_tab_contents.attr("class", "pp-sidenav-tab active");
|
164 |
desired_tab.attr("class", "pp-sidenav-tablinks active");
|
|
|
165 |
}
|
166 |
|
167 |
//Controls the three-way explicit setting switch
|
106 |
}
|
107 |
}
|
108 |
|
109 |
+
function powerpress_displaySideNav(el) {
|
110 |
+
let tab = el.id.replace("-toggle-sidenav", "");
|
111 |
+
let sidenav = jQuery('#settings-' + tab + ' .pp-sidenav');
|
112 |
+
if (sidenav.length > 0) {
|
113 |
+
sidenav.each(function(index, element) {
|
114 |
+
jQuery(this).attr('class', 'pp-sidenav-hidden');
|
115 |
+
el.innerText = ">";
|
116 |
+
});
|
117 |
+
let visible_tab_contents = jQuery('.pp-sidenav-tab.to-be-active');
|
118 |
+
visible_tab_contents.each(function(index, element) {
|
119 |
+
jQuery(this).removeClass('to-be-active');
|
120 |
+
jQuery(this).addClass('active')
|
121 |
+
});
|
122 |
+
} else {
|
123 |
+
sidenav = jQuery('#settings-' + tab + ' .pp-sidenav-hidden');
|
124 |
+
sidenav.each(function(index, element) {
|
125 |
+
jQuery(this).attr('class', 'pp-sidenav');
|
126 |
+
el.innerText = "<";
|
127 |
+
});
|
128 |
+
let visible_tab_contents = jQuery('.pp-sidenav-tab.active');
|
129 |
+
visible_tab_contents.each(function(index, element) {
|
130 |
+
jQuery(this).removeClass('active');
|
131 |
+
jQuery(this).addClass('to-be-active')
|
132 |
+
});
|
133 |
+
}
|
134 |
+
}
|
135 |
+
|
136 |
function sideNav(evt, cityName) {
|
137 |
// Declare all variables
|
138 |
var i, tabcontent, tablinks, tabs;
|
155 |
|
156 |
let icon = target.firstElementChild;
|
157 |
|
158 |
+
// Check if we have the sidnav open
|
159 |
+
let toggle_id = target.id.split("-");
|
160 |
+
let to_be_active = jQuery('#settings-' + toggle_id[0] + ' .pp-sidenav');
|
161 |
+
//Hide the sidenav if necessary
|
162 |
+
let width = jQuery(window).width();
|
163 |
+
if (width < 650 && to_be_active.length > 0) {
|
164 |
+
jQuery('#' + toggle_id[0] + '-toggle-sidenav').click();
|
165 |
+
}
|
166 |
+
|
167 |
// Get all elements with class="pp-tabcontent" and hide them
|
168 |
tabcontent = jQuery(".pp-sidenav-tab");
|
169 |
tabcontent.each(function(index, element) {
|
198 |
// Show the current tab, and add an "active" class to the button that opened the tab
|
199 |
desired_tab_contents.attr("class", "pp-sidenav-tab active");
|
200 |
desired_tab.attr("class", "pp-sidenav-tablinks active");
|
201 |
+
|
202 |
}
|
203 |
|
204 |
//Controls the three-way explicit setting switch
|
powerpress-player.php
CHANGED
@@ -195,58 +195,57 @@ function powerpress_shortcode_handler( $attributes, $content = null )
|
|
195 |
$GeneralSettings['custom_feeds'] = array(); // reset this array since we're working with a custom post type
|
196 |
};
|
197 |
}
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
}
|
208 |
-
|
209 |
-
foreach( $GeneralSettings['custom_feeds'] as $feed_slug => $feed_title )
|
210 |
-
{
|
211 |
-
if( isset($GeneralSettings['disable_player']) && isset($GeneralSettings['disable_player'][$feed_slug]) )
|
212 |
-
continue;
|
213 |
-
|
214 |
-
$EpisodeData = powerpress_get_enclosure_data($post->ID, $feed_slug);
|
215 |
-
if( !$EpisodeData && !empty($GeneralSettings['process_podpress']) && $feed_slug == 'podcast' )
|
216 |
-
$EpisodeData = powerpress_get_enclosure_data_podpress($post->ID);
|
217 |
-
|
218 |
-
if( !$EpisodeData )
|
219 |
-
continue;
|
220 |
-
|
221 |
-
if( !empty($EpisodeData['embed']) )
|
222 |
-
$return .= $EpisodeData['embed'];
|
223 |
-
|
224 |
-
// Shortcode over-ride settings:
|
225 |
-
if( !empty($image) )
|
226 |
-
$EpisodeData['image'] = $image;
|
227 |
-
if( !empty($width) )
|
228 |
-
$EpisodeData['width'] = $width;
|
229 |
-
if( !empty($height) )
|
230 |
-
$EpisodeData['height'] = $height;
|
231 |
-
|
232 |
-
if( isset($GeneralSettings['premium_caps']) && $GeneralSettings['premium_caps'] && !powerpress_premium_content_authorized($feed_slug) )
|
233 |
-
{
|
234 |
-
$return .= powerpress_premium_content_message($post->ID, $feed_slug, $EpisodeData);
|
235 |
-
continue;
|
236 |
-
}
|
237 |
-
|
238 |
-
if( !isset($EpisodeData['no_player']) )
|
239 |
-
{
|
240 |
-
do_action('wp_powerpress_player_scripts');
|
241 |
-
$return .= apply_filters('powerpress_player', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData );
|
242 |
-
}
|
243 |
-
if( !isset($EpisodeData['no_links']) )
|
244 |
-
{
|
245 |
-
do_action('wp_powerpress_player_scripts');
|
246 |
-
$return .= apply_filters('powerpress_player_links', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData );
|
247 |
-
$return .= apply_filters('powerpress_player_subscribe_links', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData );
|
248 |
}
|
249 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
}
|
251 |
|
252 |
return $return;
|
195 |
$GeneralSettings['custom_feeds'] = array(); // reset this array since we're working with a custom post type
|
196 |
};
|
197 |
}
|
198 |
+
|
199 |
+
if (is_array($PostTypeSettingsArray)) {
|
200 |
+
foreach ($PostTypeSettingsArray as $feed_slug => $postTypeSettings) {
|
201 |
+
if (!empty($postTypeSettings['title']))
|
202 |
+
$GeneralSettings['custom_feeds'][$feed_slug] = $postTypeSettings['title'];
|
203 |
+
else
|
204 |
+
$GeneralSettings['custom_feeds'][$feed_slug] = $feed_slug;
|
205 |
+
}
|
206 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
}
|
208 |
}
|
209 |
+
|
210 |
+
if (is_array($GeneralSettings['custom_feeds'])) {
|
211 |
+
foreach ($GeneralSettings['custom_feeds'] as $feed_slug => $feed_title) {
|
212 |
+
if (isset($GeneralSettings['disable_player']) && isset($GeneralSettings['disable_player'][$feed_slug]))
|
213 |
+
continue;
|
214 |
+
|
215 |
+
$EpisodeData = powerpress_get_enclosure_data($post->ID, $feed_slug);
|
216 |
+
if (!$EpisodeData && !empty($GeneralSettings['process_podpress']) && $feed_slug == 'podcast')
|
217 |
+
$EpisodeData = powerpress_get_enclosure_data_podpress($post->ID);
|
218 |
+
|
219 |
+
if (!$EpisodeData)
|
220 |
+
continue;
|
221 |
+
|
222 |
+
if (!empty($EpisodeData['embed']))
|
223 |
+
$return .= $EpisodeData['embed'];
|
224 |
+
|
225 |
+
// Shortcode over-ride settings:
|
226 |
+
if (!empty($image))
|
227 |
+
$EpisodeData['image'] = $image;
|
228 |
+
if (!empty($width))
|
229 |
+
$EpisodeData['width'] = $width;
|
230 |
+
if (!empty($height))
|
231 |
+
$EpisodeData['height'] = $height;
|
232 |
+
|
233 |
+
if (isset($GeneralSettings['premium_caps']) && $GeneralSettings['premium_caps'] && !powerpress_premium_content_authorized($feed_slug)) {
|
234 |
+
$return .= powerpress_premium_content_message($post->ID, $feed_slug, $EpisodeData);
|
235 |
+
continue;
|
236 |
+
}
|
237 |
+
|
238 |
+
if (!isset($EpisodeData['no_player'])) {
|
239 |
+
do_action('wp_powerpress_player_scripts');
|
240 |
+
$return .= apply_filters('powerpress_player', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData);
|
241 |
+
}
|
242 |
+
if (!isset($EpisodeData['no_links'])) {
|
243 |
+
do_action('wp_powerpress_player_scripts');
|
244 |
+
$return .= apply_filters('powerpress_player_links', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData);
|
245 |
+
$return .= apply_filters('powerpress_player_subscribe_links', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData);
|
246 |
+
}
|
247 |
+
}
|
248 |
+
}
|
249 |
}
|
250 |
|
251 |
return $return;
|
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.
|
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.
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
@@ -225,13 +225,14 @@ function powerpress_content($content)
|
|
225 |
}; break;
|
226 |
}
|
227 |
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
|
|
235 |
}
|
236 |
}
|
237 |
|
@@ -262,86 +263,76 @@ function powerpress_content($content)
|
|
262 |
|
263 |
if( preg_match_all('/(.?)\[(powerpress)\b(.*?)(?:(\/))?\](?:(.+?)\[\/\2\])?(.?)/s', $content, $matches) )
|
264 |
{
|
265 |
-
if( isset($matches[3]) )
|
266 |
{
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
else
|
280 |
-
{
|
281 |
-
// we don't want to include any players below...
|
282 |
-
$ExcludePlayers = $GeneralSettings['custom_feeds'];
|
283 |
-
}
|
284 |
-
}
|
285 |
}
|
286 |
}
|
287 |
|
288 |
-
// LOOP HERE TO DISPLAY EACH MEDIA TYPE
|
289 |
$new_content = '';
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
$new_content .= apply_filters('powerpress_player', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData );
|
334 |
-
}
|
335 |
-
}
|
336 |
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
|
|
345 |
|
346 |
if( $new_content == '' )
|
347 |
return $content;
|
@@ -1650,11 +1641,6 @@ function powerpress_init()
|
|
1650 |
{
|
1651 |
$GeneralSettings = get_option('powerpress_general');
|
1652 |
|
1653 |
-
if( !empty($GeneralSettings['powerpress-beta-features']) && file_exists(POWERPRESS_ABSPATH.'/powerpressadmin-pts.php') )
|
1654 |
-
{
|
1655 |
-
require_once(POWERPRESS_ABSPATH.'/powerpressadmin-pts.php');
|
1656 |
-
}
|
1657 |
-
|
1658 |
if( empty($GeneralSettings['disable_appearance']) || $GeneralSettings['disable_appearance'] == false )
|
1659 |
{
|
1660 |
require_once( POWERPRESS_ABSPATH.'/powerpress-player.php');
|
@@ -2422,13 +2408,13 @@ function get_the_powerpress_content()
|
|
2422 |
$GeneralSettings['custom_feeds'] = array();
|
2423 |
$GeneralSettings['custom_feeds']['podcast'] = 'Default Podcast Feed';
|
2424 |
|
2425 |
-
|
2426 |
-
|
2427 |
-
|
2428 |
-
|
2429 |
-
|
2430 |
-
|
2431 |
-
|
2432 |
// Handle post type feeds....
|
2433 |
if( !empty($GeneralSettings['posttype_podcasting']) )
|
2434 |
{
|
@@ -2454,13 +2440,14 @@ function get_the_powerpress_content()
|
|
2454 |
}; break;
|
2455 |
}
|
2456 |
|
2457 |
-
|
2458 |
-
|
2459 |
-
|
2460 |
-
|
2461 |
-
|
2462 |
-
|
2463 |
-
|
|
|
2464 |
}
|
2465 |
}
|
2466 |
|
@@ -3429,11 +3416,12 @@ function powerpress_merge_empty_feed_settings($CustomFeedSettings, $FeedSettings
|
|
3429 |
if( !$CustomFeedSettings )
|
3430 |
return $FeedSettings; // If the $CustomFeedSettings is false
|
3431 |
|
3432 |
-
|
3433 |
-
|
3434 |
-
|
3435 |
-
|
3436 |
-
|
|
|
3437 |
|
3438 |
return $FeedSettings;
|
3439 |
}
|
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.6
|
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.6' );
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
225 |
}; break;
|
226 |
}
|
227 |
|
228 |
+
if (is_array($PostTypeSettingsArray)) {
|
229 |
+
foreach ($PostTypeSettingsArray as $feed_slug => $postTypeSettings) {
|
230 |
+
if (!empty($postTypeSettings['title']))
|
231 |
+
$GeneralSettings['custom_feeds'][$feed_slug] = $postTypeSettings['title'];
|
232 |
+
else
|
233 |
+
$GeneralSettings['custom_feeds'][$feed_slug] = $feed_slug;
|
234 |
+
}
|
235 |
+
}
|
236 |
}
|
237 |
}
|
238 |
|
263 |
|
264 |
if( preg_match_all('/(.?)\[(powerpress)\b(.*?)(?:(\/))?\](?:(.+?)\[\/\2\])?(.?)/s', $content, $matches) )
|
265 |
{
|
266 |
+
if( isset($matches[3]) && is_array($matches[3]) )
|
267 |
{
|
268 |
+
foreach ($matches[3] as $key => $row) {
|
269 |
+
$attributes = shortcode_parse_atts($row);
|
270 |
+
if (isset($attributes['url'])) {
|
271 |
+
// not a problem...
|
272 |
+
} else if (isset($attributes['feed'])) {
|
273 |
+
// we want to exclude this feed from the links aera...
|
274 |
+
$ExcludePlayers[$attributes['feed']] = true;
|
275 |
+
} else {
|
276 |
+
// we don't want to include any players below...
|
277 |
+
$ExcludePlayers = $GeneralSettings['custom_feeds'];
|
278 |
+
}
|
279 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
}
|
281 |
}
|
282 |
|
|
|
283 |
$new_content = '';
|
284 |
+
if ( is_array($GeneralSettings['custom_feeds']) ) {
|
285 |
+
// LOOP HERE TO DISPLAY EACH MEDIA TYPE
|
286 |
+
foreach ($GeneralSettings['custom_feeds'] as $feed_slug => $feed_title) {
|
287 |
+
// Get the enclosure data
|
288 |
+
$EpisodeData = powerpress_get_enclosure_data($post->ID, $feed_slug);
|
289 |
+
|
290 |
+
if (!$EpisodeData && !empty($GeneralSettings['process_podpress']) && $feed_slug == 'podcast')
|
291 |
+
$EpisodeData = powerpress_get_enclosure_data_podpress($post->ID);
|
292 |
+
|
293 |
+
if (!$EpisodeData || !$EpisodeData['url'])
|
294 |
+
continue;
|
295 |
+
|
296 |
+
// Just in case, if there's no URL lets escape!
|
297 |
+
if (!$EpisodeData['url'])
|
298 |
+
continue;
|
299 |
+
|
300 |
+
// If the player is not already inserted in the body of the post using the shortcode...
|
301 |
+
//if( preg_match('/\[powerpress(.*)\]/is', $content) == 0 )
|
302 |
+
if (!isset($ExcludePlayers[$feed_slug])) // If the player is not in our exclude list because it's already in the post body somewhere...
|
303 |
+
{
|
304 |
+
if (isset($GeneralSettings['premium_caps']) && $GeneralSettings['premium_caps'] && !powerpress_premium_content_authorized($feed_slug)) {
|
305 |
+
$new_content .= powerpress_premium_content_message($post->ID, $feed_slug, $EpisodeData);
|
306 |
+
} else {
|
307 |
+
if ($GeneralSettings['player_function'] != 3 && $GeneralSettings['player_function'] != 0) // Play in new window only or disabled
|
308 |
+
{
|
309 |
+
do_action('wp_powerpress_player_scripts');
|
310 |
+
$AddDefaultPlayer = empty($EpisodeData['no_player']);
|
311 |
+
|
312 |
+
if ($EpisodeData && !empty($EpisodeData['embed'])) {
|
313 |
+
$new_content .= trim($EpisodeData['embed']);
|
314 |
+
if (!empty($GeneralSettings['embed_replace_player']))
|
315 |
+
$AddDefaultPlayer = false;
|
316 |
+
}
|
317 |
+
|
318 |
+
if ($AddDefaultPlayer) {
|
319 |
+
$image = '';
|
320 |
+
if (isset($EpisodeData['image']) && $EpisodeData['image'] != '')
|
321 |
+
$image = $EpisodeData['image'];
|
322 |
+
|
323 |
+
$new_content .= apply_filters('powerpress_player', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData);
|
324 |
+
}
|
325 |
+
}
|
|
|
|
|
|
|
|
|
326 |
|
327 |
+
if (!isset($EpisodeData['no_links'])) {
|
328 |
+
do_action('wp_powerpress_player_scripts');
|
329 |
+
$new_content .= apply_filters('powerpress_player_links', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData);
|
330 |
+
$new_content .= apply_filters('powerpress_player_subscribe_links', '', powerpress_add_flag_to_redirect_url($EpisodeData['url'], 'p'), $EpisodeData);
|
331 |
+
}
|
332 |
+
}
|
333 |
+
}
|
334 |
+
}
|
335 |
+
}
|
336 |
|
337 |
if( $new_content == '' )
|
338 |
return $content;
|
1641 |
{
|
1642 |
$GeneralSettings = get_option('powerpress_general');
|
1643 |
|
|
|
|
|
|
|
|
|
|
|
1644 |
if( empty($GeneralSettings['disable_appearance']) || $GeneralSettings['disable_appearance'] == false )
|
1645 |
{
|
1646 |
require_once( POWERPRESS_ABSPATH.'/powerpress-player.php');
|
2408 |
$GeneralSettings['custom_feeds'] = array();
|
2409 |
$GeneralSettings['custom_feeds']['podcast'] = 'Default Podcast Feed';
|
2410 |
|
2411 |
+
if (is_array($Temp)){
|
2412 |
+
foreach ($Temp as $feed_slug => $feed_title) {
|
2413 |
+
if ($feed_slug == 'podcast')
|
2414 |
+
continue;
|
2415 |
+
$GeneralSettings['custom_feeds'][$feed_slug] = $feed_title;
|
2416 |
+
}
|
2417 |
+
}
|
2418 |
// Handle post type feeds....
|
2419 |
if( !empty($GeneralSettings['posttype_podcasting']) )
|
2420 |
{
|
2440 |
}; break;
|
2441 |
}
|
2442 |
|
2443 |
+
if (is_array($PostTypeSettingsArray)) {
|
2444 |
+
foreach ($PostTypeSettingsArray as $feed_slug => $postTypeSettings) {
|
2445 |
+
if (!empty($postTypeSettings['title']))
|
2446 |
+
$GeneralSettings['custom_feeds'][$feed_slug] = $postTypeSettings['title'];
|
2447 |
+
else
|
2448 |
+
$GeneralSettings['custom_feeds'][$feed_slug] = $feed_slug;
|
2449 |
+
}
|
2450 |
+
}
|
2451 |
}
|
2452 |
}
|
2453 |
|
3416 |
if( !$CustomFeedSettings )
|
3417 |
return $FeedSettings; // If the $CustomFeedSettings is false
|
3418 |
|
3419 |
+
if (is_array($CustomFeedSettings)) {
|
3420 |
+
foreach ($CustomFeedSettings as $key => $value) {
|
3421 |
+
if ($value !== '' || !isset($FeedSettings[$key]))
|
3422 |
+
$FeedSettings[$key] = $value;
|
3423 |
+
}
|
3424 |
+
}
|
3425 |
|
3426 |
return $FeedSettings;
|
3427 |
}
|
powerpressadmin-basic.php
CHANGED
@@ -125,6 +125,15 @@ jQuery(document).ready(function($) {
|
|
125 |
}
|
126 |
});
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
} );
|
129 |
//-->
|
130 |
</script>
|
@@ -152,12 +161,15 @@ jQuery(document).ready(function($) {
|
|
152 |
</div>
|
153 |
|
154 |
<div id="settings-welcome" class="pp-tabcontent active">
|
155 |
-
<div class="pp-sidenav">
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
|
|
|
|
|
|
161 |
</div>
|
162 |
<button style="display: none;" id="welcome-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'welcome-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
|
163 |
<div id="welcome-all" class="pp-sidenav-tab active">
|
@@ -166,20 +178,23 @@ jQuery(document).ready(function($) {
|
|
166 |
</div>
|
167 |
|
168 |
<div id="settings-feeds" class="pp-tabcontent has-sidenav">
|
169 |
-
<div class="pp-sidenav">
|
170 |
-
<div
|
171 |
-
<
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
|
|
|
|
|
|
183 |
</div>
|
184 |
<div id="feeds-feeds" class="pp-sidenav-tab active">
|
185 |
<?php
|
@@ -227,18 +242,21 @@ jQuery(document).ready(function($) {
|
|
227 |
</div>
|
228 |
|
229 |
<div id="settings-website" class="pp-tabcontent">
|
230 |
-
<div class="pp-sidenav">
|
231 |
-
<div
|
232 |
-
<
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
|
|
|
|
|
|
242 |
</div>
|
243 |
|
244 |
<?php
|
@@ -327,12 +345,15 @@ jQuery(document).ready(function($) {
|
|
327 |
</div>
|
328 |
|
329 |
<div id="settings-advanced" class="pp-tabcontent">
|
330 |
-
<div class="pp-sidenav">
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
|
|
|
|
|
|
336 |
</div>
|
337 |
<?php
|
338 |
powerpressadmin_advanced_options($General, false);
|
@@ -486,7 +507,7 @@ function goToPodcastSEO() {
|
|
486 |
<div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
|
487 |
<p class="pp-main"><?php echo __('PowerPress Playlist Player', 'powerpress'); ?></p>
|
488 |
<p class="pp-sub"><?php echo __('Create playlists for your podcasts.', 'powerpress'); ?>
|
489 |
-
<b><a href="
|
490 |
</p>
|
491 |
</div>
|
492 |
</div>
|
@@ -495,7 +516,7 @@ function goToPodcastSEO() {
|
|
495 |
<div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
|
496 |
<p class="pp-main"><?php echo __('PowerPress Network', 'powerpress'); ?></p>
|
497 |
<p class="pp-sub"><?php echo __('Create a network of podcasts.', 'powerpress'); ?>
|
498 |
-
<b><a href="
|
499 |
</p>
|
500 |
</div>
|
501 |
</div>
|
@@ -650,7 +671,7 @@ function powerpressadmin_edit_blubrry_services($General, $action_url = false, $a
|
|
650 |
<p style="font-size: 125%; margin: 1ch 0 0 1ch">
|
651 |
<strong><a class="button-primary button-blubrry" id="connect-blubrry-button-options"
|
652 |
title="<?php echo esc_attr(__('Blubrry Services Info', 'powerpress')); ?>"
|
653 |
-
href="
|
654 |
target="_blank"><?php echo __('SEE MY OPTIONS', 'powerpress'); ?></a></strong>
|
655 |
</p>
|
656 |
</div>
|
@@ -874,6 +895,11 @@ function powerpressadmin_welcome($GeneralSettings, $FeedSettings, $NewPostQueryS
|
|
874 |
</script>
|
875 |
<div>
|
876 |
<div class="pp-settings-program-summary">
|
|
|
|
|
|
|
|
|
|
|
877 |
<div class="prog-sum-head">
|
878 |
<h2 class="pp-heading" id="welcome-title"><?php echo isset($FeedSettings['title']) ? $FeedSettings['title'] : ''; ?></h2>
|
879 |
<div class="pp-settings-recent-post">
|
@@ -979,7 +1005,7 @@ function powerpressadmin_edit_funding($FeedSettings = false, $feed_slug='podcast
|
|
979 |
<label for="donate_label" class="pp-settings-label"><?php echo __('Donate Label', 'powerpress'); ?></label>
|
980 |
<input class="pp-settings-text-input" type="text" id="donate_label" value="<?php echo esc_attr($FeedSettings['donate_label']); ?>" name="Feed[donate_label]" />
|
981 |
<label for="donate_label" class="pp-settings-label-under"><?php echo __('optional', 'powerpress'); ?></label>
|
982 |
-
<p class="pp-settings-text" style="margin-top: 1em;"><a href="
|
983 |
</div>
|
984 |
<?php
|
985 |
}
|
125 |
}
|
126 |
});
|
127 |
|
128 |
+
//Check screen width and hide the sidenav if necessary
|
129 |
+
let width = jQuery(window).width();
|
130 |
+
if (width < 650) {
|
131 |
+
//Welcome tab sidenav already gets hidden inside the tab functions
|
132 |
+
jQuery('.toggle-sidenav').not("#welcome-toggle-sidenav").each(function(index, element) {
|
133 |
+
jQuery(this).click();
|
134 |
+
});
|
135 |
+
}
|
136 |
+
|
137 |
} );
|
138 |
//-->
|
139 |
</script>
|
161 |
</div>
|
162 |
|
163 |
<div id="settings-welcome" class="pp-tabcontent active">
|
164 |
+
<div class="pp-sidenav-toggle-container">
|
165 |
+
<div id="welcome-toggle-sidenav" class="toggle-sidenav" title="Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
166 |
+
<div class="pp-sidenav">
|
167 |
+
<?php
|
168 |
+
powerpressadmin_edit_blubrry_services($General);
|
169 |
+
?>
|
170 |
+
<div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('POWERPRESS DOCUMENTATION', 'powerpress')); ?></a></div>
|
171 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
172 |
+
</div>
|
173 |
</div>
|
174 |
<button style="display: none;" id="welcome-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'welcome-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
|
175 |
<div id="welcome-all" class="pp-sidenav-tab active">
|
178 |
</div>
|
179 |
|
180 |
<div id="settings-feeds" class="pp-tabcontent has-sidenav">
|
181 |
+
<div class="pp-sidenav-toggle-container">
|
182 |
+
<div id="feeds-toggle-sidenav" class="toggle-sidenav" title="More Feed Settings and Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
183 |
+
<div class="pp-sidenav">
|
184 |
+
<div class="pp-sidenav-extra"><p class="pp-sidenav-extra-text"><b><?php echo htmlspecialchars(__('FEED SETTINGS', 'powerpress')); ?></b></p></div>
|
185 |
+
<button id="feeds-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'feeds-feeds')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/megaphone_gray.svg"><?php echo htmlspecialchars(__('Podcast Feeds', 'powerpress')); ?></button>
|
186 |
+
<button class="pp-sidenav-tablinks" id="feeds-settings-tab" onclick="sideNav(event, 'feeds-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/option_bar_settings_gray.svg"><?php echo htmlspecialchars(__('Feed Settings', 'powerpress')); ?></button>
|
187 |
+
<button class="pp-sidenav-tablinks" id="feeds-artwork-tab" onclick="sideNav(event, 'feeds-artwork')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/camera_gray.svg"><?php echo htmlspecialchars(__('Podcast Artwork', 'powerpress')); ?></button>
|
188 |
+
<button class="pp-sidenav-tablinks" id="feeds-seo-tab" onclick="sideNav(event, 'feeds-seo')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/fileboard_checklist_gray.svg"><?php echo htmlspecialchars(__('Podcast SEO', 'powerpress')); ?></button>
|
189 |
+
<button class="pp-sidenav-tablinks" id="feeds-basic-tab" onclick="sideNav(event, 'feeds-basic')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/edit_gray.svg"><?php echo htmlspecialchars(__('Basic Show Information', 'powerpress')); ?></button>
|
190 |
+
<button class="pp-sidenav-tablinks" id="feeds-rating-tab" onclick="sideNav(event, 'feeds-rating')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/star_favorite_gray.svg"><?php echo htmlspecialchars(__('Rating Settings', 'powerpress')); ?></button>
|
191 |
+
<button class="pp-sidenav-tablinks" id="feeds-apple-tab" onclick="sideNav(event, 'feeds-apple')"><span id="apple-icon-feed" class="destinations-side-icon" style="margin-left: 2px;"></span><span class="destination-side-text" style="margin-left: 6px;"><?php echo htmlspecialchars(__('Apple Settings', 'powerpress')); ?></span></button>
|
192 |
+
<?php
|
193 |
+
powerpressadmin_edit_blubrry_services($General);
|
194 |
+
?>
|
195 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('POWERPRESS DOCUMENTATION', 'powerpress')); ?></a></div>
|
196 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
197 |
+
</div>
|
198 |
</div>
|
199 |
<div id="feeds-feeds" class="pp-sidenav-tab active">
|
200 |
<?php
|
242 |
</div>
|
243 |
|
244 |
<div id="settings-website" class="pp-tabcontent">
|
245 |
+
<div class="pp-sidenav-toggle-container">
|
246 |
+
<div id="website-toggle-sidenav" class="toggle-sidenav" title="More Website Settings and Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
247 |
+
<div class="pp-sidenav">
|
248 |
+
<div class="pp-sidenav-extra"><p class="pp-sidenav-extra-text"><b><?php echo htmlspecialchars(__('WEBSITE SETTINGS', 'powerpress')); ?></b></p></div>
|
249 |
+
<button id="website-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'website-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/desktop_gray.svg"><?php echo htmlspecialchars(__('Website Settings', 'powerpress')); ?></button>
|
250 |
+
<button class="pp-sidenav-tablinks" id="website-blog-tab" onclick="sideNav(event, 'website-blog')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/file_gray.svg"><?php echo htmlspecialchars(__('Blog Posts and Pages', 'powerpress')); ?></button>
|
251 |
+
<button class="pp-sidenav-tablinks" id="website-subscribe-tab" onclick="sideNav(event, 'website-subscribe')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/profile_plus_round_gray.svg"><?php echo htmlspecialchars(__('Subscribe Page', 'powerpress')); ?></button>
|
252 |
+
<button class="pp-sidenav-tablinks" id="website-shortcodes-tab" onclick="sideNav(event, 'website-shortcodes')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/connection_pattern_gray.svg"><?php echo htmlspecialchars(__('PowerPress Shortcodes', 'powerpress')); ?></button>
|
253 |
+
<button class="pp-sidenav-tablinks" id="website-new-window-tab" onclick="sideNav(event, 'website-new-window')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/play_gray.svg"><?php echo htmlspecialchars(__('Play in New Window', 'powerpress')); ?></button>
|
254 |
+
<?php
|
255 |
+
powerpressadmin_edit_blubrry_services($General);
|
256 |
+
?>
|
257 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('POWERPRESS DOCUMENTATION', 'powerpress')); ?></a></div>
|
258 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
259 |
+
</div>
|
260 |
</div>
|
261 |
|
262 |
<?php
|
345 |
</div>
|
346 |
|
347 |
<div id="settings-advanced" class="pp-tabcontent">
|
348 |
+
<div class="pp-sidenav-toggle-container">
|
349 |
+
<div id="advanced-toggle-sidenav" class="toggle-sidenav" title="Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
350 |
+
<div class="pp-sidenav">
|
351 |
+
<?php
|
352 |
+
powerpressadmin_edit_blubrry_services($General);
|
353 |
+
?>
|
354 |
+
<div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('POWERPRESS DOCUMENTATION', 'powerpress')); ?></a></div>
|
355 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
356 |
+
</div>
|
357 |
</div>
|
358 |
<?php
|
359 |
powerpressadmin_advanced_options($General, false);
|
507 |
<div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
|
508 |
<p class="pp-main"><?php echo __('PowerPress Playlist Player', 'powerpress'); ?></p>
|
509 |
<p class="pp-sub"><?php echo __('Create playlists for your podcasts.', 'powerpress'); ?>
|
510 |
+
<b><a href="https://blubrry.com/support/powerpress-documentation/powerpress-playlist-shortcode/" target="_blank">(<?php echo __('learn more', 'powerpress'); ?>)</a></b>
|
511 |
</p>
|
512 |
</div>
|
513 |
</div>
|
516 |
<div class="pp-settings-subsection" style="border-bottom: none; margin-top: 2em;">
|
517 |
<p class="pp-main"><?php echo __('PowerPress Network', 'powerpress'); ?></p>
|
518 |
<p class="pp-sub"><?php echo __('Create a network of podcasts.', 'powerpress'); ?>
|
519 |
+
<b><a href="https://blubrry.com/support/powerpress-documentation/podcast-network/" target="_blank">(<?php echo __('learn more', 'powerpress'); ?>)</a></b>
|
520 |
</p>
|
521 |
</div>
|
522 |
</div>
|
671 |
<p style="font-size: 125%; margin: 1ch 0 0 1ch">
|
672 |
<strong><a class="button-primary button-blubrry" id="connect-blubrry-button-options"
|
673 |
title="<?php echo esc_attr(__('Blubrry Services Info', 'powerpress')); ?>"
|
674 |
+
href="https://blubrry.com/services/podcast-hosting/"
|
675 |
target="_blank"><?php echo __('SEE MY OPTIONS', 'powerpress'); ?></a></strong>
|
676 |
</p>
|
677 |
</div>
|
895 |
</script>
|
896 |
<div>
|
897 |
<div class="pp-settings-program-summary">
|
898 |
+
<?php
|
899 |
+
require_once('powerpressadmin-stats-widget.class.php');
|
900 |
+
$widget = new PowerPressStatsWidget();
|
901 |
+
$widget->powerpress_print_stats_widget();
|
902 |
+
?>
|
903 |
<div class="prog-sum-head">
|
904 |
<h2 class="pp-heading" id="welcome-title"><?php echo isset($FeedSettings['title']) ? $FeedSettings['title'] : ''; ?></h2>
|
905 |
<div class="pp-settings-recent-post">
|
1005 |
<label for="donate_label" class="pp-settings-label"><?php echo __('Donate Label', 'powerpress'); ?></label>
|
1006 |
<input class="pp-settings-text-input" type="text" id="donate_label" value="<?php echo esc_attr($FeedSettings['donate_label']); ?>" name="Feed[donate_label]" />
|
1007 |
<label for="donate_label" class="pp-settings-label-under"><?php echo __('optional', 'powerpress'); ?></label>
|
1008 |
+
<p class="pp-settings-text" style="margin-top: 1em;"><a href="https://blubrry.com/support/powerpress-documentation/syndicating-a-donate-link-in-your-podcast/" target="_blank"><?php echo __('Learn more about syndicating donate links for podcasting', 'powerpress'); ?></a></p>
|
1009 |
</div>
|
1010 |
<?php
|
1011 |
}
|
powerpressadmin-dashboard.php
CHANGED
@@ -133,141 +133,16 @@ jQuery(document).ready(function($) {
|
|
133 |
<?php
|
134 |
}
|
135 |
|
|
|
|
|
|
|
136 |
function powerpress_dashboard_stats_content()
|
137 |
{
|
138 |
-
|
139 |
-
$
|
140 |
-
|
141 |
-
$auth = new PowerPressAuth();
|
142 |
-
|
143 |
-
if( !empty($Settings['disable_dashboard_stats']) )
|
144 |
-
return; // Lets not do anythign to the dashboard for PowerPress Statistics
|
145 |
-
|
146 |
-
// If using user capabilities...
|
147 |
-
if( !empty($Settings['use_caps']) && !current_user_can('view_podcast_stats') )
|
148 |
-
return;
|
149 |
-
|
150 |
-
$content = '';
|
151 |
-
$UserPass = ( !empty($Settings['blubrry_auth']) ? $Settings['blubrry_auth']:'');
|
152 |
-
$Keyword = ( !empty($Settings['blubrry_program_keyword']) ? $Settings['blubrry_program_keyword']:'');
|
153 |
-
$StatsCached = get_option('powerpress_stats');
|
154 |
-
if( empty($StatsCached) )
|
155 |
-
$StatsCached = array();
|
156 |
-
if( !empty($StatsCached['content']) )
|
157 |
-
$content = $StatsCached['content'];
|
158 |
-
if( empty($StatsCached['updated']) )
|
159 |
-
$StatsCached['updated'] = 1; // Some time
|
160 |
-
|
161 |
-
// If no content or it's been over 3 hours...
|
162 |
-
if( !empty($Settings['network_mode']) ) {
|
163 |
-
$content = 'Network mode is enabled, please visit the <a href="https://stats.blubrry.com/" target="_blank">Blubrry.com</a> to see your statistics';
|
164 |
-
}
|
165 |
-
//logged in but no program selected
|
166 |
-
else if (empty($Keyword) && ( $creds || $UserPass && time() > ($StatsCached['updated']+(60*60*3)) ) ) {
|
167 |
-
$content = "No program selected. Please visit the <a href=\"https://stats.blubrry.com/\" target=\"_blank\">Blubrry.com</a> to see your statistics";
|
168 |
-
}
|
169 |
-
else if ($creds) {
|
170 |
-
$success = false;
|
171 |
-
$api_url_array = powerpress_get_api_array();
|
172 |
-
|
173 |
-
$accessToken = powerpress_getAccessToken();
|
174 |
-
$req_url = sprintf('/2/stats/%s/summary.html?nobody=1', $Keyword);
|
175 |
-
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA')?'?'. POWERPRESS_BLUBRRY_API_QSA:'');
|
176 |
-
$new_content = $auth->api($accessToken, $req_url, false, false, 2, false);
|
177 |
-
|
178 |
-
if( $new_content )
|
179 |
-
{
|
180 |
-
update_option('powerpress_stats', array('updated'=>time(), 'content'=>$new_content) );
|
181 |
-
$content = $new_content;
|
182 |
-
$success = true;
|
183 |
-
}
|
184 |
-
|
185 |
-
if( $success == false )
|
186 |
-
{
|
187 |
-
if( empty($StatsCached['retry_count']) )
|
188 |
-
$StatsCached['retry_count'] = 1;
|
189 |
-
else if( $StatsCached['retry_count'] < 24 )
|
190 |
-
$StatsCached['retry_count']++;
|
191 |
-
|
192 |
-
if( $StatsCached['retry_count'] > 12 ) // After 36 hours, if we keep failing to authenticate then lets clear the data and display the authentication notice.
|
193 |
-
{
|
194 |
-
$content = '';
|
195 |
-
}
|
196 |
-
// Update the updated flag so it will not try again for 3 hours...
|
197 |
-
update_option('powerpress_stats', array('updated'=>time(), 'content'=>$content, 'retry_count'=>$StatsCached['retry_count'] ) );
|
198 |
-
}
|
199 |
-
}
|
200 |
-
else if( $UserPass && time() > ($StatsCached['updated']+(60*60*3)) )
|
201 |
-
{
|
202 |
-
$success = false;
|
203 |
-
$api_url_array = powerpress_get_api_array();
|
204 |
-
foreach( $api_url_array as $index=> $api_url )
|
205 |
-
{
|
206 |
-
$req_url = sprintf('%s/stats/%s/summary.html?nobody=1', rtrim($api_url, '/'), $Keyword);
|
207 |
-
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA')?'&'. POWERPRESS_BLUBRRY_API_QSA:'');
|
208 |
-
|
209 |
-
$new_content = powerpress_remote_fopen($req_url, $UserPass, array(), 2); // Only give this 2 seconds to return results
|
210 |
-
if( !$new_content && $api_url == 'https://api.blubrry.com/' ) { // Lets force cURL and see if that helps...
|
211 |
-
$new_content = powerpress_remote_fopen($req_url, $UserPass, array(), 2, false, true); // Only give this 2 seconds to return results
|
212 |
-
}
|
213 |
-
|
214 |
-
if( $new_content )
|
215 |
-
{
|
216 |
-
update_option('powerpress_stats', array('updated'=>time(), 'content'=>$new_content) );
|
217 |
-
$content = $new_content;
|
218 |
-
$success = true;
|
219 |
-
break;
|
220 |
-
}
|
221 |
-
}
|
222 |
-
|
223 |
-
if( $success == false )
|
224 |
-
{
|
225 |
-
if( empty($StatsCached['retry_count']) )
|
226 |
-
$StatsCached['retry_count'] = 1;
|
227 |
-
else if( $StatsCached['retry_count'] < 24 )
|
228 |
-
$StatsCached['retry_count']++;
|
229 |
-
|
230 |
-
if( $StatsCached['retry_count'] > 12 ) // After 36 hours, if we keep failing to authenticate then lets clear the data and display the authentication notice.
|
231 |
-
{
|
232 |
-
$content = '';
|
233 |
-
}
|
234 |
-
// Update the updated flag so it will not try again for 3 hours...
|
235 |
-
update_option('powerpress_stats', array('updated'=>time(), 'content'=>$content, 'retry_count'=>$StatsCached['retry_count'] ) );
|
236 |
-
}
|
237 |
-
}
|
238 |
-
|
239 |
-
if( !$UserPass && !$creds )
|
240 |
-
{
|
241 |
-
$content = sprintf('<p>'. __('Wait a sec! This feature is only available to Blubrry Podcast Community members. Join our community to get %s and access to other valuable %s.', 'powerpress') .'</p>',
|
242 |
-
'<a href="http://create.blubrry.com/resources/podcast-media-download-statistics/basic-statistics/" target="_blank">'. __('Free Podcast Statistics') . '</a>',
|
243 |
-
'<a href="http://create.blubrry.com/resources/" target="_blank">'. __('Services', 'powerpress') . '</a>' );
|
244 |
-
$content .= ' ';
|
245 |
-
$content .= sprintf('<p>'. __('Our %s integrated PowerPress makes podcast publishing simple. Check out the %s on our exciting three-step publishing system!', 'powerpress') .'</p>',
|
246 |
-
'<a href="http://create.blubrry.com/resources/podcast-media-hosting/" target="_blank">'. __('Podcast Hosting', 'powerpress') .'</a>',
|
247 |
-
'<a href="http://create.blubrry.com/resources/powerpress/using-powerpress/blubrry-hosting-with-powerpress/" target="_blank">'. __('Video', 'powerpress') .'</a>' );
|
248 |
-
}
|
249 |
-
else if( empty($content) )
|
250 |
-
{
|
251 |
-
$content = sprintf(__('Error: A network or authentication error occurred. To verify your account, click the link "click here to configure Blubrry Statistics and Hosting services" found in the %s tab.', 'powerpress'), '<a href="'. admin_url("admin.php?page=powerpressadmin_basic") .'#tab2">'.__('Services & Statistics'.'</a>', 'powerpress') );
|
252 |
-
}
|
253 |
-
|
254 |
-
?>
|
255 |
-
<div>
|
256 |
-
<?php
|
257 |
-
echo $content;
|
258 |
-
|
259 |
-
if( $UserPass && empty($Settings['network_mode']) )
|
260 |
-
{
|
261 |
-
?>
|
262 |
-
<div id="blubrry_stats_media_show">
|
263 |
-
<a href="<?php echo admin_url('admin.php'); ?>?action=powerpress-jquery-stats&KeepThis=true&TB_iframe=true&modal=false" title="<?php echo __('Blubrry Media statistics', 'powerpress'); ?>" class="thickbox"><?php echo __('more', 'powerpress'); ?></a>
|
264 |
-
</div>
|
265 |
-
<?php } ?>
|
266 |
-
</div>
|
267 |
-
<?php
|
268 |
}
|
269 |
|
270 |
-
|
271 |
function powerpress_dashboard_news_content()
|
272 |
{
|
273 |
$Settings = get_option('powerpress_general');
|
133 |
<?php
|
134 |
}
|
135 |
|
136 |
+
/**
|
137 |
+
* Prints Blubrry Stats Widget to the WordPress dashboard using the stats widget class
|
138 |
+
*/
|
139 |
function powerpress_dashboard_stats_content()
|
140 |
{
|
141 |
+
require_once('powerpressadmin-stats-widget.class.php');
|
142 |
+
$widget = new PowerPressStatsWidget();
|
143 |
+
$widget->powerpress_print_stats_widget();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
}
|
145 |
|
|
|
146 |
function powerpress_dashboard_news_content()
|
147 |
{
|
148 |
$Settings = get_option('powerpress_general');
|
powerpressadmin-defaults.php
CHANGED
@@ -25,9 +25,9 @@ function powerpressadmin_default_steps($Step = 0, $Heading = true, $ThisPage=tru
|
|
25 |
<?php } ?>
|
26 |
<li class="pp-step-2<?php echo ($Step >= 1? ' pp-step-active':''); ?>">
|
27 |
<h3 class="<?php echo ($Step >= 2? 'pp-step-h-completed':''); ?>"><a href="<?php echo admin_url( 'post-new.php' ); ?>"><?php echo __('Create a blog post with an episode', 'powerpress'); ?></a></h3>
|
28 |
-
<p><a href="
|
29 |
</li>
|
30 |
-
<li class="pp-step-3<?php echo ($Step >= 2? ' pp-step-active':''); ?>"><h3 class="<?php echo ($Step >= 3? 'pp-step-h-completed':''); ?>"><a href="
|
31 |
</ul>
|
32 |
</div><!-- end pp-getting-started-box -->
|
33 |
<?php
|
25 |
<?php } ?>
|
26 |
<li class="pp-step-2<?php echo ($Step >= 1? ' pp-step-active':''); ?>">
|
27 |
<h3 class="<?php echo ($Step >= 2? 'pp-step-h-completed':''); ?>"><a href="<?php echo admin_url( 'post-new.php' ); ?>"><?php echo __('Create a blog post with an episode', 'powerpress'); ?></a></h3>
|
28 |
+
<p><a href="https://blubrry.com/support/powerpress-documentation/creating-your-first-episode-with-powerpress/" target="_blank"><?php echo __('Need help?', 'powerpress'); ?></a>
|
29 |
</li>
|
30 |
+
<li class="pp-step-3<?php echo ($Step >= 2? ' pp-step-active':''); ?>"><h3 class="<?php echo ($Step >= 3? 'pp-step-h-completed':''); ?>"><a href="https://blubrry.com/manual/podcast-promotion/submit-podcast-to-itunes/?podcast-feed=<?php echo urlencode(get_feed_link('podcast')); ?>" target="_blank"><?php echo __('Submit your podcast to iTunes and other podcast directories', 'powerpress'); ?></a></h3></li>
|
31 |
</ul>
|
32 |
</div><!-- end pp-getting-started-box -->
|
33 |
<?php
|
powerpressadmin-editfeed.php
CHANGED
@@ -295,31 +295,37 @@ function powerpress_admin_editfeed($type='', $type_value = '', $feed_slug = fals
|
|
295 |
</div>
|
296 |
|
297 |
<div id="settings-welcome" class="pp-tabcontent active">
|
298 |
-
<div class="pp-sidenav">
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
<?php
|
|
|
|
|
|
|
308 |
</div>
|
309 |
</div>
|
310 |
|
311 |
<div id="settings-feeds" class="pp-tabcontent has-sidenav">
|
312 |
-
<div class="pp-sidenav">
|
313 |
-
<
|
314 |
-
<
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
|
|
|
|
|
|
323 |
</div>
|
324 |
<div id="feeds-settings" class="pp-sidenav-tab active">
|
325 |
<?php powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttribs);
|
@@ -344,14 +350,17 @@ function powerpress_admin_editfeed($type='', $type_value = '', $feed_slug = fals
|
|
344 |
</div>
|
345 |
|
346 |
<div id="settings-website" class="pp-tabcontent">
|
347 |
-
<div class="pp-sidenav">
|
348 |
-
<
|
349 |
-
<
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
|
|
|
|
|
|
355 |
</div>
|
356 |
|
357 |
<?php
|
@@ -417,12 +426,16 @@ function powerpress_admin_editfeed($type='', $type_value = '', $feed_slug = fals
|
|
417 |
?>
|
418 |
</div>
|
419 |
|
420 |
-
<div id="settings-other" class="pp-tabcontent">
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
|
|
|
|
|
|
|
|
426 |
</div>
|
427 |
<button style="display: none;" id="other-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'other-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
|
428 |
<div id="other-all" class="pp-sidenav-tab active">
|
@@ -613,7 +626,7 @@ if( 'utf8mb4' != $GLOBALS['wpdb']->charset )
|
|
613 |
<input class="pp-settings-checkbox" type="checkbox" name="General[rss_emoji]" value="1" <?php if( !empty($General['rss_emoji']) ) echo 'checked '; ?>/>
|
614 |
<div class="pp-settings-subsection">
|
615 |
<p class="pp-main"><?php echo __('Include Emoji in feeds.', 'powerpress'); ?></p>
|
616 |
-
<p class="pp-label-bottom"><a href="https://
|
617 |
</div>
|
618 |
</div>
|
619 |
<?php
|
@@ -1171,7 +1184,7 @@ $AppleCategories = powerpress_apple_categories(true);
|
|
1171 |
</strong>
|
1172 |
</p>
|
1173 |
<p class="pp-settings-text">
|
1174 |
-
<?php echo __('Learn more:', 'powerpress'); ?> <a href="https://
|
1175 |
</p>
|
1176 |
</div>
|
1177 |
<div id="new_feed_url_step_2" style="display: <?php echo ( !empty($FeedSettings['itunes_new_feed_url']) || !empty($FeedSettings['itunes_new_feed_url_podcast']) ?'block':'none'); ?>;">
|
@@ -1218,7 +1231,7 @@ $AppleCategories = powerpress_apple_categories(true);
|
|
1218 |
</p>
|
1219 |
<label class="pp-settings-label-under"><?php echo __('Leave blank for no New Feed URL', 'powerpress'); ?></label>
|
1220 |
|
1221 |
-
<p class="pp-settings-text" style="margin-top: 2em;"><a href="https://
|
1222 |
<p class="pp-settings-text">
|
1223 |
<?php
|
1224 |
if( !$cat_ID && !$feed_slug )
|
295 |
</div>
|
296 |
|
297 |
<div id="settings-welcome" class="pp-tabcontent active">
|
298 |
+
<div class="pp-sidenav-toggle-container">
|
299 |
+
<div id="welcome-toggle-sidenav" class="toggle-sidenav" title="Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
300 |
+
<div class="pp-sidenav">
|
301 |
+
<?php
|
302 |
+
powerpressadmin_edit_blubrry_services($General);
|
303 |
+
?>
|
304 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('POWERPRESS DOCUMENTATION', 'powerpress')); ?></a></div>
|
305 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
306 |
+
</div>
|
307 |
+
<button style="display: none;" id="welcome-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'welcome-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
|
308 |
+
<div id="welcome-all" class="pp-sidenav-tab active">
|
309 |
+
<?php powerpressadmin_welcome($General, $FeedSettings, $NewPostQueryString); ?>
|
310 |
+
</div>
|
311 |
</div>
|
312 |
</div>
|
313 |
|
314 |
<div id="settings-feeds" class="pp-tabcontent has-sidenav">
|
315 |
+
<div class="pp-sidenav-toggle-container">
|
316 |
+
<div id="feeds-toggle-sidenav" class="toggle-sidenav" title="More Feed Settings and Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
317 |
+
<div class="pp-sidenav">
|
318 |
+
<button id="feeds-default-open" class="pp-sidenav-tablinks active" id="feeds-settings-tab" onclick="sideNav(event, 'feeds-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/option_bar_settings_gray.svg"><?php echo htmlspecialchars(__('Feed Settings', 'powerpress')); ?></button>
|
319 |
+
<button class="pp-sidenav-tablinks" id="feeds-artwork-tab" onclick="sideNav(event, 'feeds-artwork')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/camera_gray.svg"><?php echo htmlspecialchars(__('Podcast Artwork', 'powerpress')); ?></button>
|
320 |
+
<button class="pp-sidenav-tablinks" id="feeds-basic-tab" onclick="sideNav(event, 'feeds-basic')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/edit_gray.svg"><?php echo htmlspecialchars(__('Basic Show Information', 'powerpress')); ?></button>
|
321 |
+
<button class="pp-sidenav-tablinks" id="feeds-rating-tab" onclick="sideNav(event, 'feeds-rating')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/star_favorite_gray.svg"><?php echo htmlspecialchars(__('Rating Settings', 'powerpress')); ?></button>
|
322 |
+
<button class="pp-sidenav-tablinks" id="feeds-apple-tab" onclick="sideNav(event, 'feeds-apple')"><span id="apple-icon-feed" class="destinations-side-icon" style="margin-left: 2px;"></span><span class="destination-side-text" style="margin-left: 6px;"><?php echo htmlspecialchars(__('Apple Settings', 'powerpress')); ?></span></button>
|
323 |
+
<?php
|
324 |
+
powerpressadmin_edit_blubrry_services($General);
|
325 |
+
?>
|
326 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('POWERPRESS DOCUMENTATION', 'powerpress')); ?></a></div>
|
327 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
328 |
+
</div>
|
329 |
</div>
|
330 |
<div id="feeds-settings" class="pp-sidenav-tab active">
|
331 |
<?php powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttribs);
|
350 |
</div>
|
351 |
|
352 |
<div id="settings-website" class="pp-tabcontent">
|
353 |
+
<div class="pp-sidenav-toggle-container">
|
354 |
+
<div id="website-toggle-sidenav" class="toggle-sidenav" title="More Website Settings and Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
355 |
+
<div class="pp-sidenav">
|
356 |
+
<button id="website-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'website-settings')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/desktop_gray.svg"><?php echo htmlspecialchars(__('Website Settings', 'powerpress')); ?></button>
|
357 |
+
<button class="pp-sidenav-tablinks" id="website-shortcodes-tab" onclick="sideNav(event, 'website-shortcodes')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/connection_pattern_gray.svg"><?php echo htmlspecialchars(__('PowerPress Shortcodes', 'powerpress')); ?></button>
|
358 |
+
<?php
|
359 |
+
powerpressadmin_edit_blubrry_services($General);
|
360 |
+
?>
|
361 |
+
<div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('POWERPRESS DOCUMENTATION', 'powerpress')); ?></a></div>
|
362 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
363 |
+
</div>
|
364 |
</div>
|
365 |
|
366 |
<?php
|
426 |
?>
|
427 |
</div>
|
428 |
|
429 |
+
<div id="settings-other" class="pp-tabcontent">
|
430 |
+
<div class="pp-sidenav-toggle-container">
|
431 |
+
<div id="other-toggle-sidenav" class="toggle-sidenav" title="Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
432 |
+
<div class="pp-sidenav">
|
433 |
+
<?php
|
434 |
+
powerpressadmin_edit_blubrry_services($General);
|
435 |
+
?>
|
436 |
+
<div class="pp-sidenav-extra" style="margin-top: 10%;"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('POWERPRESS DOCUMENTATION', 'powerpress')); ?></a></div>
|
437 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
438 |
+
</div>
|
439 |
</div>
|
440 |
<button style="display: none;" id="other-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'other-all')"><img class="pp-nav-icon" style="width: 22px;" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg"><?php echo htmlspecialchars(__('Hidden button', 'powerpress')); ?></button>
|
441 |
<div id="other-all" class="pp-sidenav-tab active">
|
626 |
<input class="pp-settings-checkbox" type="checkbox" name="General[rss_emoji]" value="1" <?php if( !empty($General['rss_emoji']) ) echo 'checked '; ?>/>
|
627 |
<div class="pp-settings-subsection">
|
628 |
<p class="pp-main"><?php echo __('Include Emoji in feeds.', 'powerpress'); ?></p>
|
629 |
+
<p class="pp-label-bottom"><a href="https://blubrry.com/support/powerpress-documentation/feeds/#emoji" target="_blank"><?php echo __('Learn more', 'powerpress'); ?></a></p>
|
630 |
</div>
|
631 |
</div>
|
632 |
<?php
|
1184 |
</strong>
|
1185 |
</p>
|
1186 |
<p class="pp-settings-text">
|
1187 |
+
<?php echo __('Learn more:', 'powerpress'); ?> <a href="https://blubrry.com/manual/syndicating-your-podcast-rss-feeds/changing-your-podcast-rss-feed-address-url/" target="_blank"><?php echo __('Changing Your Podcast RSS Feed Address (URL)', 'powerpress'); ?></a>
|
1188 |
</p>
|
1189 |
</div>
|
1190 |
<div id="new_feed_url_step_2" style="display: <?php echo ( !empty($FeedSettings['itunes_new_feed_url']) || !empty($FeedSettings['itunes_new_feed_url_podcast']) ?'block':'none'); ?>;">
|
1231 |
</p>
|
1232 |
<label class="pp-settings-label-under"><?php echo __('Leave blank for no New Feed URL', 'powerpress'); ?></label>
|
1233 |
|
1234 |
+
<p class="pp-settings-text" style="margin-top: 2em;"><a href="https://blubrry.com/manual/syndicating-your-podcast-rss-feeds/changing-your-podcast-rss-feed-address-url/" target="_blank"><?php echo __('More information regarding the iTunes New Feed URL is available here.', 'powerpress'); ?></a></p>
|
1235 |
<p class="pp-settings-text">
|
1236 |
<?php
|
1237 |
if( !$cat_ID && !$feed_slug )
|
powerpressadmin-jquery.php
CHANGED
@@ -61,39 +61,6 @@ function powerpress_admin_jquery_init()
|
|
61 |
$DeleteFile = false;
|
62 |
switch($action)
|
63 |
{
|
64 |
-
case 'powerpress-jquery-stats': {
|
65 |
-
|
66 |
-
// Make sure users have permission to access this
|
67 |
-
if( !empty($Settings['use_caps']) && !current_user_can('view_podcast_stats') )
|
68 |
-
{
|
69 |
-
powerpress_admin_jquery_header( __('Blubrry Media Statistics', 'powerpress') );
|
70 |
-
?>
|
71 |
-
<h2><?php echo __('Blubrry Media Statistics', 'powerpress'); ?></h2>
|
72 |
-
<p><?php echo __('You do not have sufficient permission to manage options.', 'powerpress'); ?></p>
|
73 |
-
<p style="text-align: center;"><a href="#" onclick="self.parent.tb_remove();"><?php echo __('Close', 'powerpress'); ?></a></p>
|
74 |
-
<?php
|
75 |
-
powerpress_admin_jquery_footer();
|
76 |
-
exit;
|
77 |
-
}
|
78 |
-
else if( !current_user_can('edit_posts') )
|
79 |
-
{
|
80 |
-
powerpress_admin_jquery_header( __('Blubrry Media Statistics', 'powerpress') );
|
81 |
-
powerpress_page_message_add_notice( __('You do not have sufficient permission to view media statistics.', 'powerpress') );
|
82 |
-
powerpress_page_message_print();
|
83 |
-
powerpress_admin_jquery_footer();
|
84 |
-
exit;
|
85 |
-
}
|
86 |
-
|
87 |
-
$StatsCached = get_option('powerpress_stats');
|
88 |
-
|
89 |
-
powerpress_admin_jquery_header( __('Blubrry Media Statistics', 'powerpress') );
|
90 |
-
?>
|
91 |
-
<h2><?php echo __('Blubrry Media Statistics', 'powerpress'); ?></h2>
|
92 |
-
<?php
|
93 |
-
echo $StatsCached['content'];
|
94 |
-
powerpress_admin_jquery_footer();
|
95 |
-
exit;
|
96 |
-
}; break;
|
97 |
case 'powerpress-jquery-media-disable': {
|
98 |
|
99 |
if( !current_user_can('edit_posts') )
|
@@ -563,7 +530,7 @@ window.onload = function() {
|
|
563 |
powerpress_byte_size($QuotaData['published']['no_fault_maximum']),
|
564 |
str_replace('.0', '', powerpress_byte_size($QuotaData['published']['total'])));
|
565 |
echo ' ';
|
566 |
-
echo '<a href="
|
567 |
?>
|
568 |
</p>
|
569 |
<p><?php
|
@@ -879,7 +846,7 @@ window.onload = function() {
|
|
879 |
|
880 |
if( $Error )
|
881 |
{
|
882 |
-
$Error .= '<p style="text-align: center;"><a href="
|
883 |
}
|
884 |
}
|
885 |
|
61 |
$DeleteFile = false;
|
62 |
switch($action)
|
63 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
case 'powerpress-jquery-media-disable': {
|
65 |
|
66 |
if( !current_user_can('edit_posts') )
|
530 |
powerpress_byte_size($QuotaData['published']['no_fault_maximum']),
|
531 |
str_replace('.0', '', powerpress_byte_size($QuotaData['published']['total'])));
|
532 |
echo ' ';
|
533 |
+
echo '<a href="https://blubrry.com/support/nofault-documentation/" target="_blank">'. __('Learn More', 'powerpress') .'</a>';
|
534 |
?>
|
535 |
</p>
|
536 |
<p><?php
|
846 |
|
847 |
if( $Error )
|
848 |
{
|
849 |
+
$Error .= '<p style="text-align: center;"><a href="https://blubrry.com/support/powerpress-documentation/services-stats/" target="_blank">'. __('Click Here For Help','powerpress') .'</a></p>';
|
850 |
}
|
851 |
}
|
852 |
|
powerpressadmin-migrate.php
CHANGED
@@ -85,7 +85,7 @@ function powepress_admin_migrate_add_urls($urls)
|
|
85 |
$auth = new PowerPressAuth();
|
86 |
if( empty($Settings['blubrry_auth']) && !$creds )
|
87 |
{
|
88 |
-
powerpress_page_message_add_error( sprintf(__('You must have a blubrry Podcast Hosting account to continue.', 'powerpress')) .' '. '<a href="
|
89 |
return false;
|
90 |
}
|
91 |
|
85 |
$auth = new PowerPressAuth();
|
86 |
if( empty($Settings['blubrry_auth']) && !$creds )
|
87 |
{
|
88 |
+
powerpress_page_message_add_error( sprintf(__('You must have a blubrry Podcast Hosting account to continue.', 'powerpress')) .' '. '<a href="https://blubrry.com/services/podcast-hosting/" target="_blank">'. __('Learn More', 'powerpress') .'</a>', 'inline', false );
|
89 |
return false;
|
90 |
}
|
91 |
|
powerpressadmin-rss-import.php
CHANGED
@@ -1388,7 +1388,7 @@ jQuery(document).ready( function() {
|
|
1388 |
$Settings = get_option('powerpress_general');
|
1389 |
$creds = get_option('powerpress_creds');
|
1390 |
if( empty($Settings['blubrry_auth']) && !$creds ) {
|
1391 |
-
echo '<div class="notice is-dismissible updated"><p>'. sprintf(__('You must have a blubrry Podcast Hosting account to continue.', 'powerpress')) .' '. '<a href="
|
1392 |
$this->m_step = 0; // Drop back a step
|
1393 |
}
|
1394 |
}
|
1388 |
$Settings = get_option('powerpress_general');
|
1389 |
$creds = get_option('powerpress_creds');
|
1390 |
if( empty($Settings['blubrry_auth']) && !$creds ) {
|
1391 |
+
echo '<div class="notice is-dismissible updated"><p>'. sprintf(__('You must have a blubrry Podcast Hosting account to continue.', 'powerpress')) .' '. '<a href="https://blubrry.com/services/podcast-hosting/" target="_blank">'. __('Learn More', 'powerpress') .'</a>'. '</p></div>';
|
1392 |
$this->m_step = 0; // Drop back a step
|
1393 |
}
|
1394 |
}
|
powerpressadmin-search.php
CHANGED
@@ -59,7 +59,7 @@ jQuery(document).ready(function() {
|
|
59 |
<h1 class="pp-heading"><?php echo __('Podcast SEO', 'powerpress'); ?></h1>
|
60 |
<p class="pp-settings-text">
|
61 |
<?php echo __('Enable features to help with podcasting search engine optimization (SEO). The following options can assist your web and podcasting SEO strategies.', 'powerpress'); ?>
|
62 |
-
<a href="
|
63 |
</p>
|
64 |
|
65 |
|
59 |
<h1 class="pp-heading"><?php echo __('Podcast SEO', 'powerpress'); ?></h1>
|
60 |
<p class="pp-settings-text">
|
61 |
<?php echo __('Enable features to help with podcasting search engine optimization (SEO). The following options can assist your web and podcasting SEO strategies.', 'powerpress'); ?>
|
62 |
+
<a href="https://blubrry.com/support/powerpress-documentation/podcasting-seo-settings/" target="_blank"><?php echo __('Learn More', 'powerpress'); ?></a>
|
63 |
</p>
|
64 |
|
65 |
|
powerpressadmin-stats-widget.class.php
ADDED
@@ -0,0 +1,534 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class PowerPressStatsWidget
|
3 |
+
{
|
4 |
+
var $content = array();
|
5 |
+
function __construct() {
|
6 |
+
$this->powerpress_get_stats_data();
|
7 |
+
}
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Prints Blubrry Stats Widget to the WordPress dashboard, first making an API call to refresh the stats if necessary
|
11 |
+
*/
|
12 |
+
function powerpress_get_stats_data()
|
13 |
+
{
|
14 |
+
$Settings = get_option('powerpress_general');
|
15 |
+
$creds = get_option('powerpress_creds');
|
16 |
+
require_once(POWERPRESS_ABSPATH . '/powerpressadmin-auth.class.php');
|
17 |
+
$auth = new PowerPressAuth();
|
18 |
+
|
19 |
+
if (!empty($Settings['disable_dashboard_stats']))
|
20 |
+
return; // Lets not do anythign to the dashboard for PowerPress Statistics
|
21 |
+
|
22 |
+
// If using user capabilities...
|
23 |
+
if (!empty($Settings['use_caps']) && !current_user_can('view_podcast_stats'))
|
24 |
+
return;
|
25 |
+
|
26 |
+
$updating = false;
|
27 |
+
$UserPass = (!empty($Settings['blubrry_auth']) ? $Settings['blubrry_auth'] : '');
|
28 |
+
$Keyword = (!empty($Settings['blubrry_program_keyword']) ? $Settings['blubrry_program_keyword'] : '');
|
29 |
+
$StatsCached = get_option('powerpress_stats');
|
30 |
+
if (empty($StatsCached))
|
31 |
+
$StatsCached = array();
|
32 |
+
if (!empty($StatsCached['content']))
|
33 |
+
$this->content = $StatsCached['content'];
|
34 |
+
if (empty($StatsCached['updated']))
|
35 |
+
$StatsCached['updated'] = 1; // Some time
|
36 |
+
|
37 |
+
// If no content or it's been over 3 hours...
|
38 |
+
if (!empty($Settings['network_mode'])) {
|
39 |
+
$this->content['error'] = 'Multi-program mode is enabled, please visit <a href="https://stats.blubrry.com/" target="_blank">Blubrry.com</a> to see your statistics';
|
40 |
+
} //logged in but no program selected
|
41 |
+
else if (empty($Keyword) && (($creds || $UserPass) && time() > ($StatsCached['updated'] + (60 * 60 * 3)))) {
|
42 |
+
$this->content['error'] = "No program selected. Please visit <a href=\"https://stats.blubrry.com/\" target=\"_blank\">Blubrry.com</a> to see your statistics";
|
43 |
+
} else if ($creds /*&& time() > ($StatsCached['updated'] + (60 * 60 * 3))*/) {
|
44 |
+
$updating = true;
|
45 |
+
$accessToken = powerpress_getAccessToken();
|
46 |
+
$req_url = sprintf('/2/stats/%s/widget/preview.json', $Keyword);
|
47 |
+
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '?' . POWERPRESS_BLUBRRY_API_QSA : '');
|
48 |
+
$new_content = $auth->api($accessToken, $req_url, false, false, 2, true);
|
49 |
+
} else if ($UserPass && time() > ($StatsCached['updated'] + (60 * 60 * 3))) {
|
50 |
+
$updating = true;
|
51 |
+
$success = false;
|
52 |
+
$api_url_array = powerpress_get_api_array();
|
53 |
+
foreach ($api_url_array as $index => $api_url) {
|
54 |
+
$req_url = sprintf('%s/stats/%s/widget/preview.json', rtrim($api_url, '/'), $Keyword);
|
55 |
+
$req_url .= (defined('POWERPRESS_BLUBRRY_API_QSA') ? '&' . POWERPRESS_BLUBRRY_API_QSA : '');
|
56 |
+
|
57 |
+
$json_data = powerpress_remote_fopen($req_url, $UserPass, array(), 2); // Only give this 2 seconds to return results
|
58 |
+
if (!$json_data && $api_url == 'https://api.blubrry.com/') { // Lets force cURL and see if that helps...
|
59 |
+
$json_data = powerpress_remote_fopen($req_url, $UserPass, array(), 2, false, true); // Only give this 2 seconds to return results
|
60 |
+
}
|
61 |
+
if ($json_data != false)
|
62 |
+
break;
|
63 |
+
}
|
64 |
+
if (isset($json_data) && $json_data) {
|
65 |
+
$new_content = powerpress_json_decode($json_data);
|
66 |
+
} else {
|
67 |
+
$new_content = false;
|
68 |
+
}
|
69 |
+
} else if (!$UserPass && !$creds) {
|
70 |
+
$this->content['error'] = "<div class='blubrry-stats-marketing-message'>";
|
71 |
+
$this->content['error'] .= "<h2 class='blubrry-stats-marketing-text'>Free Podcast Statistics</h2>";
|
72 |
+
$this->content['error'] .= "<h4 class='blubrry-stats-marketing-text'>View a summary of your Blubrry statistics right here in PowerPress.</h4>";
|
73 |
+
|
74 |
+
$this->content['error'] .= "<a class='blubrry-stats-marketing-text' href='https://blubrry.com/support/statistics-documentation/basic-statistics/' target='_blank'>";
|
75 |
+
$this->content['error'] .= "<div class='pp_white-button-container'><h5 class='blubrry-stats-marketing-text'>";
|
76 |
+
$this->content['error'] .= __('LEARN MORE', 'powerpress');
|
77 |
+
$this->content['error'] .= "</h5></div></a>";
|
78 |
+
$this->content['error'] .= "</div>";
|
79 |
+
}
|
80 |
+
//No need for an else block--later checks on $this->content, $updating, and $this->content['error'] cover all needed cases
|
81 |
+
|
82 |
+
if (empty($this->content)) {
|
83 |
+
$this->content['error'] = sprintf(__('Error: A network or authentication error occurred. To verify your account, click the link "click here to configure Blubrry Statistics and Hosting services" found in the %s tab.', 'powerpress'), '<a href="' . admin_url("admin.php?page=powerpressadmin_basic") . '#tab2">' . __('Services & Statistics' . '</a>', 'powerpress'));
|
84 |
+
}
|
85 |
+
|
86 |
+
//If we've just called the API, we're need to update the cached stats content
|
87 |
+
if ($updating) {
|
88 |
+
//Check for errors from the API
|
89 |
+
if (!isset($new_content) || !$new_content) {
|
90 |
+
$this->content['error'] = 'Unable to retrieve statistics';
|
91 |
+
$success = false;
|
92 |
+
} elseif (isset($new_content['error'])) {
|
93 |
+
$this->content['error'] = $new_content['error'];
|
94 |
+
$success = false;
|
95 |
+
} else {
|
96 |
+
$this->content = $new_content;
|
97 |
+
update_option('powerpress_stats', array('updated' => time(), 'content' => $new_content));
|
98 |
+
$success = true;
|
99 |
+
}
|
100 |
+
|
101 |
+
if ($success == false) {
|
102 |
+
if (empty($StatsCached['retry_count']))
|
103 |
+
$StatsCached['retry_count'] = 1;
|
104 |
+
else if ($StatsCached['retry_count'] < 24)
|
105 |
+
$StatsCached['retry_count']++;
|
106 |
+
|
107 |
+
if ($StatsCached['retry_count'] > 12) // After 36 hours, if we keep failing to authenticate then lets clear the data and display the authentication notice.
|
108 |
+
{
|
109 |
+
$this->content = '';
|
110 |
+
}
|
111 |
+
// Update the updated flag so it will not try again for 3 hours...
|
112 |
+
update_option('powerpress_stats', array('updated' => time(), 'content' => $this->content, 'retry_count' => $StatsCached['retry_count']));
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
?>
|
117 |
+
<?php
|
118 |
+
}
|
119 |
+
|
120 |
+
function powerpress_print_stats_widget()
|
121 |
+
{
|
122 |
+
echo "<div>";
|
123 |
+
if (isset($this->content['error'])) {
|
124 |
+
echo $this->content['error'];
|
125 |
+
} else {
|
126 |
+
echo "<div id='pp-blubrry-stats-widget' style='height:500px; width: 100%;'>";
|
127 |
+
$this->powerpress_dashboard_stats_js();
|
128 |
+
$this->powerpress_dashboard_stats_html();
|
129 |
+
$this->powerpress_dashboard_stats_summary();
|
130 |
+
echo "</div>";
|
131 |
+
}
|
132 |
+
echo "</div>";
|
133 |
+
}
|
134 |
+
|
135 |
+
/**
|
136 |
+
* Prints the HTML and CSS code for the right hand column of the Blubrry Stats Widget
|
137 |
+
*/
|
138 |
+
function powerpress_dashboard_stats_summary()
|
139 |
+
{
|
140 |
+
?>
|
141 |
+
<style>
|
142 |
+
.blubrry-stats-summary {
|
143 |
+
display: inline-block;
|
144 |
+
width: 100%;
|
145 |
+
vertical-align: top;
|
146 |
+
height: 250px;
|
147 |
+
float: right;
|
148 |
+
}
|
149 |
+
|
150 |
+
.blubrry-stats-summary-label {
|
151 |
+
color: #252733;
|
152 |
+
font-weight: bold;
|
153 |
+
text-align: left;
|
154 |
+
border: none;
|
155 |
+
font-size: 100%;
|
156 |
+
}
|
157 |
+
|
158 |
+
.blubrry-stats-summary-data {
|
159 |
+
color: #003366;
|
160 |
+
text-align: right;
|
161 |
+
font-weight: bold;
|
162 |
+
border: none;
|
163 |
+
font-size: 100%;
|
164 |
+
}
|
165 |
+
|
166 |
+
.blubrry-stats-summary-item-first .blubrry-stats-summary-data {
|
167 |
+
color: #B347A3;
|
168 |
+
}
|
169 |
+
|
170 |
+
.blubrry-stats-summary-table {
|
171 |
+
height: 70%;
|
172 |
+
width: 95%;
|
173 |
+
float: right;
|
174 |
+
background-color: white;
|
175 |
+
border: none;
|
176 |
+
border-radius: 0;
|
177 |
+
}
|
178 |
+
|
179 |
+
.blubrry-stats-summary-item {
|
180 |
+
border-top: 1px solid #F1F1F5;
|
181 |
+
}
|
182 |
+
|
183 |
+
.blubrry-advanced-link-styling {
|
184 |
+
display: inline-block;
|
185 |
+
background-color: #EEF0FF;
|
186 |
+
height: 40px;
|
187 |
+
line-height: 40px;
|
188 |
+
border-radius: 20px;
|
189 |
+
color: #0B43A4;
|
190 |
+
width: 95%;
|
191 |
+
text-align: center;
|
192 |
+
vertical-align: center;
|
193 |
+
float: right;
|
194 |
+
font-size: 90%;
|
195 |
+
font-weight: bold;
|
196 |
+
}
|
197 |
+
|
198 |
+
.blubrry-stats-summary-icon {
|
199 |
+
display: inline-block;
|
200 |
+
margin-left: 8px;
|
201 |
+
vertical-align: middle;
|
202 |
+
}
|
203 |
+
</style>
|
204 |
+
<div class="blubrry-stats-summary" id="pp-blubrry-stats-summary">
|
205 |
+
<table class="blubrry-stats-summary-table">
|
206 |
+
<tr class="blubrry-stats-summary-item-first">
|
207 |
+
<td class="blubrry-stats-summary-label">Today</td>
|
208 |
+
<?php
|
209 |
+
$today_total = isset($this->content['day_total_data']['6']['trending_day_total']) ? $this->content['day_total_data']['6']['trending_day_total'] : 0;
|
210 |
+
if ($today_total < $this->content['day_total_data']['5']['trending_day_total']) {
|
211 |
+
$day_img_src = powerpress_get_root_url() . 'images/down_arrow_pink.svg';
|
212 |
+
$day_change_text = "Decreased from yesterday";
|
213 |
+
} elseif (!isset($this->content['day_total_data']['5']['trending_day_total']) || $today_total > $this->content['day_total_data']['5']['trending_day_total']) {
|
214 |
+
$day_img_src = powerpress_get_root_url() . 'images/up_arrow_pink.svg';
|
215 |
+
$day_change_text = "Increased from yesterday";
|
216 |
+
} else {
|
217 |
+
$day_img_src = powerpress_get_root_url() . 'images/audio_lines_pink.svg';
|
218 |
+
$day_change_text = "Unchanged from yesterday";
|
219 |
+
} ?>
|
220 |
+
<td class="blubrry-stats-summary-data"
|
221 |
+
aria-label="<?php echo $today_total . " downloads today. $day_change_text"; ?>">
|
222 |
+
<?php echo $today_total; ?>
|
223 |
+
<div class="blubrry-stats-summary-icon" title="<?php echo $day_change_text; ?>">
|
224 |
+
<img alt="today" src="<?php echo $day_img_src; ?>"/>
|
225 |
+
</div>
|
226 |
+
</td>
|
227 |
+
</tr>
|
228 |
+
<tr class="blubrry-stats-summary-item">
|
229 |
+
<td class="blubrry-stats-summary-label">30 day average</td>
|
230 |
+
<?php
|
231 |
+
if ($this->content['month_average_change'] == 'up') {
|
232 |
+
$month_img_src = powerpress_get_root_url() . 'images/up_arrow.svg';
|
233 |
+
$month_change_text = "Increased from last month";
|
234 |
+
} elseif ($this->content['month_average_change'] == 'down') {
|
235 |
+
$month_img_src = powerpress_get_root_url() . 'images/down_arrow.svg';
|
236 |
+
$month_change_text = "Decreased from last month";
|
237 |
+
} else {
|
238 |
+
$month_img_src = powerpress_get_root_url() . 'images/audio_lines.svg';
|
239 |
+
$month_change_text = "Unchanged from last month";
|
240 |
+
} ?>
|
241 |
+
<td class="blubrry-stats-summary-data"
|
242 |
+
aria-label="<?php echo $this->content['month_average'] . " average downloads for the past month. $month_change_text"; ?>">
|
243 |
+
<?php echo $this->content['month_average']; ?>
|
244 |
+
<div class="blubrry-stats-summary-icon" title="<?php echo $month_change_text; ?>">
|
245 |
+
<img alt="month change" src="<?php echo $month_img_src; ?>"/>
|
246 |
+
</div>
|
247 |
+
</td>
|
248 |
+
</tr>
|
249 |
+
<tr class="blubrry-stats-summary-item">
|
250 |
+
<td class="blubrry-stats-summary-label">Total</td>
|
251 |
+
<?php
|
252 |
+
if ($this->content['day_total_data'][6]['trending_day_total'] > 0) {
|
253 |
+
$total_img_src = powerpress_get_root_url() . 'images/up_arrow.svg';
|
254 |
+
$total_change_text = "Increased from yesterday";
|
255 |
+
} else {
|
256 |
+
$total_img_src = powerpress_get_root_url() . 'images/audio_lines.svg';
|
257 |
+
$total_change_text = "Unchanged from yesterday";
|
258 |
+
}
|
259 |
+
?>
|
260 |
+
<td class="blubrry-stats-summary-data"
|
261 |
+
aria-label="<?php echo $this->content['program_total'] . " total downloads for program. $total_change_text"; ?>">
|
262 |
+
<?php echo $this->content['program_total']; ?>
|
263 |
+
<div class="blubrry-stats-summary-icon" title="<?php echo $total_change_text; ?>">
|
264 |
+
<img alt="total" src="<?php echo $total_img_src; ?>"/>
|
265 |
+
</div>
|
266 |
+
</td>
|
267 |
+
</tr>
|
268 |
+
</table>
|
269 |
+
<a id="blubrry-advanced-link" href="https://stats.blubrry.com/stats/s-<?php echo $this->content['stats_prog_id']; ?>/"
|
270 |
+
target="_blank">
|
271 |
+
<div class="blubrry-advanced-link-styling">
|
272 |
+
See all statistics
|
273 |
+
</div>
|
274 |
+
</a>
|
275 |
+
</div>
|
276 |
+
<?php
|
277 |
+
}
|
278 |
+
|
279 |
+
/**
|
280 |
+
* Prints the JavaScript code for drawing the graph in the Blubrry Stats Widget
|
281 |
+
*
|
282 |
+
* @param $this->content['day_total_data'] array
|
283 |
+
* @param $this->content['scale_min'] int
|
284 |
+
* @param $this->content['scale_max'] int
|
285 |
+
* @param $this->content['scale_step'] int
|
286 |
+
*/
|
287 |
+
function powerpress_dashboard_stats_js()
|
288 |
+
{
|
289 |
+
?>
|
290 |
+
|
291 |
+
<script>
|
292 |
+
function drawLine(ctx, startX, startY, endX, endY, color) {
|
293 |
+
ctx.save();
|
294 |
+
ctx.strokeStyle = color;
|
295 |
+
ctx.beginPath();
|
296 |
+
ctx.moveTo(startX, startY);
|
297 |
+
ctx.lineTo(endX, endY);
|
298 |
+
ctx.closePath();
|
299 |
+
ctx.stroke();
|
300 |
+
ctx.restore();
|
301 |
+
}
|
302 |
+
|
303 |
+
function drawBar(ctx, upperLeftCornerX, upperLeftCornerY, width, height, color) {
|
304 |
+
ctx.save();
|
305 |
+
ctx.fillStyle = color;
|
306 |
+
ctx.fillRect(upperLeftCornerX, upperLeftCornerY, width, height);
|
307 |
+
ctx.restore();
|
308 |
+
//added 1 here to avoid a white sliver between the rectangle and half circle
|
309 |
+
drawArc(ctx, upperLeftCornerX, upperLeftCornerY + 1, width, height, color);
|
310 |
+
}
|
311 |
+
|
312 |
+
function drawArc(ctx, upperLeftCornerX, upperLeftCornerY, width, height, color) {
|
313 |
+
ctx.save();
|
314 |
+
ctx.fillStyle = color;
|
315 |
+
let radius = width / 2;
|
316 |
+
let centerX = upperLeftCornerX + radius;
|
317 |
+
ctx.beginPath();
|
318 |
+
ctx.arc(centerX, upperLeftCornerY, radius, 0, Math.PI, true);
|
319 |
+
ctx.closePath();
|
320 |
+
ctx.fill();
|
321 |
+
ctx.restore();
|
322 |
+
}
|
323 |
+
|
324 |
+
|
325 |
+
window.addEventListener('load', (event) => {
|
326 |
+
|
327 |
+
//First, check the width of the widget and style our containers accordingly
|
328 |
+
let canvas = document.getElementById("blubrry-stats-widget-canvas");
|
329 |
+
let total_widget_width = canvas.parentElement.parentElement.parentElement.clientWidth;
|
330 |
+
|
331 |
+
//date_width approximately 1/7 the total width, adjusted with guess & check
|
332 |
+
let date_width = .132;
|
333 |
+
if (total_widget_width >= 430 && total_widget_width < 500) {
|
334 |
+
date_width = .134;
|
335 |
+
} else if (total_widget_width >= 500 && total_widget_width < 550) {
|
336 |
+
date_width = .136;
|
337 |
+
} else if (total_widget_width >= 550 && total_widget_width < 750) {
|
338 |
+
date_width = .137;
|
339 |
+
} else if (total_widget_width >= 750) {
|
340 |
+
canvas.parentElement.parentElement.style.width = "66%";
|
341 |
+
document.getElementById('pp-blubrry-stats-summary').style.width = "28%";
|
342 |
+
document.getElementById('pp-blubrry-stats-summary').style.margin = "3ch 4ch 0 0";
|
343 |
+
document.getElementById('pp-blubrry-stats-widget').style.height = "260px";
|
344 |
+
if (total_widget_width >= 1050) {
|
345 |
+
date_width = .1373;
|
346 |
+
} else {
|
347 |
+
date_width = .136;
|
348 |
+
}
|
349 |
+
}
|
350 |
+
//Initialize the drawing context and set the dimensions of the graph
|
351 |
+
let ctx = canvas.getContext("2d");
|
352 |
+
let canvas_height = canvas.parentElement.clientHeight;
|
353 |
+
let canvas_width = canvas.parentElement.clientWidth;
|
354 |
+
ctx.canvas.width = canvas_width;
|
355 |
+
ctx.canvas.height = canvas_height;
|
356 |
+
//Draw the left border
|
357 |
+
drawLine(ctx, 0, 0, 0, canvas_height, '#B0BEC5');
|
358 |
+
//Draw the scale lines
|
359 |
+
let scale_container = document.getElementById("blubrry-stats-chart-scale");
|
360 |
+
let new_node;
|
361 |
+
<?php
|
362 |
+
$numLines = ($this->content['scale_max'] - $this->content['scale_min']) / $this->content['scale_step'];
|
363 |
+
for ($x = 0; $x < $numLines; $x++) { ?>
|
364 |
+
new_node = document.createElement("div");
|
365 |
+
new_node.style.height = 'calc((100% + 5px) / <?php echo $numLines; ?>';
|
366 |
+
new_node.innerHTML = '<?php echo $this->content['scale_min'] + ($x + 1) * $this->content['scale_step']; ?>';
|
367 |
+
scale_container.prepend(new_node);
|
368 |
+
drawLine(ctx, 0, <?php echo $x; ?> * canvas_height / <?php echo $numLines; ?>, canvas_width, <?php echo $x; ?> *
|
369 |
+
canvas_height / <?php echo $numLines; ?>, '#F1F1F5'
|
370 |
+
)
|
371 |
+
;
|
372 |
+
<?php } ?>
|
373 |
+
|
374 |
+
//Move the x-scale over the width of the y-scale
|
375 |
+
let all_dates = document.getElementById("blubrry-stats-widget-dates");
|
376 |
+
all_dates.style.marginLeft = scale_container.offsetWidth + "px";
|
377 |
+
|
378 |
+
//Draw the histogram bars
|
379 |
+
let bar_width = 20;
|
380 |
+
let date_container, value_input;
|
381 |
+
let positionX, positionY, bar_height, subtract_min_scale,
|
382 |
+
scale_range = <?php echo $this->content['scale_max'] - $this->content['scale_min']; ?>;
|
383 |
+
|
384 |
+
// Create gradient for histogram bars
|
385 |
+
var grd = ctx.createLinearGradient(0, 0, 0, canvas_height);
|
386 |
+
grd.addColorStop(0, "#C26BB5");
|
387 |
+
grd.addColorStop(1, "#86357A");
|
388 |
+
|
389 |
+
<?php foreach ($this->content['day_total_data'] as $index => $day_data) {
|
390 |
+
if ($index < 7) {?>
|
391 |
+
//To get x position, we basically want to divide the width into 14 segments and choose only odd
|
392 |
+
// number index segments
|
393 |
+
positionX = canvas_width / 14 + <?php echo $index; ?> * 2 * canvas_width / 14 - bar_width / 2;
|
394 |
+
|
395 |
+
//For y position, start by determining what portion of the scale the bar should reach, multiply it
|
396 |
+
// by the canvas height, and subtract the arc radius
|
397 |
+
subtract_min_scale = <?php echo $day_data['trending_day_total'] - $this->content['scale_min']; ?>;
|
398 |
+
bar_height = canvas_height * subtract_min_scale / scale_range - bar_width / 2;
|
399 |
+
//Because the 0 value is at the top of the canvas , our start y-pos needs to be
|
400 |
+
// canvas_height - bar_height
|
401 |
+
positionY = canvas_height - bar_height;
|
402 |
+
<?php if ($day_data['trending_day_total'] > 0) { ?>
|
403 |
+
drawBar(ctx, positionX, positionY, bar_width, bar_height, grd);
|
404 |
+
<?php } ?>
|
405 |
+
|
406 |
+
//Put the value above the bar
|
407 |
+
value_input = document.getElementById("blubrry-stats-value-<?php echo $index; ?>");
|
408 |
+
value_input.value = '<?php echo $day_data['trending_day_total']; ?>';
|
409 |
+
value_input.style.bottom = (bar_height + bar_width + 20) + "px";
|
410 |
+
value_input.style.left = (positionX - 9 - <?php echo $index; ?> * 40) + "px";
|
411 |
+
value_input.setAttribute('aria-label', '<?php echo $day_data['trending_day_total'] . " downloads on " . Date("l M d", strtotime($day_data['day_date'])); ?>');
|
412 |
+
//Need a smaller font if the number is 4 or more digits--won't fit in width of 35px
|
413 |
+
<?php if ($day_data['trending_day_total'] > 999) { ?>
|
414 |
+
value_input.style.fontSize = "80%";
|
415 |
+
<?php } ?>
|
416 |
+
//Value for today should be pink
|
417 |
+
if (<?php echo $index; ?> == 6
|
418 |
+
)
|
419 |
+
{
|
420 |
+
value_input.style.color = "#B347A3";
|
421 |
+
}
|
422 |
+
|
423 |
+
//Put the date below the bar
|
424 |
+
date_container = document.getElementById("blubrry-stats-date-<?php echo $index; ?>");
|
425 |
+
date_container.innerHTML = '<?php echo Date("D d", strtotime($day_data['day_date'])); ?>';
|
426 |
+
date_container.style.width = date_width * canvas_width + "px";
|
427 |
+
<?php }
|
428 |
+
} ?>
|
429 |
+
|
430 |
+
});
|
431 |
+
</script>
|
432 |
+
<?php
|
433 |
+
}
|
434 |
+
|
435 |
+
/**
|
436 |
+
* Prints the HTML and CSS code for the graph on the left side of the Blubrry Stats Widget
|
437 |
+
*
|
438 |
+
* @param $this->content['widget_title'] string
|
439 |
+
*/
|
440 |
+
function powerpress_dashboard_stats_html()
|
441 |
+
{
|
442 |
+
?>
|
443 |
+
<style>
|
444 |
+
.blubrry-stats-seven-day {
|
445 |
+
display: inline-block;
|
446 |
+
width: 100%;
|
447 |
+
height: 250px;
|
448 |
+
padding: 1vh;
|
449 |
+
}
|
450 |
+
|
451 |
+
#blubrry-stats-widget-dates {
|
452 |
+
padding-left: 5px;
|
453 |
+
}
|
454 |
+
|
455 |
+
div[id^="blubrry-stats-date-"] {
|
456 |
+
display: inline-block;
|
457 |
+
text-align: center;
|
458 |
+
color: #444444;
|
459 |
+
font-size: 85%;
|
460 |
+
font-weight: bold;
|
461 |
+
position: relative;
|
462 |
+
bottom: 20px;
|
463 |
+
}
|
464 |
+
|
465 |
+
input[id^="blubrry-stats-value-"][type="text"] {
|
466 |
+
width: 35px;
|
467 |
+
z-index: 101;
|
468 |
+
position: relative;
|
469 |
+
display: inline-block;
|
470 |
+
font-weight: bold;
|
471 |
+
color: #444444;
|
472 |
+
padding: 0;
|
473 |
+
border: none;
|
474 |
+
}
|
475 |
+
|
476 |
+
#blubrry-stats-chart-scale {
|
477 |
+
display: inline-block;
|
478 |
+
height: calc(100% - 65px);
|
479 |
+
vertical-align: top;
|
480 |
+
color: #444444;
|
481 |
+
font-size: 85%;
|
482 |
+
}
|
483 |
+
|
484 |
+
.blubrry-stats-chart-label-container {
|
485 |
+
width: calc(100% - 30px);
|
486 |
+
height: calc(100% - 65px);
|
487 |
+
display: inline-block;
|
488 |
+
margin-top: 12px;
|
489 |
+
}
|
490 |
+
|
491 |
+
.blubrry-stats-chart-label-container input {
|
492 |
+
text-align: center;
|
493 |
+
background: transparent;
|
494 |
+
border: none;
|
495 |
+
font-size: 110%;
|
496 |
+
}
|
497 |
+
|
498 |
+
.blubrry-stats-chart-title {
|
499 |
+
color: #252733;
|
500 |
+
font-weight: bold;
|
501 |
+
font-size: 13px;
|
502 |
+
margin: 0 0 1em 0;
|
503 |
+
}
|
504 |
+
</style>
|
505 |
+
<div class="blubrry-stats-seven-day">
|
506 |
+
<h6 class="blubrry-stats-chart-title"><?php echo $this->content['widget_title']; ?></h6>
|
507 |
+
<div id="blubrry-stats-chart-scale">
|
508 |
+
</div>
|
509 |
+
<div class="blubrry-stats-chart-label-container">
|
510 |
+
<canvas id="blubrry-stats-widget-canvas">
|
511 |
+
</canvas>
|
512 |
+
<input id="blubrry-stats-value-0" type="text" aria-label="" disabled/>
|
513 |
+
<input id="blubrry-stats-value-1" type="text" aria-label="" disabled/>
|
514 |
+
<input id="blubrry-stats-value-2" type="text" aria-label="" disabled/>
|
515 |
+
<input id="blubrry-stats-value-3" type="text" aria-label="" disabled/>
|
516 |
+
<input id="blubrry-stats-value-4" type="text" aria-label="" disabled/>
|
517 |
+
<input id="blubrry-stats-value-5" type="text" aria-label="" disabled/>
|
518 |
+
<input id="blubrry-stats-value-6" type="text" aria-label="" disabled/>
|
519 |
+
</div>
|
520 |
+
|
521 |
+
<div id="blubrry-stats-widget-dates">
|
522 |
+
<div id="blubrry-stats-date-0"></div>
|
523 |
+
<div id="blubrry-stats-date-1"></div>
|
524 |
+
<div id="blubrry-stats-date-2"></div>
|
525 |
+
<div id="blubrry-stats-date-3"></div>
|
526 |
+
<div id="blubrry-stats-date-4"></div>
|
527 |
+
<div id="blubrry-stats-date-5"></div>
|
528 |
+
<div id="blubrry-stats-date-6"></div>
|
529 |
+
</div>
|
530 |
+
</div>
|
531 |
+
|
532 |
+
<?php
|
533 |
+
}
|
534 |
+
}
|
powerpressadmin-tags.php
CHANGED
@@ -28,8 +28,8 @@ function ToggleID3Tags(Obj)
|
|
28 |
echo __('ID3 tags contain useful information (title, artist, album, year, etc...) about your podcast as well as an image for display during playback in most media players.', 'powerpress');
|
29 |
echo ' ';
|
30 |
echo sprintf( __('Please visit the %s section of the %s to learn more about MP3 ID3 tags.', 'powerpress'),
|
31 |
-
'<a href="
|
32 |
-
'<a href="
|
33 |
|
34 |
?>
|
35 |
</p>
|
28 |
echo __('ID3 tags contain useful information (title, artist, album, year, etc...) about your podcast as well as an image for display during playback in most media players.', 'powerpress');
|
29 |
echo ' ';
|
30 |
echo sprintf( __('Please visit the %s section of the %s to learn more about MP3 ID3 tags.', 'powerpress'),
|
31 |
+
'<a href="https://blubrry.com/manual/creating-podcast-media/audio/id3-tags-media-meta-data/" target="_blank">'. __('ID3 Tags and media meta data', 'powerpress') .'</a>',
|
32 |
+
'<a href="https://blubrry.com/manual/" target="_blank">' . __('Podcasting Manual', 'powerpress') .'</a>' );
|
33 |
|
34 |
?>
|
35 |
</p>
|
powerpressadmin-tools.php
CHANGED
@@ -43,13 +43,13 @@
|
|
43 |
<tr valign="top">
|
44 |
<th scope="row"><?php echo __('Podcasting Resources', 'powerpress'); ?></th>
|
45 |
<td>
|
46 |
-
<p style="margin-top: 5px;"><strong><a href="
|
47 |
- <?php echo __('Everything you need to know about podcasting.', 'powerpress'); ?></p>
|
48 |
|
49 |
-
<p style="margin-top: 5px;"><strong><a href="
|
50 |
- <?php echo __('Learn more about PowerPress and Blubrry services.', 'powerpress'); ?></p>
|
51 |
|
52 |
-
<p style="margin-top: 5px;"><strong><a href="
|
53 |
- <?php echo __('Get support for your podcast!', 'powerpress'); ?></p>
|
54 |
|
55 |
<p style="margin-top: 5px;"><strong><a href="https://wordpress.org/support/plugin/powerpress"><?php echo __('Blubrry PowerPress Forum', 'powerpress'); ?></a></strong>
|
@@ -182,7 +182,7 @@
|
|
182 |
<th scope="row"><?php echo __('Translations', 'powerpress'); ?></th>
|
183 |
<td>
|
184 |
<p style="margin-top: 5px;"><strong>
|
185 |
-
<a href="https://
|
186 |
</strong></p>
|
187 |
</td>
|
188 |
</tr>
|
43 |
<tr valign="top">
|
44 |
<th scope="row"><?php echo __('Podcasting Resources', 'powerpress'); ?></th>
|
45 |
<td>
|
46 |
+
<p style="margin-top: 5px;"><strong><a href="https://blubrry.com/manual/"><?php echo __('Podcasting Manual', 'powerpress'); ?></a></strong>
|
47 |
- <?php echo __('Everything you need to know about podcasting.', 'powerpress'); ?></p>
|
48 |
|
49 |
+
<p style="margin-top: 5px;"><strong><a href="https://blubrry.com/services/"><?php echo __('Blubrry Resources', 'powerpress'); ?></a></strong>
|
50 |
- <?php echo __('Learn more about PowerPress and Blubrry services.', 'powerpress'); ?></p>
|
51 |
|
52 |
+
<p style="margin-top: 5px;"><strong><a href="https://blubrry.com/support/"><?php echo __('Blubrry Support', 'powerpress'); ?></a></strong>
|
53 |
- <?php echo __('Get support for your podcast!', 'powerpress'); ?></p>
|
54 |
|
55 |
<p style="margin-top: 5px;"><strong><a href="https://wordpress.org/support/plugin/powerpress"><?php echo __('Blubrry PowerPress Forum', 'powerpress'); ?></a></strong>
|
182 |
<th scope="row"><?php echo __('Translations', 'powerpress'); ?></th>
|
183 |
<td>
|
184 |
<p style="margin-top: 5px;"><strong>
|
185 |
+
<a href="https://blubrry.com/support/powerpress-documentation/powerpress-language/translate-powerpress/" target="_blank"><?php echo __('Translate PowerPress to your language', 'powerpress'); ?></a>
|
186 |
</strong></p>
|
187 |
</td>
|
188 |
</tr>
|
powerpressadmin.php
CHANGED
@@ -1198,13 +1198,6 @@ function powerpress_admin_init()
|
|
1198 |
powerpress_save_settings($General);
|
1199 |
powerpress_page_message_add_notice( 'iOS 11 program level fields changed.' );
|
1200 |
}; break;
|
1201 |
-
case 'powerpress-beta-features': {
|
1202 |
-
check_admin_referer('powerpress-beta-features');
|
1203 |
-
|
1204 |
-
$General = array('powerpress-beta-features'=> (!empty($_REQUEST['feature'])? $_REQUEST['feature'] : '0') );
|
1205 |
-
powerpress_save_settings($General);
|
1206 |
-
powerpress_page_message_add_notice( __('PowerPress Beta features have been updated.', 'powerpress') );
|
1207 |
-
}; break;
|
1208 |
}
|
1209 |
}
|
1210 |
|
@@ -2088,7 +2081,7 @@ function powerpress_edit_post($post_ID, $post)
|
|
2088 |
return $post_ID;
|
2089 |
}
|
2090 |
|
2091 |
-
add_action('
|
2092 |
|
2093 |
if( defined('POWERPRESS_DO_ENCLOSE_FIX') )
|
2094 |
{
|
@@ -3137,7 +3130,7 @@ function powerpress_admin_page_footer($SaveButton=true, $form=true)
|
|
3137 |
<?php echo __('Blubrry offers a variety of options, free and paid, to assist you with your podcasting and Internet media needs. Whether you need your theme customized for podcasting or you want consulting on what video format is best for your audience, we have the staff and knowledge to assist.', 'powerpress'); ?>
|
3138 |
<br />
|
3139 |
<a title="<?php echo esc_attr(__('Blubrry Services Info', 'powerpress')); ?>"
|
3140 |
-
href="
|
3141 |
target="_blank"><?php echo __('Learn more about Blubrry Support Options', 'powerpress'); ?></a>
|
3142 |
</p>
|
3143 |
<p class="submit">
|
@@ -3145,9 +3138,9 @@ function powerpress_admin_page_footer($SaveButton=true, $form=true)
|
|
3145 |
</p>
|
3146 |
<?php } ?>
|
3147 |
<p style="font-size: 85%; text-align: center; padding-bottom: 35px;">
|
3148 |
-
<a href="
|
3149 |
-
<a href="
|
3150 |
-
<a href="
|
3151 |
</p>
|
3152 |
<?php if( $form ) { ?>
|
3153 |
</form><?php } ?>
|
@@ -3243,6 +3236,31 @@ function powerpress_admin_page_import_feed()
|
|
3243 |
powerpress_admin_page_footer(false);
|
3244 |
}
|
3245 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3246 |
function powerpress_admin_page_onboarding() {
|
3247 |
require_once( POWERPRESS_ABSPATH .'/class.powerpress_onboarding.php');
|
3248 |
$onboardinClass = new PowerpressOnboarding();
|
@@ -4342,7 +4360,7 @@ function powerpress_get_media_info_local($media_file, $content_type='', $file_si
|
|
4342 |
{
|
4343 |
// Add a warning that the redirect count exceeded 5, which may prevent some podcatchers from downloading the media.
|
4344 |
$warning = sprintf( __('Warning, the Media URL %s contains %d redirects.', 'powerpress'), $media_file, $Mp3Info->GetRedirectCount() );
|
4345 |
-
$warning .= ' [<a href="
|
4346 |
if( $return_warnings )
|
4347 |
$warning_msg .= $warning;
|
4348 |
else
|
@@ -4364,7 +4382,7 @@ function powerpress_get_media_info_local($media_file, $content_type='', $file_si
|
|
4364 |
$Warnings = $Mp3Info->GetWarnings();
|
4365 |
foreach( $Warnings as $null => $warning )
|
4366 |
{
|
4367 |
-
$warning = sprintf( __('Warning, Media URL %s', 'powerpress'), $media_file) .': '. $warning .' [<a href="
|
4368 |
if( $return_warnings )
|
4369 |
$warning_msg .= $warning;
|
4370 |
else
|
@@ -4402,7 +4420,7 @@ function powerpress_get_media_info_local($media_file, $content_type='', $file_si
|
|
4402 |
{
|
4403 |
// Add a warning that the redirect count exceeded 5, which may prevent some podcatchers from downloading the media.
|
4404 |
powerpress_add_error( sprintf( __('Warning, the Media URL %s contains %d redirects.', 'powerpress'), $media_file, $Mp3Info->GetRedirectCount() )
|
4405 |
-
.' [<a href="
|
4406 |
);
|
4407 |
}
|
4408 |
|
@@ -4416,7 +4434,7 @@ function powerpress_get_media_info_local($media_file, $content_type='', $file_si
|
|
4416 |
{
|
4417 |
$Warnings = $Mp3Info->GetWarnings();
|
4418 |
foreach( $Warnings as $null => $warning )
|
4419 |
-
powerpress_add_error( sprintf( __('Warning, Media URL %s', 'powerpress'), $media_file) .': '. $warning .' [<a href="
|
4420 |
}
|
4421 |
}
|
4422 |
else
|
@@ -4710,7 +4728,7 @@ function powerpress_plugin_row_meta( $links, $file ) {
|
|
4710 |
|
4711 |
$new_links = array();
|
4712 |
$new_links[] = powerpress_get_documentation_link();
|
4713 |
-
//$new_links[] = '<a href="
|
4714 |
$new_links[] = powerpress_get_review_link();
|
4715 |
|
4716 |
|
@@ -4742,7 +4760,7 @@ function powerpress_get_review_link()
|
|
4742 |
|
4743 |
function powerpress_get_documentation_link()
|
4744 |
{
|
4745 |
-
return '<a href="
|
4746 |
}
|
4747 |
|
4748 |
|
1198 |
powerpress_save_settings($General);
|
1199 |
powerpress_page_message_add_notice( 'iOS 11 program level fields changed.' );
|
1200 |
}; break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1201 |
}
|
1202 |
}
|
1203 |
|
2081 |
return $post_ID;
|
2082 |
}
|
2083 |
|
2084 |
+
add_action('save_post', 'powerpress_edit_post', 10, 2);
|
2085 |
|
2086 |
if( defined('POWERPRESS_DO_ENCLOSE_FIX') )
|
2087 |
{
|
3130 |
<?php echo __('Blubrry offers a variety of options, free and paid, to assist you with your podcasting and Internet media needs. Whether you need your theme customized for podcasting or you want consulting on what video format is best for your audience, we have the staff and knowledge to assist.', 'powerpress'); ?>
|
3131 |
<br />
|
3132 |
<a title="<?php echo esc_attr(__('Blubrry Services Info', 'powerpress')); ?>"
|
3133 |
+
href="https://blubrry.com/services/podcast-hosting/"
|
3134 |
target="_blank"><?php echo __('Learn more about Blubrry Support Options', 'powerpress'); ?></a>
|
3135 |
</p>
|
3136 |
<p class="submit">
|
3138 |
</p>
|
3139 |
<?php } ?>
|
3140 |
<p style="font-size: 85%; text-align: center; padding-bottom: 35px;">
|
3141 |
+
<a href="https://blubrry.com/services/powerpress-plugin/" title="Blubrry PowerPress" target="_blank"><?php echo __('Blubrry PowerPress', 'powerpress'); ?></a> <?php echo POWERPRESS_VERSION; ?> —
|
3142 |
+
<a href="https://blubrry.com/services/podcast-hosting/" target="_blank" title="<?php echo __('Blubrry PowerPress and related Resources', 'powerpress'); ?>"><?php echo __('Resources', 'powerpress'); ?></a> |
|
3143 |
+
<a href="https://blubrry.com/support/" target="_blank" title="<?php echo __('Blubrry Support', 'powerpress'); ?>"><?php echo __('Support', 'powerpress'); ?></a>
|
3144 |
</p>
|
3145 |
<?php if( $form ) { ?>
|
3146 |
</form><?php } ?>
|
3236 |
powerpress_admin_page_footer(false);
|
3237 |
}
|
3238 |
|
3239 |
+
function marketing_footer($button = false) {
|
3240 |
+
echo '<div class="powerpress-blubrry-hosting-marketing">';
|
3241 |
+
echo '<img class="hosting-marketing-blubrry-logo" src="' . powerpress_get_root_url() . 'images/Blubrry2017Logo-LOWERCASE.svg" alt="Blubrry Podcasting" />';
|
3242 |
+
echo '<div class="hosting-marketing-text-container" ';
|
3243 |
+
if ($button) {
|
3244 |
+
echo 'style="width: 55%">';
|
3245 |
+
} else {
|
3246 |
+
echo 'style="width: 70%">';
|
3247 |
+
}
|
3248 |
+
echo '<h2 class="hosting-marketing-title">Publish everywhere from this website</h2>';
|
3249 |
+
echo '<h4 class="hosting-marketing-text">You want podcast hosting that\'s easy to use with full control. ';
|
3250 |
+
if ($button) {
|
3251 |
+
echo 'Try Blubrry hosting ';
|
3252 |
+
} else {
|
3253 |
+
echo '<a class="hosting-marketing-text" href="https://secure.blubrry.com/checkout/service-4/?bcode=blubrry005" target="_blank">Try Blubrry hosting</a> ';
|
3254 |
+
}
|
3255 |
+
echo 'for free and enjoy additional publishing features with PowerPress.</h4></div>';
|
3256 |
+
if ($button) {
|
3257 |
+
echo '<a class="hosting-marketing-link-button" href="https://secure.blubrry.com/checkout/service-4/?bcode=blubrry005" target="_blank">';
|
3258 |
+
echo '<button class="hosting-marketing-button">TRY BLUBRRY HOSTING FOR FREE</button>';
|
3259 |
+
echo '</a>';
|
3260 |
+
}
|
3261 |
+
echo '</div>';
|
3262 |
+
}
|
3263 |
+
|
3264 |
function powerpress_admin_page_onboarding() {
|
3265 |
require_once( POWERPRESS_ABSPATH .'/class.powerpress_onboarding.php');
|
3266 |
$onboardinClass = new PowerpressOnboarding();
|
4360 |
{
|
4361 |
// Add a warning that the redirect count exceeded 5, which may prevent some podcatchers from downloading the media.
|
4362 |
$warning = sprintf( __('Warning, the Media URL %s contains %d redirects.', 'powerpress'), $media_file, $Mp3Info->GetRedirectCount() );
|
4363 |
+
$warning .= ' [<a href="https://blubrry.com/support/powerpress-documentation/warning-messages-explained/" title="'. __('PowerPress Warnings Explained', 'powerpress') .'" target="_blank">'. __('PowerPress Warnings Explained') .'</a>]';
|
4364 |
if( $return_warnings )
|
4365 |
$warning_msg .= $warning;
|
4366 |
else
|
4382 |
$Warnings = $Mp3Info->GetWarnings();
|
4383 |
foreach( $Warnings as $null => $warning )
|
4384 |
{
|
4385 |
+
$warning = sprintf( __('Warning, Media URL %s', 'powerpress'), $media_file) .': '. $warning .' [<a href="https://blubrry.com/support/powerpress-documentation/warning-messages-explained/" target="_blank">'. __('PowerPress Warnings Explained', 'powerpress') .'</a>]';
|
4386 |
if( $return_warnings )
|
4387 |
$warning_msg .= $warning;
|
4388 |
else
|
4420 |
{
|
4421 |
// Add a warning that the redirect count exceeded 5, which may prevent some podcatchers from downloading the media.
|
4422 |
powerpress_add_error( sprintf( __('Warning, the Media URL %s contains %d redirects.', 'powerpress'), $media_file, $Mp3Info->GetRedirectCount() )
|
4423 |
+
.' [<a href="https://blubrry.com/support/powerpress-documentation/warning-messages-explained/" target="_blank">'. __('PowerPress Warnings Explained', 'powerpress') .'</a>]'
|
4424 |
);
|
4425 |
}
|
4426 |
|
4434 |
{
|
4435 |
$Warnings = $Mp3Info->GetWarnings();
|
4436 |
foreach( $Warnings as $null => $warning )
|
4437 |
+
powerpress_add_error( sprintf( __('Warning, Media URL %s', 'powerpress'), $media_file) .': '. $warning .' [<a href="https://blubrry.com/support/powerpress-documentation/warning-messages-explained/" target="_blank">'. __('PowerPress Warnings Explained', 'powerpress') .'</a>]' );
|
4438 |
}
|
4439 |
}
|
4440 |
else
|
4728 |
|
4729 |
$new_links = array();
|
4730 |
$new_links[] = powerpress_get_documentation_link();
|
4731 |
+
//$new_links[] = '<a href="https://blubrry.com/support/powerpress-documentation/powerpress-documentation/" target="_blank">' . __( 'Support', 'powerpress' ) . '</a>';
|
4732 |
$new_links[] = powerpress_get_review_link();
|
4733 |
|
4734 |
|
4760 |
|
4761 |
function powerpress_get_documentation_link()
|
4762 |
{
|
4763 |
+
return '<a href="https://blubrry.com/support/powerpress-documentation/powerpress-documentation/" target="_blank">' . __( 'Documentation', 'powerpress' ) . '</a>';
|
4764 |
}
|
4765 |
|
4766 |
|
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.7
|
7 |
-
Stable tag: 8.
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -18,7 +18,7 @@ Publish and manage your podcast right from your WordPress website. Developed by
|
|
18 |
|
19 |
= PowerPress Key Features =
|
20 |
- Integrated Players: PowerPress includes audio and video players with embed support from sites like YouTube.
|
21 |
-
- NEW: [Skip to Position in Player](https://
|
22 |
- Subscribe tools: Create subscribe page with our exclusive subscribe shortcode embed and subscribe sidebar widget optimized for responsive websites, high-resolution screens and Apple Retina displays.
|
23 |
- Podcast Importing and Migration: Moving from another podcast host or publishing platform? You can import your podcast from SoundCloud, Libsyn, PodBean, Squarespace, Anchor, or any valid podcast RSS feed without losing episodes. Our Import Podcast tool paired with our Migrate Media tool can move your media to Blubrry Hosting without skipping a beat.
|
24 |
- Multiple Podcast Feeds on One Website: Create separate podcasts by category or media format using our Category Podcasting or Podcast Channels features.
|
@@ -39,15 +39,15 @@ Blubrry PowerPress includes extensive player options to display your podcast aud
|
|
39 |
* Audio Players: Pick from the Blubrry Player (available only to Blubrry Hosting customers), MediaElement.js, or the native HTML5 audio player. You can also use players from other themes and plugins.
|
40 |
* Video players: Pick from MediaElement.js, VideoJS, or the native HTML5 video player.
|
41 |
* Positioning: Move your player above or below your written content based on your needs and preferences.
|
42 |
-
* [Player shortcode](
|
43 |
-
* [Playlist player shortcode](
|
44 |
* Embeds: Add embeds from sites such as YouTube.
|
45 |
* PowerPress Supports: MP3, M4A, OGA (ogg audio), and OPUS audio files, though we highly recommend MP3. It also supports video formats like M4V, MP4, WEBM, and OGV.
|
46 |
|
47 |
= Integrated Subscribe Tools =
|
48 |
A Blubrry PowerPress exclusive! Our subscription tools help you convert website visitors into podcast subscribers. Subscribe options include:
|
49 |
|
50 |
-
* [Subscribe page](
|
51 |
* Subscribe sidebar widget: Want to display your subscribe buttons neatly and simply on your website’s sidebar? Take advantage of our Subscribe Sidebar Widget, which will populate the same subscription buttons as the Subscribe Page. It’s also optimized for mobile!
|
52 |
* Responsive: Our subscribe tools are designed for any screen by providing custom buttons optimized to industry standards (48 pixels in height optimized for touch screen use).
|
53 |
* Retina enabled: Subscribe button images optimized for high resolution displays including Apple Retina displays.
|
@@ -58,12 +58,12 @@ Make your life easier by using our podcast hosting and statistics services to st
|
|
58 |
* Publish media files directly from your own site.
|
59 |
* View Blubrry hosting usage and overall monthly quota every time you upload a new file.
|
60 |
* Configure how Blubrry writes media (ID3) tags within PowerPress settings.
|
61 |
-
* Blubrry hosting customers can migrate media files at no additional cost to your Blubrry account with just a couple clicks. Check out Blubrry [hosting plans](
|
62 |
|
63 |
-
All Blubrry statistics are [IAB Certified Compliant](
|
64 |
|
65 |
= Migrating from other Podcast Plugins =
|
66 |
-
Please see detailed instructions for migrating from [podPress](https://
|
67 |
|
68 |
Note: Advanced settings such as settings for podcast categories will need to be recreated in PowerPress.
|
69 |
|
@@ -71,7 +71,7 @@ Note: Advanced settings such as settings for podcast categories will need to be
|
|
71 |
Importing your podcast feed(s) into PowerPress is super easy! Simply paste your RSS feed URL into PowerPress’ Import Podcast tool. Importing your existing RSS feed into PowerPress pulls your episode posts into your site, then you can optionally migrate your media to your Blubrry Podcast Hosting account with only a couple of clicks.
|
72 |
|
73 |
= PowerPress in Your Language =
|
74 |
-
[PowerPress is available in a number of languages](https://
|
75 |
|
76 |
Translators will receive the following from us as a thank you for contributing:
|
77 |
|
@@ -80,7 +80,7 @@ Translators will receive the following from us as a thank you for contributing:
|
|
80 |
* A link to your website or social media profile.
|
81 |
|
82 |
= Need Help? =
|
83 |
-
Contact the Blubrry Support team and look through the PowerPress [documentation](https://
|
84 |
|
85 |
= Contributors =
|
86 |
* Angelo Mandato, CIO [Blubrry](http://www.blubrry.com) - Plugin founder, architect and lead developer
|
@@ -103,7 +103,7 @@ Contact the Blubrry Support team and look through the PowerPress [documentation]
|
|
103 |
* Brazilian Portuguese translation for v6.0+ by [Leo Lopes from Radiofobia](http://radiofobia.com.br/)
|
104 |
|
105 |
= Support =
|
106 |
-
[
|
107 |
|
108 |
= Blubrry Social =
|
109 |
|
@@ -125,9 +125,9 @@ Contact the Blubrry Support team and look through the PowerPress [documentation]
|
|
125 |
= Compatible Themes and Plugins =
|
126 |
Most themes and plugins are compatible with PowerPress. PowerPress is developed and tested using the default themes packaged with WordPress. These themes use WordPress best practices and adhere to theme rules set by WordPress.org. Any child theme based on these themes should also work without issue.
|
127 |
|
128 |
-
If you are having a problem, try [Diagnosing Feed and/or Player Issues](
|
129 |
|
130 |
-
If you are having a problem specifically with the player and links, try the "Having issues?" option under PowerPress Settings > Website > PowerPress Shortcodes tab. Visit [Resolving Plugin or Theme Conflicts](
|
131 |
|
132 |
= Premium podcasting themes compatible with PowerPress =
|
133 |
Second Line Themes are designed specifically to take advantage of built-in features, settings, and podcast episode metadata in PowerPress. The Blubrry team works with the Appendipity team during beta testing and major WordPress releases to make sure the Podcast Pro theme and PowerPress work together seamlessly.
|
@@ -138,7 +138,7 @@ PowerPress does not allow you to include multiple media files for one feed item
|
|
138 |
As an alternative, PowerPress allows you to create additional custom podcast feeds and channels to associate any magnitude of media format and/or length in a blog post to specific custom feeds. For example, you can create one blog post associated with separate video and audio podcast feeds, saving you time from entering your show notes twice.
|
139 |
|
140 |
= Why doesn't Blubrry PowerPress include media statistics built-in? =
|
141 |
-
Blubrry's PowerPress does not include media statistics built-in. This is not because Blubrry has its own statistics service, although that's a good reason by itself. Maintaining and calculating statistics is a resource and server intensive task that would detract from an otherwise efficient WordPress podcasting plugin. We recommend using your media hosting's web statistics to give you basic download numbers and, if you are seeking more granular measurements, such as client and geographical information for each episode, you're more than welcome to use the [Blubrry Statistics service](
|
142 |
|
143 |
= How do you insert the player within a blog post? =
|
144 |
You can insert the media player within your blog posts by using the WordPress shortcode feature. The shortcode for PowerPress is `[powerpress]` (all lowercase).
|
@@ -155,7 +155,7 @@ File uploads are tricky to handle because there are so many web hosting variatio
|
|
155 |
Alternatively, you can sign up for a Blubrry [hosting plan](https://blubrry.com/services/podcast-hosting/), which makes file uploads in PowerPress easier.
|
156 |
|
157 |
= The Media Player does not appear on my site (or the RSS feed is invalid) =
|
158 |
-
This can happen when there is a theme or plugin conflict. Please visit our [Diagnosing Feed and/or Player Issues](
|
159 |
|
160 |
|
161 |
== Installation ==
|
@@ -184,6 +184,13 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
184 |
|
185 |
== Changelog ==
|
186 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
- 8.5.8 =
|
188 |
* Released on 04/29/2021
|
189 |
* Fixed a PowerPress uploader bug introduced in a chrome update
|
@@ -455,8 +462,8 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
455 |
* Released on 10/7/2019
|
456 |
* New Subscribe Destinations added:
|
457 |
** Deezer - Anyone can now submit their podcast to Deezer with just a blubrry.com account. [Learn more](https://powerpresspodcast.com/2019/08/07/blubrry-podcasts-coming-deezer/)
|
458 |
-
** Pandora - [Submit your podcast to Pandora](https://
|
459 |
-
** iHeart - [Submit your podcast to iHeart radio](https://
|
460 |
* New *Subscribe* button styling options!!!
|
461 |
** Buttons now use an SVG sprite, providing a small footprint while being optimized for retina displays. Subscribe buttons have never been so crisp!
|
462 |
** There is a new "Modern" color scheme, with the traditional square or new rounded corners.
|
@@ -540,8 +547,8 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
540 |
|
541 |
= 7.4 =
|
542 |
* Released on 10/03/2018
|
543 |
-
* NEW: [Skip to Position in Player](https://
|
544 |
-
* MEW: Emoji in show notes! You can now enter Emoji characters into the show notes to appear in podcast apps. Enable option in Feed settings tab. Previously WordPress converst Emoji to images which are not displayed in podcast apps. [Learn more](https://
|
545 |
* Added option to override the Google Podcasts subscribe URL.
|
546 |
* Enhanced VideoObject, a feature in Podcasting SEO.
|
547 |
* Improved base64 encoding Google Podcasts Subscribe URLs. (Thanks Daniel Lewis for the heads up!)
|
@@ -551,7 +558,7 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
551 |
= 7.3 =
|
552 |
* Released on 07/10/2018
|
553 |
* Spotify and Google Podcasts subscribe links added to Destinations.
|
554 |
-
* PowerPress users using [Blubrry Podcast Hosting](https://
|
555 |
* Added PodcastMirror setting, a modern alternative to FeedBurner. Learn more about [PodcastMirror](https://podcastmirror.com/) at [podcastmirror.com](https://podcastmirror.com/)
|
556 |
* Converted loop logic from each() to foreach() for PHP 7.3+ / 8.0+ compatibility.
|
557 |
* Improved logic for playlist player to appear better when certain settings are not set.
|
@@ -581,7 +588,7 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
581 |
= 7.1.1 =
|
582 |
* Released on 08/24/2017
|
583 |
* NOTE: There is no urgency to update to this version unless you can benefit from bug fixes listed.
|
584 |
-
* BETA COMING SOON: PowerPress 7.2 Beta will be available within 24-72 hours. Please visit https://
|
585 |
* Added logic to prevent the W3 Total Cache plugin from minifying podcast feeds. (Thanks @allimaple for bringing to our attention)
|
586 |
* Fixed warning messages in the getid3 library so they comply with PHP 7.1+. (Thanks @mahe for letting us know about the problem)
|
587 |
* Fixed error verifying URLs for file formats not supported by iTunes.
|
@@ -699,7 +706,7 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
699 |
* Embed link now toggles embed box when clicked multiple times.
|
700 |
|
701 |
= Additional PowerPress Version History =
|
702 |
-
Please visit the [PowerPress Version History](
|
703 |
|
704 |
== Upgrade Notice ==
|
705 |
None
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 8.6
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
18 |
|
19 |
= PowerPress Key Features =
|
20 |
- Integrated Players: PowerPress includes audio and video players with embed support from sites like YouTube.
|
21 |
+
- NEW: [Skip to Position in Player](https://blubrry.com/support/powerpress-documentation/skip-to-position-in-player/) shortcode allows you to jump to a given time stamp from the episode, right in your player.
|
22 |
- Subscribe tools: Create subscribe page with our exclusive subscribe shortcode embed and subscribe sidebar widget optimized for responsive websites, high-resolution screens and Apple Retina displays.
|
23 |
- Podcast Importing and Migration: Moving from another podcast host or publishing platform? You can import your podcast from SoundCloud, Libsyn, PodBean, Squarespace, Anchor, or any valid podcast RSS feed without losing episodes. Our Import Podcast tool paired with our Migrate Media tool can move your media to Blubrry Hosting without skipping a beat.
|
24 |
- Multiple Podcast Feeds on One Website: Create separate podcasts by category or media format using our Category Podcasting or Podcast Channels features.
|
39 |
* Audio Players: Pick from the Blubrry Player (available only to Blubrry Hosting customers), MediaElement.js, or the native HTML5 audio player. You can also use players from other themes and plugins.
|
40 |
* Video players: Pick from MediaElement.js, VideoJS, or the native HTML5 video player.
|
41 |
* Positioning: Move your player above or below your written content based on your needs and preferences.
|
42 |
+
* [Player shortcode](https://blubrry.com/support/powerpress-documentation/shortcode/): Place the player exactly where you want by adding the `[powerpress]` shortcode directly into your post content.
|
43 |
+
* [Playlist player shortcode](https://blubrry.com/support/powerpress-documentation/powerpress-playlist-shortcode/): Include a playlist of your latest podcast episodes utilizing the `[powerpress_playlist]` shortcode in any page or post.
|
44 |
* Embeds: Add embeds from sites such as YouTube.
|
45 |
* PowerPress Supports: MP3, M4A, OGA (ogg audio), and OPUS audio files, though we highly recommend MP3. It also supports video formats like M4V, MP4, WEBM, and OGV.
|
46 |
|
47 |
= Integrated Subscribe Tools =
|
48 |
A Blubrry PowerPress exclusive! Our subscription tools help you convert website visitors into podcast subscribers. Subscribe options include:
|
49 |
|
50 |
+
* [Subscribe page](https://blubrry.com/support/powerpress-documentation/subscribe-page/): Instantly create a subscribe page with simplified instructions on how to subscribe to your podcast using the [PowerPress subscribe page shortcode](https://blubrry.com/support/powerpress-documentation/powerpress-subscribe-shortcode/). It includes buttons to subscribe on Apple Podcasts, Google Podcasts, Spotify and many other platforms, like our [Subscribe on Android](http://www.subscribeonandroid.com) and [Subscribe by Email](https://www.subscribebyemail.com) services.
|
51 |
* Subscribe sidebar widget: Want to display your subscribe buttons neatly and simply on your website’s sidebar? Take advantage of our Subscribe Sidebar Widget, which will populate the same subscription buttons as the Subscribe Page. It’s also optimized for mobile!
|
52 |
* Responsive: Our subscribe tools are designed for any screen by providing custom buttons optimized to industry standards (48 pixels in height optimized for touch screen use).
|
53 |
* Retina enabled: Subscribe button images optimized for high resolution displays including Apple Retina displays.
|
58 |
* Publish media files directly from your own site.
|
59 |
* View Blubrry hosting usage and overall monthly quota every time you upload a new file.
|
60 |
* Configure how Blubrry writes media (ID3) tags within PowerPress settings.
|
61 |
+
* Blubrry hosting customers can migrate media files at no additional cost to your Blubrry account with just a couple clicks. Check out Blubrry [hosting plans](https://blubrry.com/services/podcast-hosting/).
|
62 |
|
63 |
+
All Blubrry statistics are [IAB Certified Compliant](https://blubrry.com/support/statistics-documentation/rawvoice-certified/). Free Statistics are FREE to anyone. Our Standard Statistics are included with Blubrry [hosting plans](https://blubrry.com/services/podcast-hosting//). Or you can purchase [Advanced Statistics](https://blubrry.com/services/podcast-statistics/advanced-statistics/) for $5 a month.
|
64 |
|
65 |
= Migrating from other Podcast Plugins =
|
66 |
+
Please see detailed instructions for migrating from [podPress](https://blubrry.com/support/powerpress-documentation/migrating-from-podpress-to-powerpress/), [TGS Podcasting Plugin](https://blubrry.com/support/powerpress-documentation/migrating-from-tgs-podcasting-plugin/) and [Seriously Simple Podcasting](https://blubrry.com/support/powerpress-documentation/migrating-from-seriously-simple-podcasting-plugin/).
|
67 |
|
68 |
Note: Advanced settings such as settings for podcast categories will need to be recreated in PowerPress.
|
69 |
|
71 |
Importing your podcast feed(s) into PowerPress is super easy! Simply paste your RSS feed URL into PowerPress’ Import Podcast tool. Importing your existing RSS feed into PowerPress pulls your episode posts into your site, then you can optionally migrate your media to your Blubrry Podcast Hosting account with only a couple of clicks.
|
72 |
|
73 |
= PowerPress in Your Language =
|
74 |
+
[PowerPress is available in a number of languages](https://blubrry.com/support/powerpress-documentation/powerpress-language/). Starting with PowerPress 7.0, translations have been managed through [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/powerpress/), making translations easier to set up and update. If you’re interested in translating PowerPress, please [contact us](https://blubrry.com/contact/#translate).
|
75 |
|
76 |
Translators will receive the following from us as a thank you for contributing:
|
77 |
|
80 |
* A link to your website or social media profile.
|
81 |
|
82 |
= Need Help? =
|
83 |
+
Contact the Blubrry Support team and look through the PowerPress [documentation](https://blubrry.com/support/powerpress-documentation/powerpress-documentation/) we’ve created.
|
84 |
|
85 |
= Contributors =
|
86 |
* Angelo Mandato, CIO [Blubrry](http://www.blubrry.com) - Plugin founder, architect and lead developer
|
103 |
* Brazilian Portuguese translation for v6.0+ by [Leo Lopes from Radiofobia](http://radiofobia.com.br/)
|
104 |
|
105 |
= Support =
|
106 |
+
[https://blubrry.com/support/](https://blubrry.com/support/)
|
107 |
|
108 |
= Blubrry Social =
|
109 |
|
125 |
= Compatible Themes and Plugins =
|
126 |
Most themes and plugins are compatible with PowerPress. PowerPress is developed and tested using the default themes packaged with WordPress. These themes use WordPress best practices and adhere to theme rules set by WordPress.org. Any child theme based on these themes should also work without issue.
|
127 |
|
128 |
+
If you are having a problem, try [Diagnosing Feed and/or Player Issues](https://blubrry.com/support/powerpress-documentation/diagnosing-feed-andor-player-issues-with-powerpress/).
|
129 |
|
130 |
+
If you are having a problem specifically with the player and links, try the "Having issues?" option under PowerPress Settings > Website > PowerPress Shortcodes tab. Visit [Resolving Plugin or Theme Conflicts](https://blubrry.com/support/powerpress-documentation/media-appearance/resolving-plugin-theme-conflict-issues/) for details.
|
131 |
|
132 |
= Premium podcasting themes compatible with PowerPress =
|
133 |
Second Line Themes are designed specifically to take advantage of built-in features, settings, and podcast episode metadata in PowerPress. The Blubrry team works with the Appendipity team during beta testing and major WordPress releases to make sure the Podcast Pro theme and PowerPress work together seamlessly.
|
138 |
As an alternative, PowerPress allows you to create additional custom podcast feeds and channels to associate any magnitude of media format and/or length in a blog post to specific custom feeds. For example, you can create one blog post associated with separate video and audio podcast feeds, saving you time from entering your show notes twice.
|
139 |
|
140 |
= Why doesn't Blubrry PowerPress include media statistics built-in? =
|
141 |
+
Blubrry's PowerPress does not include media statistics built-in. This is not because Blubrry has its own statistics service, although that's a good reason by itself. Maintaining and calculating statistics is a resource and server intensive task that would detract from an otherwise efficient WordPress podcasting plugin. We recommend using your media hosting's web statistics to give you basic download numbers and, if you are seeking more granular measurements, such as client and geographical information for each episode, you're more than welcome to use the [Blubrry Statistics service](https://blubrry.com/services/podcast-statistics/) as well.
|
142 |
|
143 |
= How do you insert the player within a blog post? =
|
144 |
You can insert the media player within your blog posts by using the WordPress shortcode feature. The shortcode for PowerPress is `[powerpress]` (all lowercase).
|
155 |
Alternatively, you can sign up for a Blubrry [hosting plan](https://blubrry.com/services/podcast-hosting/), which makes file uploads in PowerPress easier.
|
156 |
|
157 |
= The Media Player does not appear on my site (or the RSS feed is invalid) =
|
158 |
+
This can happen when there is a theme or plugin conflict. Please visit our [Diagnosing Feed and/or Player Issues](https://blubrry.com/support/powerpress-documentation/diagnosing-feed-andor-player-issues-with-powerpress/) for instructions how to resolve such issues.
|
159 |
|
160 |
|
161 |
== Installation ==
|
184 |
|
185 |
== Changelog ==
|
186 |
|
187 |
+
= 8.6 =
|
188 |
+
* Released 05/03/2021
|
189 |
+
* Add Blubrry stats widget to WordPress dashboard and PowerPress settings
|
190 |
+
* Remove deprecated Post to Social feature
|
191 |
+
* Small bug fixes
|
192 |
+
* Changes to links and Blubrry messages
|
193 |
+
|
194 |
- 8.5.8 =
|
195 |
* Released on 04/29/2021
|
196 |
* Fixed a PowerPress uploader bug introduced in a chrome update
|
462 |
* Released on 10/7/2019
|
463 |
* New Subscribe Destinations added:
|
464 |
** Deezer - Anyone can now submit their podcast to Deezer with just a blubrry.com account. [Learn more](https://powerpresspodcast.com/2019/08/07/blubrry-podcasts-coming-deezer/)
|
465 |
+
** Pandora - [Submit your podcast to Pandora](https://blubrry.com/manual/podcast-promotion/submit-podcast-to-pandora/)
|
466 |
+
** iHeart - [Submit your podcast to iHeart radio](https://blubrry.com/manual/podcast-promotion/submit-podcast-to-iheartradio/).
|
467 |
* New *Subscribe* button styling options!!!
|
468 |
** Buttons now use an SVG sprite, providing a small footprint while being optimized for retina displays. Subscribe buttons have never been so crisp!
|
469 |
** There is a new "Modern" color scheme, with the traditional square or new rounded corners.
|
547 |
|
548 |
= 7.4 =
|
549 |
* Released on 10/03/2018
|
550 |
+
* NEW: [Skip to Position in Player](https://blubrry.com/support/powerpress-documentation/skip-to-position-in-player/) shortcode, quickly skip to a position in your audio episodes from your show notes. e.g. `[skipto time="2:34"]` [Learn more](https://blubrry.com/support/powerpress-documentation/skip-to-position-in-player/)
|
551 |
+
* MEW: Emoji in show notes! You can now enter Emoji characters into the show notes to appear in podcast apps. Enable option in Feed settings tab. Previously WordPress converst Emoji to images which are not displayed in podcast apps. [Learn more](https://blubrry.com/support/powerpress-documentation/feeds/#emoji)
|
552 |
* Added option to override the Google Podcasts subscribe URL.
|
553 |
* Enhanced VideoObject, a feature in Podcasting SEO.
|
554 |
* Improved base64 encoding Google Podcasts Subscribe URLs. (Thanks Daniel Lewis for the heads up!)
|
558 |
= 7.3 =
|
559 |
* Released on 07/10/2018
|
560 |
* Spotify and Google Podcasts subscribe links added to Destinations.
|
561 |
+
* PowerPress users using [Blubrry Podcast Hosting](https://blubrry.com/services/podcast-hosting/) may now submit shows to Spotify!
|
562 |
* Added PodcastMirror setting, a modern alternative to FeedBurner. Learn more about [PodcastMirror](https://podcastmirror.com/) at [podcastmirror.com](https://podcastmirror.com/)
|
563 |
* Converted loop logic from each() to foreach() for PHP 7.3+ / 8.0+ compatibility.
|
564 |
* Improved logic for playlist player to appear better when certain settings are not set.
|
588 |
= 7.1.1 =
|
589 |
* Released on 08/24/2017
|
590 |
* NOTE: There is no urgency to update to this version unless you can benefit from bug fixes listed.
|
591 |
+
* BETA COMING SOON: PowerPress 7.2 Beta will be available within 24-72 hours. Please visit https://blubrry.com/support/powerpress-documentation/powerpress-beta/ for more details.
|
592 |
* Added logic to prevent the W3 Total Cache plugin from minifying podcast feeds. (Thanks @allimaple for bringing to our attention)
|
593 |
* Fixed warning messages in the getid3 library so they comply with PHP 7.1+. (Thanks @mahe for letting us know about the problem)
|
594 |
* Fixed error verifying URLs for file formats not supported by iTunes.
|
706 |
* Embed link now toggles embed box when clicked multiple times.
|
707 |
|
708 |
= Additional PowerPress Version History =
|
709 |
+
Please visit the [PowerPress Version History](https://blubrry.com/support/powerpress-documentation/powerpress-version-history/) page for history prior to version 6.0.
|
710 |
|
711 |
== Upgrade Notice ==
|
712 |
None
|
views/onboarding/blubrry_signin.php
CHANGED
@@ -308,7 +308,7 @@
|
|
308 |
}
|
309 |
|
310 |
if (isset($Error)) {
|
311 |
-
$Error .= '<p style="text-align: center;"><a href="
|
312 |
}
|
313 |
if ($Save) {
|
314 |
powerpress_save_settings($SaveSettings);
|
308 |
}
|
309 |
|
310 |
if (isset($Error)) {
|
311 |
+
$Error .= '<p style="text-align: center;"><a href="https://blubrry.com/support/powerpress-documentation/services-stats/" target="_blank">' . __('Click Here For Help', 'powerpress') . '</a></p>';
|
312 |
}
|
313 |
if ($Save) {
|
314 |
powerpress_save_settings($SaveSettings);
|
views/onboarding/createepisode.php
CHANGED
@@ -6,8 +6,13 @@
|
|
6 |
} else {
|
7 |
$message_style = 'display: none;';
|
8 |
}
|
9 |
-
?>
|
10 |
-
<
|
|
|
|
|
|
|
|
|
|
|
11 |
<h2 class="pp_align-center"><?php echo __('Time to work on a new episode', 'powerpress'); ?></h2>
|
12 |
<hr class="pp_align-center" />
|
13 |
<p class="pp_align-center"><?php echo __('Get started by creating your first post and adding an episode.', 'powerpress'); ?></p>
|
@@ -25,7 +30,7 @@
|
|
25 |
<div class="pp_content">
|
26 |
<!--<footer class="pp_align-center" style="height: 100%">-->
|
27 |
<div class="btn-caption-container">
|
28 |
-
<p class="pp_align-center" style="margin-bottom: 1ch;"><?php echo __('Release a new episode or blog post.', 'powerpress'); ?></p>
|
29 |
<p style="text-align: center; font-size: 14px; margin-top: 0;"><?php echo __('FYI: Before submitting to podcast directories, you are required to have at least one published episode.', 'powerpress'); ?></p>
|
30 |
</div>
|
31 |
<div class="pp_button-container">
|
@@ -59,5 +64,5 @@
|
|
59 |
</div>
|
60 |
</div>
|
61 |
</section>
|
62 |
-
|
63 |
|
6 |
} else {
|
7 |
$message_style = 'display: none;';
|
8 |
}
|
9 |
+
//Needed to add this style rule because the footer doesn't sit at the bottom on this page for some reason ?>
|
10 |
+
<style>
|
11 |
+
#wpfooter {
|
12 |
+
position: relative;
|
13 |
+
}
|
14 |
+
</style>
|
15 |
+
<div class="pp_container" id="pp-create-episode">
|
16 |
<h2 class="pp_align-center"><?php echo __('Time to work on a new episode', 'powerpress'); ?></h2>
|
17 |
<hr class="pp_align-center" />
|
18 |
<p class="pp_align-center"><?php echo __('Get started by creating your first post and adding an episode.', 'powerpress'); ?></p>
|
30 |
<div class="pp_content">
|
31 |
<!--<footer class="pp_align-center" style="height: 100%">-->
|
32 |
<div class="btn-caption-container">
|
33 |
+
<p class="pp_align-center" style="width: 100%; margin-bottom: 1ch;"><?php echo __('Release a new episode or blog post.', 'powerpress'); ?></p>
|
34 |
<p style="text-align: center; font-size: 14px; margin-top: 0;"><?php echo __('FYI: Before submitting to podcast directories, you are required to have at least one published episode.', 'powerpress'); ?></p>
|
35 |
</div>
|
36 |
<div class="pp_button-container">
|
64 |
</div>
|
65 |
</div>
|
66 |
</section>
|
67 |
+
</div>
|
68 |
|
views/onboarding/nohost.php
CHANGED
@@ -16,7 +16,7 @@ $pp_nonce = powerpress_login_create_nonce();
|
|
16 |
<div class="wrap">
|
17 |
<div class="pp_container">
|
18 |
<h2 class="pp_align-center"><?php echo __('Would you like to host with Blubrry?', 'powerpress'); ?></h2>
|
19 |
-
<h5 class="pp_align-center"><?php echo __('Don’t know what a podcast host is?', 'powerpress'); ?> <a style="color:blue" href="https://
|
20 |
<hr class="pp_align-center" />
|
21 |
<p class="pp_align-center"><?php echo __('A podcast media host is essential for your show. If you host your files and RSS feed on WordPress, it can be very fragile and break.', 'powerpress'); ?> </p>
|
22 |
|
16 |
<div class="wrap">
|
17 |
<div class="pp_container">
|
18 |
<h2 class="pp_align-center"><?php echo __('Would you like to host with Blubrry?', 'powerpress'); ?></h2>
|
19 |
+
<h5 class="pp_align-center"><?php echo __('Don’t know what a podcast host is?', 'powerpress'); ?> <a style="color:blue" href="https://blubrry.com/manual/internet-media-hosting/"><?php echo __('Learn more', 'powerpress'); ?></a></h5>
|
20 |
<hr class="pp_align-center" />
|
21 |
<p class="pp_align-center"><?php echo __('A podcast media host is essential for your show. If you host your files and RSS feed on WordPress, it can be very fragile and break.', 'powerpress'); ?> </p>
|
22 |
|
views/onboarding/show_basics.php
CHANGED
@@ -160,7 +160,7 @@ if (isset($_POST['pp_start']['title'])) {
|
|
160 |
<p class="pp-smaller-text"><?php echo __('RGB color space', 'powerpress'); ?></p>
|
161 |
<img style="display: none;" src="<?php echo powerpress_get_root_url(); ?>images/onboarding/checkmark.svg" id="colorspace-icon" class="success-fail-icon">
|
162 |
<hr style="margin: 0 0 1em 0;">
|
163 |
-
<a href="https://
|
164 |
</div>
|
165 |
</div>
|
166 |
</div>
|
160 |
<p class="pp-smaller-text"><?php echo __('RGB color space', 'powerpress'); ?></p>
|
161 |
<img style="display: none;" src="<?php echo powerpress_get_root_url(); ?>images/onboarding/checkmark.svg" id="colorspace-icon" class="success-fail-icon">
|
162 |
<hr style="margin: 0 0 1em 0;">
|
163 |
+
<a href="https://blubrry.com/support/powerpress-documentation/artwork-2/"><?php echo __('Learn more about Podcast Artwork', 'powerpress'); ?></a>
|
164 |
</div>
|
165 |
</div>
|
166 |
</div>
|
views/settings_tab_appearance.php
CHANGED
@@ -44,7 +44,7 @@ function powerpressadmin_website_settings_custom_feed($General, $FeedSettings, $
|
|
44 |
<?php
|
45 |
}
|
46 |
?>
|
47 |
-
<p class="pp-settings-text"><a href="https://
|
48 |
<?php
|
49 |
// TODO: use the $FeedAttribs to create a recommended shortcode for this particular channel, may be simple [powerpress_subscribe] or it may specify the category, taxonomy, and/or feed_slug/post tpe podcasting
|
50 |
?>
|
@@ -302,7 +302,7 @@ function powerpress_subscribe_settings($General, $FeedSettings) {
|
|
302 |
<?php
|
303 |
//}
|
304 |
?>
|
305 |
-
<p class="pp-settings-text"><a href="https://
|
306 |
<?php
|
307 |
// TODO: use the $FeedAttribs to create a recommended shortcode for this particular channel, may be simple [powerpress_subscribe] or it may specify the category, taxonomy, and/or feed_slug/post tpe podcasting
|
308 |
?>
|
@@ -441,7 +441,7 @@ function powerpress_shortcode_settings($GeneralSettings, $FeedAttribs) {
|
|
441 |
<?php echo __('The Player shortcode is used to position your media presentation (player and download links) exactly where you want within your post or page content.', 'powerpress'); ?>
|
442 |
</p>
|
443 |
<p class="pp-settings-text">
|
444 |
-
<?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://
|
445 |
</p>
|
446 |
<p class="pp-label-bottom" style="font-size: 12px;">
|
447 |
<?php echo __('Note: When specifying a URL to media in the powerpress shortcode, only the player is included. The Media Links will NOT be included since there is not enough meta information to display them.', 'powerpress'); ?>
|
@@ -461,7 +461,7 @@ function powerpress_shortcode_settings($GeneralSettings, $FeedAttribs) {
|
|
461 |
<?php echo __('The Playlist shortcode is used to display a player with a playlist of your podcast episodes. It utilizes the default playlist built into WordPress.', 'powerpress'); ?>
|
462 |
</p>
|
463 |
<p class="pp-settings-text">
|
464 |
-
<?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://
|
465 |
</p>
|
466 |
|
467 |
<h1 class="pp-heading"><?php echo __('PowerPress Subscribe Shortcode', 'powerpress'); ?> </h1>
|
@@ -472,7 +472,7 @@ function powerpress_shortcode_settings($GeneralSettings, $FeedAttribs) {
|
|
472 |
<?php echo __('The Subscribe shortcode is used to display a subscribe to podcast widget for your podcast. It is intended for use on a custom subscribe page. See the Subscribe Page section below for more details.', 'powerpress'); ?>
|
473 |
</p>
|
474 |
<p class="pp-settings-text">
|
475 |
-
<?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://
|
476 |
</p>
|
477 |
|
478 |
|
@@ -492,7 +492,7 @@ function powerpress_shortcode_settings($GeneralSettings, $FeedAttribs) {
|
|
492 |
<li>[skipto time="1:23:45"] <?php echo __('or', 'powerpress'); ?> [skipto time="83:45"] <?php echo __('or', 'powerpress'); ?> [skipto time="5025"] — <a href="#" onclick="return false;">1:23:45</a></li>
|
493 |
</ul>
|
494 |
<p class="pp-settings-text" style="margin-top: 2em;">
|
495 |
-
<?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://
|
496 |
</p>
|
497 |
<h1 class="pp-heading"><?php echo __('Having Issues?', 'powerpress'); ?></h1>
|
498 |
<div style="margin-top: 3ch;">
|
@@ -514,7 +514,7 @@ function powerpress_shortcode_settings($GeneralSettings, $FeedAttribs) {
|
|
514 |
<?php echo __('Use this option if you are having problems with the players not appearing on some or all of your pages.', 'powerpress'); ?>
|
515 |
</label>
|
516 |
</div>
|
517 |
-
<p class="pp-settings-text" style="margin-top: 3ch;"><a href="
|
518 |
<p class="pp-settings-text">
|
519 |
<?php echo __('If the above option fixes the player issues, then you most likely have a conflicting theme or plugin activated. You can verify your theme is not causing the problem by testing your site using the latest default WordPress theme (twentyfourteen). For plugins, disable them one by one until the player re-appears, which indicates the last plugin deactivated caused the conflict.', 'powerpress'); ?>
|
520 |
</p>
|
44 |
<?php
|
45 |
}
|
46 |
?>
|
47 |
+
<p class="pp-settings-text"><a href="https://blubrry.com/support/powerpress-documentation/subscribe-page/" target="_blank"><?php echo __('Learn more about the PowerPress Subscribe Page', 'powerpress'); ?></a></p>
|
48 |
<?php
|
49 |
// TODO: use the $FeedAttribs to create a recommended shortcode for this particular channel, may be simple [powerpress_subscribe] or it may specify the category, taxonomy, and/or feed_slug/post tpe podcasting
|
50 |
?>
|
302 |
<?php
|
303 |
//}
|
304 |
?>
|
305 |
+
<p class="pp-settings-text"><a href="https://blubrry.com/support/powerpress-documentation/subscribe-page/" target="_blank"><?php echo __('Learn more about the PowerPress Subscribe Page', 'powerpress'); ?></a></p>
|
306 |
<?php
|
307 |
// TODO: use the $FeedAttribs to create a recommended shortcode for this particular channel, may be simple [powerpress_subscribe] or it may specify the category, taxonomy, and/or feed_slug/post tpe podcasting
|
308 |
?>
|
441 |
<?php echo __('The Player shortcode is used to position your media presentation (player and download links) exactly where you want within your post or page content.', 'powerpress'); ?>
|
442 |
</p>
|
443 |
<p class="pp-settings-text">
|
444 |
+
<?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://blubrry.com/support/powerpress-documentation/shortcode/" target="_blank">'. __('PowerPress Player Shortcode', 'powerpress') .'</a>' ); ?>
|
445 |
</p>
|
446 |
<p class="pp-label-bottom" style="font-size: 12px;">
|
447 |
<?php echo __('Note: When specifying a URL to media in the powerpress shortcode, only the player is included. The Media Links will NOT be included since there is not enough meta information to display them.', 'powerpress'); ?>
|
461 |
<?php echo __('The Playlist shortcode is used to display a player with a playlist of your podcast episodes. It utilizes the default playlist built into WordPress.', 'powerpress'); ?>
|
462 |
</p>
|
463 |
<p class="pp-settings-text">
|
464 |
+
<?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://blubrry.com/support/powerpress-documentation/powerpress-playlist-shortcode/" target="_blank">'. __('PowerPress Playlist Shortcode', 'powerpress') .'</a>' ); ?>
|
465 |
</p>
|
466 |
|
467 |
<h1 class="pp-heading"><?php echo __('PowerPress Subscribe Shortcode', 'powerpress'); ?> </h1>
|
472 |
<?php echo __('The Subscribe shortcode is used to display a subscribe to podcast widget for your podcast. It is intended for use on a custom subscribe page. See the Subscribe Page section below for more details.', 'powerpress'); ?>
|
473 |
</p>
|
474 |
<p class="pp-settings-text">
|
475 |
+
<?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://blubrry.com/support/powerpress-documentation/powerpress-subscribe-shortcode/" target="_blank">'. __('PowerPress Subscribe Shortcode', 'powerpress') .'</a>' ); ?>
|
476 |
</p>
|
477 |
|
478 |
|
492 |
<li>[skipto time="1:23:45"] <?php echo __('or', 'powerpress'); ?> [skipto time="83:45"] <?php echo __('or', 'powerpress'); ?> [skipto time="5025"] — <a href="#" onclick="return false;">1:23:45</a></li>
|
493 |
</ul>
|
494 |
<p class="pp-settings-text" style="margin-top: 2em;">
|
495 |
+
<?php echo sprintf(__('Please visit the %s page for additional options.', 'powerpress'), '<a href="https://blubrry.com/support/powerpress-documentation/skip-to-position-in-player/" target="_blank">'. __('PowerPress Skip-to-Position in Player Shortcode', 'powerpress') .'</a>' ); ?>
|
496 |
</p>
|
497 |
<h1 class="pp-heading"><?php echo __('Having Issues?', 'powerpress'); ?></h1>
|
498 |
<div style="margin-top: 3ch;">
|
514 |
<?php echo __('Use this option if you are having problems with the players not appearing on some or all of your pages.', 'powerpress'); ?>
|
515 |
</label>
|
516 |
</div>
|
517 |
+
<p class="pp-settings-text" style="margin-top: 3ch;"><a href="https://blubrry.com/support/powerpress-documentation/media-appearance/resolving-plugin-theme-conflict-issues/" target="_blank"><?php echo __('Learn More', 'powerpress'); ?></a></p>
|
518 |
<p class="pp-settings-text">
|
519 |
<?php echo __('If the above option fixes the player issues, then you most likely have a conflicting theme or plugin activated. You can verify your theme is not causing the problem by testing your site using the latest default WordPress theme (twentyfourteen). For plugins, disable them one by one until the player re-appears, which indicates the last plugin deactivated caused the conflict.', 'powerpress'); ?>
|
520 |
</p>
|
views/settings_tab_destinations.php
CHANGED
@@ -312,30 +312,33 @@ function subscribeSetting($directory, $feed_url, $listing_url) {
|
|
312 |
}
|
313 |
?>
|
314 |
|
315 |
-
<div class="pp-sidenav">
|
316 |
-
<div
|
317 |
-
<
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
|
|
|
|
|
|
339 |
</div>
|
340 |
|
341 |
<div id="destinations-all" class="pp-sidenav-tab active">
|
@@ -442,7 +445,10 @@ function subscribeSetting($directory, $feed_url, $listing_url) {
|
|
442 |
<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>
|
443 |
<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>
|
444 |
</div>
|
445 |
-
<?php
|
|
|
|
|
|
|
446 |
</div>
|
447 |
|
448 |
<div id="destinations-jiosaavn" class="pp-sidenav-tab">
|
312 |
}
|
313 |
?>
|
314 |
|
315 |
+
<div class="pp-sidenav-toggle-container">
|
316 |
+
<div id="destinations-toggle-sidenav" class="toggle-sidenav" title="Destinations Settings and Blubrry Services" onclick="powerpress_displaySideNav(this);"><</div>
|
317 |
+
<div class="pp-sidenav">
|
318 |
+
<div class="pp-sidenav-extra"><p class="pp-sidenav-extra-text"><b><?php echo htmlspecialchars(__('DESTINATIONS SETTINGS', 'powerpress')); ?></b></p></div>
|
319 |
+
<button id="destinations-default-open" class="pp-sidenav-tablinks active" onclick="sideNav(event, 'destinations-all')"><img class="pp-nav-icon" alt="" src="<?php echo powerpress_get_root_url(); ?>images/settings_nav_icons/rss-symbol.svg" style="margin-left: 7px; margin-right: 20px;width: 22px;"><?php echo htmlspecialchars(__('Basic Info', 'powerpress')); ?></button>
|
320 |
+
<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>
|
321 |
+
<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>
|
322 |
+
<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>
|
323 |
+
<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>
|
324 |
+
<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>
|
325 |
+
<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>
|
326 |
+
<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>
|
327 |
+
<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>
|
328 |
+
<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>
|
329 |
+
<button class="pp-sidenav-tablinks" id="destinations-jiosaavn-tab" onclick="sideNav(event, 'destinations-jiosaavn')"><span id="jiosaavn-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('JioSaavn', 'powerpress')); ?></span></button>
|
330 |
+
<button class="pp-sidenav-tablinks" id="destinations-podchaser-tab" onclick="sideNav(event, 'destinations-podchaser')"><span id="podchaser-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Podchaser', 'powerpress')); ?></span></button>
|
331 |
+
<button class="pp-sidenav-tablinks" id="destinations-gaana-tab" onclick="sideNav(event, 'destinations-gaana')"><span id="gaana-icon-side" class="destinations-side-icon"></span><span class="destination-side-text"><?php echo htmlspecialchars(__('Gaana', 'powerpress')); ?></span></button>
|
332 |
+
<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>
|
333 |
+
<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>
|
334 |
+
<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>
|
335 |
+
<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>
|
336 |
+
<?php
|
337 |
+
powerpressadmin_edit_blubrry_services($General);
|
338 |
+
?>
|
339 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/support/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('POWERPRESS DOCUMENTATION', 'powerpress')); ?></a></div>
|
340 |
+
<div class="pp-sidenav-extra"><a href="https://www.blubrry.com/podcast-insider/" class="pp-sidenav-extra-text"><?php echo htmlspecialchars(__('PODCAST INSIDER BLOG', 'powerpress')); ?></a></div>
|
341 |
+
</div>
|
342 |
</div>
|
343 |
|
344 |
<div id="destinations-all" class="pp-sidenav-tab active">
|
445 |
<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>
|
446 |
<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>
|
447 |
</div>
|
448 |
+
<?php
|
449 |
+
marketing_footer();
|
450 |
+
powerpress_settings_tab_footer();
|
451 |
+
?>
|
452 |
</div>
|
453 |
|
454 |
<div id="destinations-jiosaavn" class="pp-sidenav-tab">
|