Version Description
- Released 2/18/2020
- Minified CSS files for faster loading times
- Consolidated CSS classes and gave them more unique names so as to avoid conflict with other plugins
- Added the ability for PowerPress to remember the season of the last episode published and put this as a default value in this field for new posts
- Fixed a bug that was preventing the explicit setting from saving
- Made poster image setting visible to all
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 8.2.4 |
Comparing to | |
See all releases |
Code changes from version 8.2.3 to 8.2.4
- class.powerpress-subscribe-widget.php +5 -1
- class.powerpress_onboarding.php +9 -1
- css/admin.min.css +1 -0
- css/dashboard.min.css +1 -0
- css/episode-box.css +73 -130
- css/episode-box.min.css +1 -0
- css/jquery.min.css +1 -0
- css/onboarding.css +1 -1
- css/onboarding.min.css +1 -0
- css/steps.min.css +1 -0
- js/admin.js +18 -24
- powerpress-metamarks.php +16 -16
- powerpress-subscribe.php +5 -1
- powerpress.php +2 -2
- powerpressadmin-defaults.php +10 -2
- powerpressadmin-jquery.php +9 -2
- powerpressadmin-metabox.php +62 -57
- powerpressadmin-rss-import.php +9 -1
- powerpressadmin.php +23 -5
- readme.txt +10 -2
- views/episode-box.php +10 -2
class.powerpress-subscribe-widget.php
CHANGED
@@ -233,7 +233,11 @@ PowerPress subscribe sidebar widget
|
|
233 |
if( isset($instance['style']) )
|
234 |
$Settings['style'] = $instance['style'];
|
235 |
if (defined('WP_DEBUG')) {
|
236 |
-
|
|
|
|
|
|
|
|
|
237 |
} else {
|
238 |
wp_enqueue_style('powerpress_subscribe_widget_modern', plugin_dir_url(__FILE__) . 'css/subscribe-widget.min.css');
|
239 |
}
|
233 |
if( isset($instance['style']) )
|
234 |
$Settings['style'] = $instance['style'];
|
235 |
if (defined('WP_DEBUG')) {
|
236 |
+
if (WP_DEBUG) {
|
237 |
+
wp_enqueue_style('powerpress_subscribe_widget_modern', plugin_dir_url(__FILE__) . 'css/subscribe-widget.css');
|
238 |
+
} else {
|
239 |
+
wp_enqueue_style('powerpress_subscribe_widget_modern', plugin_dir_url(__FILE__) . 'css/subscribe-widget.min.css');
|
240 |
+
}
|
241 |
} else {
|
242 |
wp_enqueue_style('powerpress_subscribe_widget_modern', plugin_dir_url(__FILE__) . 'css/subscribe-widget.min.css');
|
243 |
}
|
class.powerpress_onboarding.php
CHANGED
@@ -3,7 +3,15 @@ class PowerpressOnboarding
|
|
3 |
{
|
4 |
function __construct()
|
5 |
{
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
8 |
|
9 |
public function router($GET) {
|
3 |
{
|
4 |
function __construct()
|
5 |
{
|
6 |
+
if (defined('WP_DEBUG')) {
|
7 |
+
if (WP_DEBUG) {
|
8 |
+
wp_enqueue_style('powerpress_onboarding_styles', plugin_dir_url(__FILE__) . 'css/onboarding.css');
|
9 |
+
} else {
|
10 |
+
wp_enqueue_style('powerpress_onboarding_styles', plugin_dir_url(__FILE__) . 'css/onboarding.min.css');
|
11 |
+
}
|
12 |
+
} else {
|
13 |
+
wp_enqueue_style('powerpress_onboarding_styles', plugin_dir_url(__FILE__) . 'css/onboarding.min.css');
|
14 |
+
}
|
15 |
}
|
16 |
|
17 |
public function router($GET) {
|
css/admin.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.powerpress-notice,.wrap div.powerpress-notice,div.powerpress-notice{margin:20px 0 10px;padding:0 5px;line-height:29px}.powerpress-error,.wrap div.powerpress-error,div.powerpress-error{margin:20px 5px 10px;padding:0 10px;line-height:29px;font-size:12px;border-width:1px;border-style:solid;font-weight:700}#powerpress_settings{background-image:url(//images.blubrry.com/powerpress/blubrry_logo7.png);background-repeat:no-repeat;background-position:bottom right}#powerpress_settings ul li ul{list-style:disc}#powerpress_settings ul li ul li{margin-left:50px;font-size:90%}#powerpress_settings td{padding-top:12px}#powerpress_settings td p{padding-bottom:10px}.bpp_input_sm{width:120px}.bpp_input_med{width:250px}.bpp-input-normal{width:80%}.powerpress_color_box{float:left;width:16px;height:16px;cursor:pointer;margin:4px 1px;border:1px solid #666}.powerpress_tabbed_content>ul{margin-left:10px;position:relative;top:1px;z-index:100}.powerpress_tabbed_content>ul li{list-style:none;float:left;margin-bottom:0}.powerpress_tabbed_content>ul a{text-decoration:none;-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;border-radius-topleft:3px;border-radius-topright:3px;border-style:solid;border-width:1px;cursor:pointer;display:block;height:18px;margin:5px 5px 0 0;padding:4px 5px 2px;background-color:#f1f1f1;background-color:#e3e3e3;border-color:#dfdfdf;border-color:#b3b3b3;color:#999;color:#666;font-weight:700}.powerpress_tabbed_content ul .ui-tabs-active a,.powerpress_tabbed_content ul .ui-tabs-selected a{background-color:#fff;border-bottom:0 none;color:#333;cursor:default;padding-bottom:3px}.powerpress_tabbed_content>div{padding:0 10px 10px 10px;clear:left}.powerpress_tabbed_content .wrap{padding:0}.powerpress_tab{-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;background:#fff;border-collapse:separate;border-style:solid;border-width:1px;border-color:#dfdfdf;border-color:#b3b3b3;padding-bottom:15px}.powerpress_tab .form-table{margin-top:0;margin-bottom:0}.powerpress_tab .form-table td{margin-bottom:4px;padding:4px 10px 4px;line-height:20px;font-size:11px}#powerpress_support li{margin-left:70px;list-style-type:disc;margin-top:0;margin-bottom:0}.powerpress-welcome-news{margin:10px 0 0 0;float:left;width:60%;border-right:1px solid #ccc}.powerpress-welcome-news>div{margin:0 10px 0 0}.powerpress-welcome-news a{text-decoration:none}.powerpress-welcome-news .rsswidget{font-size:110%;font-weight:700}.powerpress-welcome-news .rss-date{font-size:80%;margin-left:10px}.powerpress-welcome-news .rssSummary{font-size:95%}.powerpress-welcome-news .powerpressNewsPlayer{margin-top:5px}.powerpress-welcome-highlighted{margin:10px 0 0 0;float:left;width:39%}.powerpress-welcome-highlighted>div{margin:0 0 0 10px}.powerpress-welcome-highlighted a{text-decoration:none}.powerpress-welcome-highlighted .rsswidget{font-size:115%;font-weight:700}.powerpress-welcome-highlighted .rssSummary{font-size:95%}.powerpress-welcome-highlighted ul li,.powerpress-welcome-news ul li{margin:15px 0 10px 0}.powerpress-welcome-highlighted h2,.powerpress-welcome-news h2{padding:0}#powerpress_settings label.powerpress-normal-font{font-size:11px}#powerpress_admin_header{vertical-align:text-bottom}#powerpress_admin_header h2{display:inline-block}#powerpress_admin_header h2,#powerpress_admin_header h3,#powerpress_admin_header h4{line-height:1.1;margin:10px 0 0 0;padding:0;font-weight:700}#powerpress_admin_header p{line-height:1.1;margin:5px 0 10px 0;padding:0}#powerpress_admin_header .powerpress-admin-heading{font-weight:700}#powerpress_admin_header .powerpress-mode{margin-left:14px;display:inline-block;color:#f60;font-size:15px;font-weight:700}#pp-getting-started-box{max-width:1200px}#pp-getting-started-box h2{font-size:200%;margin-bottom:20px;font-style:oblique;line-height:1.2em}#pp-getting-started-box>p{font-size:125%}.powerpress-required{font-size:85%;color:#c00;margin-left:12px;font-style:italic}.powerpress-step{display:inline-block;float:left;width:200px;width:24%;margin-left:60px;margin-right:0;text-align:top;position:relative;padding:8px}.blubrry-services{color:#337ec9;font-size:18px;line-height:1.2}.blubrry-services p{margin:0 70px 0 0;padding:0}.blubrry-services strong{color:#f60;font-weight:400}.blubrry-services p.top-lines{margin-right:0}.blubrry-services a{color:#f60;font-size:20px;line-height:2}.blubrry-services .blubrry-hosting,.blubrry-services .blubrry-stats{float:left;width:230px;height:140px;background-color:#ececec;padding:10px;margin-top:10px}.blubrry-services .blubrry-stats{background-image:url(../images/StatsIcon.png);background-repeat:no-repeat;background-position:bottom right}.blubrry-services .blubrry-hosting{margin-right:50px;background-image:url(../images/BlubrryIcon.png);background-repeat:no-repeat;background-position:bottom right}@media screen and (min-width:1px) and (max-width:819px){.powerpress-step{width:170px}#powerpress_steps p{font-size:16px;margin:20px 4px}.blubrry-services .blubrry-hosting{margin-right:20px}}@media screen and (min-width:1px) and (max-width:729px){#powerpreess_step_1{background-position:1px bottom}#powerpress_steps p{margin:10px 4px}.blubrry-services .blubrry-hosting{margin-right:10px}}@media screen and (min-width:1px) and (max-width:729px){.powerpress-step{width:24%;margin-left:30px}}.numberCircle{border-radius:50%;behavior:url(PIE.htc);width:36px;height:36px;padding:8px;background:#fff;border:2px solid #666;color:#666;text-align:center;font:32px Arial,sans-serif}#powerpress_settings_page{background:0 0;background-color:inherit;border:none}#powerpress_settings_page .ui-widget-header{background:0 0;border:none}#powerpress_settings_page .ui-state-default,#powerpress_settings_page .ui-widget-content .ui-state-default,#powerpress_settings_page .ui-widget-header .ui-state-default{background:0 0;border:none}#powerpress_settings_page .ui-tabs-nav li{margin-bottom:0;border-bottom:none}#powerpress_settings_page .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}#powerpress_settings_page .ui-tabs-nav li a{padding:4px 5px 2px}#powerpress_settings_page .ui-tabs-nav li.ui-tabs-active a{padding:4px 5px 3px}#powerpress_settings_page .powerpress_tab{background-color:#fff;border-collapse:separate;border-style:solid;border-width:1px;border-color:#dfdfdf;border-color:#b3b3b3}.pp-section{clear:both;padding:0;margin:0}.pp-section dt{font-weight:700}.pp-expand-section{text-decoration:none}a.pp-expand-section,a.pp-expand-section:focus,a.pp-expand-section:hover,a.pp-expand-section:visited{color:#1976d2}.pp-expand-section-expanded:before,.pp-expand-section:before{background-color:#1976d2;border:1px solid #1976d2;border-radius:3px;font-weight:700;color:#fff;height:20px;width:20px;display:inline-block;margin-right:10px;text-align:center;font-size:20px}.pp-expand-section:before{content:' \25C4';content:'+';line-height:20px}.pp-expand-section-expanded:before{content:' \25BC';content:'-';line-height:16px}.bbplayer_settings .form-table th{padding-bottom:0}.bbplayer_settings h3{color:#036;font-weight:700}.wp-core-ui .button-blubrry{background:#1976d2;border-color:#1976d2;color:#fff}.wp-core-ui .button-blubrry-gray{background:#f7f7f7;border-color:#ccc;color:#555}.wp-core-ui .button-blubrry:focus,.wp-core-ui .button-blubrry:hover{background:#0d87e9;border-color:#0d87e9;color:#fff}.pp-form-error{border:red solid 1px}
|
css/dashboard.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
#powerpress_dashboard_notice_3 a.update-browser-link{font-size:1.2em;font-weight:700}#powerpress_dashboard_notice_3 a{text-decoration:underline}#powerpress_dashboard_notice_3.postbox{background-color:#e29808;background-image:none;border-color:#edc048;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;color:#fff}#powerpress_dashboard_notice_3.postbox h3{border-bottom-color:#f6e2ac;text-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;background:transparent none;color:#fff}#powerpress_dashboard_notice_3 a{color:#fff}#powerpress_dashboard_notice_3.browser-insecure a.browse-happy-link,#powerpress_dashboard_notice_3.browser-insecure a.update-browser-link{text-shadow:#871b15 0 1px 0}#powerpress_dashboard_notice_3 a.browse-happy-link,#powerpress_dashboard_notice_3 a.update-browser-link{text-shadow:#d29a04 0 1px 0}
|
css/episode-box.css
CHANGED
@@ -107,18 +107,7 @@ div[class^="pp-tooltip"] .text-pp-tooltip::after {
|
|
107 |
border: 1px solid #EAEDF3;
|
108 |
border-radius: 4px;
|
109 |
}
|
110 |
-
|
111 |
-
vertical-align:top;
|
112 |
-
}
|
113 |
-
.pp-metamarks-row input.pp-metamark-link {
|
114 |
-
}
|
115 |
-
.pp-metamarks-row select {
|
116 |
-
vertical-align:top;
|
117 |
-
}
|
118 |
-
.pp-metamarks-row textarea {
|
119 |
-
height: 50px;
|
120 |
-
resize: none;
|
121 |
-
}
|
122 |
.pp-metamark-delete a {
|
123 |
margin: 4px 0pt 0pt -2px;
|
124 |
cursor: pointer;
|
@@ -130,36 +119,18 @@ div[class^="pp-tooltip"] .text-pp-tooltip::after {
|
|
130 |
left: -14px;
|
131 |
}
|
132 |
|
133 |
-
div[id^="
|
134 |
-
|
135 |
-
padding-top: 2vh;
|
136 |
-
}
|
137 |
-
|
138 |
-
a[id^="pp-change-media-link"], div[id^="save-media"] {
|
139 |
-
cursor: pointer;
|
140 |
-
}
|
141 |
-
|
142 |
-
select[id^="powerpress_category_"] {
|
143 |
-
max-width: 51.6%;
|
144 |
-
width: 100%;
|
145 |
-
height: 56px;
|
146 |
}
|
147 |
|
148 |
-
|
149 |
-
margin: 1em 1em 0 3em;
|
150 |
-
}
|
151 |
-
|
152 |
-
.metamark-preview-pos, .metamark-preview-type, .pp-metamark-delete, .pp-metamark-edit {
|
153 |
display: inline-block;
|
154 |
-
}
|
155 |
-
|
156 |
-
.metamark-preview-pos, .pp-metamark-delete {
|
157 |
-
|
158 |
margin: 1em;
|
159 |
}
|
160 |
|
161 |
-
.pp-metamark-edit, .metamark-preview-type {
|
162 |
margin: 1em 0;
|
|
|
163 |
}
|
164 |
|
165 |
.metamark-top-section {
|
@@ -169,71 +140,71 @@ div[id^="pp-category-dropdown-"] {
|
|
169 |
width: 100%;
|
170 |
}
|
171 |
|
|
|
|
|
|
|
|
|
172 |
.pp-metamark-edit, .pp-metamark-delete {
|
173 |
float: right;
|
174 |
}
|
175 |
|
176 |
-
|
177 |
-
width:
|
178 |
-
|
|
|
179 |
}
|
180 |
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
}
|
186 |
|
187 |
-
|
188 |
-
|
|
|
|
|
|
|
|
|
189 |
}
|
190 |
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
}
|
195 |
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
}
|
200 |
|
201 |
-
|
202 |
-
width: 40%;
|
203 |
-
margin: 1em 2% 1em 0;
|
204 |
display: inline-block;
|
|
|
|
|
205 |
}
|
206 |
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
}
|
211 |
-
|
212 |
-
div[id^="pos-label-"] {
|
213 |
-
width: 26%;
|
214 |
-
margin: 1em 0 1em 1%;
|
215 |
-
display: inline-block;
|
216 |
}
|
217 |
|
218 |
-
|
219 |
-
|
220 |
-
margin: 1em 0 1em 2%;
|
221 |
-
float: right;
|
222 |
-
display: inline-block;
|
223 |
}
|
224 |
|
225 |
-
|
226 |
-
|
|
|
|
|
227 |
}
|
228 |
|
229 |
-
|
230 |
-
margin:
|
231 |
}
|
232 |
|
233 |
-
|
234 |
-
height: 72px;
|
235 |
width: 100%;
|
236 |
-
margin: auto;
|
237 |
}
|
238 |
|
239 |
#powerpress-podcast .inside {
|
@@ -299,7 +270,7 @@ h4[class^="pp-section-title"] {
|
|
299 |
width: 100%;
|
300 |
}
|
301 |
|
302 |
-
.ep-box-text {
|
303 |
font-size: 14px;
|
304 |
margin-top: 2ch;
|
305 |
margin-bottom: 0;
|
@@ -353,7 +324,6 @@ div[class^="metamark-preview-"] {
|
|
353 |
font-weight: bold;
|
354 |
}
|
355 |
|
356 |
-
|
357 |
div[id^="explicit-switch-base"] {
|
358 |
display: inline-block;
|
359 |
padding: 5px;
|
@@ -362,7 +332,7 @@ div[id^="explicit-switch-base"] {
|
|
362 |
border-radius: 4px;
|
363 |
}
|
364 |
|
365 |
-
.explicit-option {
|
366 |
background-color: #e6e6e6;
|
367 |
}
|
368 |
|
@@ -372,7 +342,7 @@ div[id^="explicit-switch-base"] {
|
|
372 |
border-radius: 4px;
|
373 |
}
|
374 |
|
375 |
-
.explicit-option, .explicit-selected {
|
376 |
border-collapse: collapse;
|
377 |
font-weight: bold;
|
378 |
display: inline-block;
|
@@ -429,17 +399,6 @@ div[class="ep-box-line-bold"] {
|
|
429 |
padding-right: 2em;
|
430 |
}
|
431 |
|
432 |
-
div[id^="pp-display-player"] {
|
433 |
-
width: 45%;
|
434 |
-
display: inline-block;
|
435 |
-
}
|
436 |
-
|
437 |
-
div[id^="pp-player-size"] {
|
438 |
-
width: 53%;
|
439 |
-
display: inline-block;
|
440 |
-
vertical-align: top;
|
441 |
-
}
|
442 |
-
|
443 |
.pp-hidden-settings {
|
444 |
display: none;
|
445 |
}
|
@@ -504,7 +463,7 @@ input[id^="powerpress_size"] {
|
|
504 |
height: 28px;
|
505 |
}
|
506 |
|
507 |
-
input[id^="powerpress_duration_"]
|
508 |
width: 48px;
|
509 |
text-align: center;
|
510 |
height: 34px;
|
@@ -573,7 +532,7 @@ label[class="ep-box-caption"] {
|
|
573 |
margin-left: 2em;
|
574 |
}
|
575 |
|
576 |
-
label[class^="ep-box-label"] {
|
577 |
position: relative;
|
578 |
top: 2px;
|
579 |
padding: 0 2px 0 2px;
|
@@ -581,7 +540,7 @@ label[class^="ep-box-label"] {
|
|
581 |
background: transparent;
|
582 |
}
|
583 |
|
584 |
-
label[class^="ep-box-label-under"] {
|
585 |
position: relative;
|
586 |
padding: 0 2px 0 2px;
|
587 |
bottom: 10px;
|
@@ -590,12 +549,13 @@ label[class^="ep-box-label-under"] {
|
|
590 |
background: transparent;
|
591 |
}
|
592 |
|
593 |
-
input[class="ep-box-input"], textarea[class="ep-box-input"], select[class="ep-box-input"], div[class="ep-box-input"] {
|
594 |
border-radius: 4px;
|
595 |
background-color: white;
|
596 |
border: 1px solid #B1B1B1;
|
597 |
font-size: 14px;
|
598 |
height: 56px;
|
|
|
599 |
}
|
600 |
|
601 |
textarea[id^="powerpress_summary_"] {
|
@@ -658,19 +618,6 @@ input[id^="powerpress_url_"] {
|
|
658 |
border-color: #0c74d5;
|
659 |
}
|
660 |
|
661 |
-
input[class="apple-opt-input"], select[class="apple-opt-input"], textarea[class="apple-opt-input"] {
|
662 |
-
width: 100%;
|
663 |
-
border-radius: 4px;
|
664 |
-
box-sizing: border-box;
|
665 |
-
background-color: white;
|
666 |
-
border: 1px solid #B1B1B1;
|
667 |
-
font-size: 14px;
|
668 |
-
}
|
669 |
-
|
670 |
-
input[class="apple-opt-input"], select[class="apple-opt-input"] {
|
671 |
-
height: 56px;
|
672 |
-
}
|
673 |
-
|
674 |
input[id^="powerpress_itunes_image_"], input[id^="powerpress_image_"] {
|
675 |
width: 90%;
|
676 |
border-radius: 4px;
|
@@ -710,10 +657,6 @@ input[class="ep-box-checkbox"] {
|
|
710 |
justify-content: space-between;
|
711 |
}
|
712 |
|
713 |
-
div[id^="height-"] {
|
714 |
-
height: 70px;
|
715 |
-
}
|
716 |
-
|
717 |
div[id^="apple-feature"] {
|
718 |
margin-top: 1vh;
|
719 |
}
|
@@ -730,7 +673,7 @@ input[id^="powerpress_episode_season"]:disabled {
|
|
730 |
background-color: #f5f5f5;
|
731 |
}
|
732 |
|
733 |
-
div[id^="explicit-container"] {
|
734 |
display:inline-block;
|
735 |
width: 35%;
|
736 |
float: right;
|
@@ -785,7 +728,7 @@ div[id^="media-input"] {
|
|
785 |
.details-auto-detect, .details-specify {
|
786 |
width: 48%
|
787 |
}
|
788 |
-
div[id^="explicit-container"] {
|
789 |
width: 40%;
|
790 |
}
|
791 |
div[id^="feature-container"] {
|
@@ -802,9 +745,9 @@ div[id^="media-input"] {
|
|
802 |
.pp-detail-section {
|
803 |
margin: 2ch 1em 2ch 1em;
|
804 |
}
|
805 |
-
div[id^="explicit-container"] {
|
806 |
width: 98%;
|
807 |
-
margin: 1em 0
|
808 |
float: left;
|
809 |
}
|
810 |
div[id^="apple-title-container"] {
|
@@ -823,15 +766,15 @@ div[id^="media-input"] {
|
|
823 |
#wpbody select {
|
824 |
height: 52px;
|
825 |
}
|
826 |
-
div[id^="type-label
|
827 |
width: 99%;
|
828 |
margin: 1em 0 1em 0;
|
829 |
}
|
830 |
-
div[id^="pos-label
|
831 |
width: 40%;
|
832 |
margin-left: 0;
|
833 |
}
|
834 |
-
div[id^="dur-label
|
835 |
width: 40%;
|
836 |
margin-right: 0;
|
837 |
}
|
@@ -875,7 +818,7 @@ div[id^="media-input"] {
|
|
875 |
div[id^="edit-media-file"], div[id^="pp-change-media-file"], div[id^="select-media-file"], div[id^="pp-category-dropdown"] {
|
876 |
max-width: 90%;
|
877 |
}
|
878 |
-
.explicit-option, .explicit-selected {
|
879 |
font-size: 12px;
|
880 |
}
|
881 |
.artwork-button {
|
@@ -890,7 +833,7 @@ div[id^="media-input"] {
|
|
890 |
div[id^="type-container"] {
|
891 |
width: 100%;
|
892 |
}
|
893 |
-
input[id^="powerpress_duration_"] {
|
894 |
width: 36px;
|
895 |
padding: 6px;
|
896 |
height: 28px;
|
@@ -910,10 +853,10 @@ div[id^="media-input"] {
|
|
910 |
.media-details {
|
911 |
margin-left: 0;
|
912 |
}
|
913 |
-
.explicit-option, .explicit-selected {
|
914 |
width: 31%;
|
915 |
}
|
916 |
-
div[id^="pos-label
|
917 |
width: 100%;
|
918 |
margin: 1em 0 1em 0;
|
919 |
}
|
@@ -923,7 +866,7 @@ div[id^="media-input"] {
|
|
923 |
a[id^="show-details-link"], a[id^="hide-details-link"] {
|
924 |
font-size: 12px;
|
925 |
}
|
926 |
-
input[id^="powerpress_duration_"]
|
927 |
width: 28px;
|
928 |
padding: 2px;
|
929 |
}
|
@@ -947,7 +890,7 @@ div[id^="media-input"] {
|
|
947 |
.classic-editor .details-auto-detect, .classic-editor .details-specify {
|
948 |
width: 48%
|
949 |
}
|
950 |
-
.classic-editor div[id^="explicit-container"] {
|
951 |
width: 40%;
|
952 |
}
|
953 |
.classic-editor div[id^="feature-container"] {
|
@@ -956,7 +899,7 @@ div[id^="media-input"] {
|
|
956 |
}
|
957 |
|
958 |
@media (max-width: 1350px) {
|
959 |
-
.classic-editor div[id^="explicit-container-"] {
|
960 |
width: 98%;
|
961 |
margin-top: 10px;
|
962 |
}
|
@@ -978,7 +921,7 @@ div[id^="media-input"] {
|
|
978 |
.classic-editor .pp-detail-section {
|
979 |
margin: 2ch 1em 2ch 1em;
|
980 |
}
|
981 |
-
.classic-editor div[id^="explicit-container"] {
|
982 |
width: 98%;
|
983 |
margin: 1em 0 0 0;
|
984 |
float: left;
|
@@ -999,15 +942,15 @@ div[id^="media-input"] {
|
|
999 |
.classic-editor #wpbody select {
|
1000 |
height: 52px;
|
1001 |
}
|
1002 |
-
.classic-editor div[id^="type-label
|
1003 |
width: 99%;
|
1004 |
margin: 1em 0 1em 0;
|
1005 |
}
|
1006 |
-
.classic-editor div[id^="pos-label
|
1007 |
width: 40%;
|
1008 |
margin-left: 0;
|
1009 |
}
|
1010 |
-
.classic-editor div[id^="dur-label
|
1011 |
width: 40%;
|
1012 |
margin-right: 0;
|
1013 |
}
|
@@ -1051,7 +994,7 @@ div[id^="media-input"] {
|
|
1051 |
.classic-editor div[id^="edit-media-file"], .classic-editor div[id^="pp-change-media-file"], .classic-editor div[id^="select-media-file"], .classic-editor div[id^="pp-category-dropdown"] {
|
1052 |
max-width: 90%;
|
1053 |
}
|
1054 |
-
.classic-editor .explicit-option, .classic-editor .explicit-selected {
|
1055 |
font-size: 12px;
|
1056 |
}
|
1057 |
.classic-editor .artwork-button {
|
@@ -1066,7 +1009,7 @@ div[id^="media-input"] {
|
|
1066 |
.classic-editor div[id^="type-container"] {
|
1067 |
width: 100%;
|
1068 |
}
|
1069 |
-
.classic-editor input[id^="powerpress_duration_"]
|
1070 |
width: 36px;
|
1071 |
padding: 6px;
|
1072 |
height: 28px;
|
107 |
border: 1px solid #EAEDF3;
|
108 |
border-radius: 4px;
|
109 |
}
|
110 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
.pp-metamark-delete a {
|
112 |
margin: 4px 0pt 0pt -2px;
|
113 |
cursor: pointer;
|
119 |
left: -14px;
|
120 |
}
|
121 |
|
122 |
+
div[id^="pp-hide-metamark"] {
|
123 |
+
padding: 2em 2em 0 2em;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
}
|
125 |
|
126 |
+
.pp-metamark-preview-pos-, .pp-metamark-delete {
|
|
|
|
|
|
|
|
|
127 |
display: inline-block;
|
|
|
|
|
|
|
|
|
128 |
margin: 1em;
|
129 |
}
|
130 |
|
131 |
+
.pp-metamark-edit, .pp-metamark-preview-type- {
|
132 |
margin: 1em 0;
|
133 |
+
display: inline-block;
|
134 |
}
|
135 |
|
136 |
.metamark-top-section {
|
140 |
width: 100%;
|
141 |
}
|
142 |
|
143 |
+
div[class^="metamark-preview-"] {
|
144 |
+
font-weight: bold;
|
145 |
+
}
|
146 |
+
|
147 |
.pp-metamark-edit, .pp-metamark-delete {
|
148 |
float: right;
|
149 |
}
|
150 |
|
151 |
+
select[id^="pp-metamark-type-"] {
|
152 |
+
width: 100%;
|
153 |
+
height: 52px;
|
154 |
+
vertical-align: top;
|
155 |
}
|
156 |
|
157 |
+
input[id^="pp-metamark-pos-"], input[id^="pp-metamark-dur-"], input[id^="pp-metamark-link-"] {
|
158 |
+
width: 100%;
|
159 |
+
height: 58px;
|
160 |
+
vertical-align: top;
|
161 |
}
|
162 |
|
163 |
+
textarea[id^="pp-metamark-val-"][class="pp-ep-box-input"] {
|
164 |
+
height: 72px;
|
165 |
+
width: 100%;
|
166 |
+
margin: auto;
|
167 |
+
vertical-align: top;
|
168 |
+
resize: none;
|
169 |
}
|
170 |
|
171 |
+
div[id^="pp-dur-label"] {
|
172 |
+
float: right;
|
173 |
+
width: 30%;
|
174 |
}
|
175 |
|
176 |
+
div[id^="pp-pos-label"], div[id^="pp-type-label"] {
|
177 |
+
margin-right: 4%;
|
178 |
+
width: 30%;
|
179 |
}
|
180 |
|
181 |
+
.powerpress-label-container {
|
|
|
|
|
182 |
display: inline-block;
|
183 |
+
margin-top: 2ch;
|
184 |
+
height: 70px;
|
185 |
}
|
186 |
|
187 |
+
div[id^="select-media-file"] {
|
188 |
+
vertical-align: top;
|
189 |
+
padding-top: 2vh;
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
}
|
191 |
|
192 |
+
a[id^="pp-change-media-link"], div[id^="save-media"] {
|
193 |
+
cursor: pointer;
|
|
|
|
|
|
|
194 |
}
|
195 |
|
196 |
+
select[id^="powerpress_category_"] {
|
197 |
+
max-width: 51.6%;
|
198 |
+
width: 100%;
|
199 |
+
height: 56px;
|
200 |
}
|
201 |
|
202 |
+
div[id^="pp-category-dropdown-"] {
|
203 |
+
margin: 1em 1em 0 3em;
|
204 |
}
|
205 |
|
206 |
+
.pp-ep-box-input.pp-width {
|
|
|
207 |
width: 100%;
|
|
|
208 |
}
|
209 |
|
210 |
#powerpress-podcast .inside {
|
270 |
width: 100%;
|
271 |
}
|
272 |
|
273 |
+
.pp-ep-box-text {
|
274 |
font-size: 14px;
|
275 |
margin-top: 2ch;
|
276 |
margin-bottom: 0;
|
324 |
font-weight: bold;
|
325 |
}
|
326 |
|
|
|
327 |
div[id^="explicit-switch-base"] {
|
328 |
display: inline-block;
|
329 |
padding: 5px;
|
332 |
border-radius: 4px;
|
333 |
}
|
334 |
|
335 |
+
.pp-explicit-option {
|
336 |
background-color: #e6e6e6;
|
337 |
}
|
338 |
|
342 |
border-radius: 4px;
|
343 |
}
|
344 |
|
345 |
+
.pp-explicit-option, .explicit-selected {
|
346 |
border-collapse: collapse;
|
347 |
font-weight: bold;
|
348 |
display: inline-block;
|
399 |
padding-right: 2em;
|
400 |
}
|
401 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
402 |
.pp-hidden-settings {
|
403 |
display: none;
|
404 |
}
|
463 |
height: 28px;
|
464 |
}
|
465 |
|
466 |
+
input[id^="powerpress_duration_"][class="pp-ep-box-input"] {
|
467 |
width: 48px;
|
468 |
text-align: center;
|
469 |
height: 34px;
|
532 |
margin-left: 2em;
|
533 |
}
|
534 |
|
535 |
+
label[class^="pp-ep-box-label"] {
|
536 |
position: relative;
|
537 |
top: 2px;
|
538 |
padding: 0 2px 0 2px;
|
540 |
background: transparent;
|
541 |
}
|
542 |
|
543 |
+
label[class^="pp-ep-box-label-under"] {
|
544 |
position: relative;
|
545 |
padding: 0 2px 0 2px;
|
546 |
bottom: 10px;
|
549 |
background: transparent;
|
550 |
}
|
551 |
|
552 |
+
input[class="pp-ep-box-input"], textarea[class="pp-ep-box-input"], select[class="pp-ep-box-input"], div[class="pp-ep-box-input"] {
|
553 |
border-radius: 4px;
|
554 |
background-color: white;
|
555 |
border: 1px solid #B1B1B1;
|
556 |
font-size: 14px;
|
557 |
height: 56px;
|
558 |
+
width: 100%;
|
559 |
}
|
560 |
|
561 |
textarea[id^="powerpress_summary_"] {
|
618 |
border-color: #0c74d5;
|
619 |
}
|
620 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
621 |
input[id^="powerpress_itunes_image_"], input[id^="powerpress_image_"] {
|
622 |
width: 90%;
|
623 |
border-radius: 4px;
|
657 |
justify-content: space-between;
|
658 |
}
|
659 |
|
|
|
|
|
|
|
|
|
660 |
div[id^="apple-feature"] {
|
661 |
margin-top: 1vh;
|
662 |
}
|
673 |
background-color: #f5f5f5;
|
674 |
}
|
675 |
|
676 |
+
div[id^="pp-explicit-container"] {
|
677 |
display:inline-block;
|
678 |
width: 35%;
|
679 |
float: right;
|
728 |
.details-auto-detect, .details-specify {
|
729 |
width: 48%
|
730 |
}
|
731 |
+
div[id^="pp-explicit-container"] {
|
732 |
width: 40%;
|
733 |
}
|
734 |
div[id^="feature-container"] {
|
745 |
.pp-detail-section {
|
746 |
margin: 2ch 1em 2ch 1em;
|
747 |
}
|
748 |
+
div[id^="pp-explicit-container"] {
|
749 |
width: 98%;
|
750 |
+
margin: 1em 0 3em 0;
|
751 |
float: left;
|
752 |
}
|
753 |
div[id^="apple-title-container"] {
|
766 |
#wpbody select {
|
767 |
height: 52px;
|
768 |
}
|
769 |
+
div[id^="pp-type-label"] {
|
770 |
width: 99%;
|
771 |
margin: 1em 0 1em 0;
|
772 |
}
|
773 |
+
div[id^="pp-pos-label"] {
|
774 |
width: 40%;
|
775 |
margin-left: 0;
|
776 |
}
|
777 |
+
div[id^="pp-dur-label"] {
|
778 |
width: 40%;
|
779 |
margin-right: 0;
|
780 |
}
|
818 |
div[id^="edit-media-file"], div[id^="pp-change-media-file"], div[id^="select-media-file"], div[id^="pp-category-dropdown"] {
|
819 |
max-width: 90%;
|
820 |
}
|
821 |
+
.pp-explicit-option, .explicit-selected {
|
822 |
font-size: 12px;
|
823 |
}
|
824 |
.artwork-button {
|
833 |
div[id^="type-container"] {
|
834 |
width: 100%;
|
835 |
}
|
836 |
+
input[id^="powerpress_duration_"][class="pp-ep-box-input"] {
|
837 |
width: 36px;
|
838 |
padding: 6px;
|
839 |
height: 28px;
|
853 |
.media-details {
|
854 |
margin-left: 0;
|
855 |
}
|
856 |
+
.pp-explicit-option, .explicit-selected {
|
857 |
width: 31%;
|
858 |
}
|
859 |
+
div[id^="pp-pos-label"], div[id^="pp-dur-label"] {
|
860 |
width: 100%;
|
861 |
margin: 1em 0 1em 0;
|
862 |
}
|
866 |
a[id^="show-details-link"], a[id^="hide-details-link"] {
|
867 |
font-size: 12px;
|
868 |
}
|
869 |
+
input[id^="powerpress_duration_"][class="pp-ep-box-input"] {
|
870 |
width: 28px;
|
871 |
padding: 2px;
|
872 |
}
|
890 |
.classic-editor .details-auto-detect, .classic-editor .details-specify {
|
891 |
width: 48%
|
892 |
}
|
893 |
+
.classic-editor div[id^="pp-explicit-container"] {
|
894 |
width: 40%;
|
895 |
}
|
896 |
.classic-editor div[id^="feature-container"] {
|
899 |
}
|
900 |
|
901 |
@media (max-width: 1350px) {
|
902 |
+
.classic-editor div[id^="pp-explicit-container-"] {
|
903 |
width: 98%;
|
904 |
margin-top: 10px;
|
905 |
}
|
921 |
.classic-editor .pp-detail-section {
|
922 |
margin: 2ch 1em 2ch 1em;
|
923 |
}
|
924 |
+
.classic-editor div[id^="pp-explicit-container"] {
|
925 |
width: 98%;
|
926 |
margin: 1em 0 0 0;
|
927 |
float: left;
|
942 |
.classic-editor #wpbody select {
|
943 |
height: 52px;
|
944 |
}
|
945 |
+
.classic-editor div[id^="pp-type-label"] {
|
946 |
width: 99%;
|
947 |
margin: 1em 0 1em 0;
|
948 |
}
|
949 |
+
.classic-editor div[id^="pp-pos-label"] {
|
950 |
width: 40%;
|
951 |
margin-left: 0;
|
952 |
}
|
953 |
+
.classic-editor div[id^="pp-dur-label"] {
|
954 |
width: 40%;
|
955 |
margin-right: 0;
|
956 |
}
|
994 |
.classic-editor div[id^="edit-media-file"], .classic-editor div[id^="pp-change-media-file"], .classic-editor div[id^="select-media-file"], .classic-editor div[id^="pp-category-dropdown"] {
|
995 |
max-width: 90%;
|
996 |
}
|
997 |
+
.classic-editor .pp-explicit-option, .classic-editor .explicit-selected {
|
998 |
font-size: 12px;
|
999 |
}
|
1000 |
.classic-editor .artwork-button {
|
1009 |
.classic-editor div[id^="type-container"] {
|
1010 |
width: 100%;
|
1011 |
}
|
1012 |
+
.classic-editor input[id^="powerpress_duration_"][class="pp-ep-box-input"] {
|
1013 |
width: 36px;
|
1014 |
padding: 6px;
|
1015 |
height: 28px;
|
css/episode-box.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
div[class^=pp-tooltip]{position:relative;display:inline-block;background-color:#dadada;color:#fff;padding:1px 6px 1px 6px;border-radius:9px;width:6px;height:16px;text-align:center;font-family:Roboto,serif}div[class^=pp-tooltip] .text-pp-tooltip{position:absolute;visibility:hidden;min-width:300px;background-color:#3e3f42;color:#fff;text-align:center;padding:5px;border-radius:6px;z-index:1;font-family:Roboto,sans-serif;top:-100%}.pp-tooltip-left .text-pp-tooltip{right:1%;margin-right:120%}.pp-tooltip-right .text-pp-tooltip{margin-left:-5px;border-width:5px;left:150%}div[class^=pp-tooltip]:hover .text-pp-tooltip{visibility:visible}div[class^=pp-tooltip] .text-pp-tooltip::after{content:" ";position:absolute;border-width:5px;border-style:solid;top:50%}.pp-tooltip-left .text-pp-tooltip::after{border-color:transparent transparent transparent #3e3f42;right:-3%}.pp-tooltip-right .text-pp-tooltip::after{border-color:transparent #3e3f42 transparent transparent;left:-3%}.pp-tab{font-size:16px;overflow:hidden;border-bottom:1px solid #efefef;width:100%}.pp-tab button{background-color:inherit;float:left;border:none;outline:0;cursor:pointer;padding:3vh 0;margin:0 3%;transition:.3s;width:19%}.pp-tab button:hover{background-color:#ddd}.pp-tab button.active{border-bottom:3px solid #1a6deb;font-weight:700}.pp-tabcontent{margin:0 14px 14px 14px}.pp-metamarks-row{margin-top:3em;margin-left:1em;position:relative;width:90%;box-shadow:inset 0 0 0 1px #eaedf3;border:1px solid #eaedf3;border-radius:4px}.pp-metamark-delete a{margin:4px 0 0 -2px;cursor:pointer;width:10px;height:10px;text-indent:-9999px;overflow:hidden;top:4px;left:-14px}div[id^=pp-hide-metamark]{padding:2em 2em 0 2em}.pp-metamark-delete,.pp-metamark-preview-pos-{display:inline-block;margin:1em}.pp-metamark-edit,.pp-metamark-preview-type-{margin:1em 0;display:inline-block}.metamark-top-section{border-bottom:1px solid #eaedf3;border-radius:4px 4px 0 0;box-shadow:inset 0 0 0 1px #eaedf3;width:100%}div[class^=metamark-preview-]{font-weight:700}.pp-metamark-delete,.pp-metamark-edit{float:right}select[id^=pp-metamark-type-]{width:100%;height:52px;vertical-align:top}input[id^=pp-metamark-dur-],input[id^=pp-metamark-link-],input[id^=pp-metamark-pos-]{width:100%;height:58px;vertical-align:top}textarea[id^=pp-metamark-val-][class=pp-ep-box-input]{height:72px;width:100%;margin:auto;vertical-align:top;resize:none}div[id^=pp-dur-label]{float:right;width:30%}div[id^=pp-pos-label],div[id^=pp-type-label]{margin-right:4%;width:30%}.powerpress-label-container{display:inline-block;margin-top:2ch;height:70px}div[id^=select-media-file]{vertical-align:top;padding-top:2vh}a[id^=pp-change-media-link],div[id^=save-media]{cursor:pointer}select[id^=powerpress_category_]{max-width:51.6%;width:100%;height:56px}div[id^=pp-category-dropdown-]{margin:1em 1em 0 3em}.pp-ep-box-input.pp-width{width:100%}#powerpress-podcast .inside{margin:0;padding:0}div[id^=apple-podcast-opt]{border-radius:4px;background-color:#f5f5f5;padding:3%;width:90%;margin-bottom:5vh}div[id^=ep-info-not-apple]{margin-bottom:20px}.pp-blue-button{display:inline-block;border-radius:4px;background-color:#0c74d5;color:#fff;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center}.pp-gray-button{background-color:#f5f5f5;box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2);color:#000;display:inline-block;border-radius:4px;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;padding:1ch 2em 1ch 2em;margin-right:1em;cursor:pointer;text-align:center;border:0}h4[class^=pp-section-title]{color:#3e3f42;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:38px;margin-bottom:0;margin-top:0;float:left;display:inline-block}.pp-section-title-block{width:100%}.pp-ep-box-text{font-size:14px;margin-top:2ch;margin-bottom:0}.pp-section-subtitle{color:#5a5c60;font-family:Roboto,sans-serif;font-size:14px;font-weight:500;line-height:16px}.pp-tabcontent{display:none;border-top:none;padding:40px}.pp-tabcontent.active{display:block}h3[id^=pp-pp-selected-media-head]{color:#263238;font-family:Roboto,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.06px;line-height:24px;margin-left:2em;margin-bottom:1ch}div[id^=pp-edit-media-button]{text-align:center;padding:1ch 2em 1ch 2em}.powerpress_remove_container,div[id^=a-pp-selected-media]{padding:0 2em 2em 2em;background-color:#f5f5f5}div[class=powerpress_remove_container]{padding:0 4em}div[class^=metamark-preview-]{font-weight:700}div[id^=explicit-switch-base]{display:inline-block;padding:5px;background-color:#e6e6e6;width:100%;border-radius:4px}.pp-explicit-option{background-color:#e6e6e6}.explicit-selected{background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.16);border-radius:4px}.explicit-selected,.pp-explicit-option{border-collapse:collapse;font-weight:700;display:inline-block;width:32%;padding-top:1ch;padding-bottom:1ch;text-align:center;font-size:14px;font-family:Roboto,sans-serif;cursor:pointer}div[id^=pp-selected-media-text]{max-width:50%;width:100%;display:inline-block;margin:0 1em 0 3em}#episode-box-container,.powerpress_podcast_box{padding:10px}div[id^=pp-change-media-file]{vertical-align:top;margin-top:3em}div[class^=ep-box-line]{box-sizing:border-box;display:inline-block;height:1px;width:100%;border-top:1px solid #efefef}div[class=ep-box-line-bold]{border-top:2px solid #efefef;width:92%;margin-left:4%;margin-right:4%}.ep-box-line-margin{margin:17px 0 17px 0}.pp-shortcode-example{box-sizing:border-box;border:1px solid #e8e8e8;background-color:#f0f0f0;line-height:36px;padding-left:2em;padding-right:2em}.pp-hidden-settings{display:none}img[id^=pp-image-preview]{width:16vh;height:16vh;border:3px solid #717171}img[id^=poster-pp-image-preview]{width:32ch;height:18ch;border:3px solid #717171}.powerpress-art-text{width:70%;display:inline-block;vertical-align:top}.powerpress-art-preview{width:28%;display:inline-block}p[id^=ep-box-filename]{color:#6b6c6f;font-family:Roboto,sans-serif;font-size:14px;letter-spacing:.15px;line-height:56px;margin:0 5px 0 5px;display:inline}div[id^=pp-warning-messages]{margin-left:3em}div[id^=media-details-container]{margin-top:2ch;margin-bottom:2ch}button.apple-advanced,button.media-details{color:#0c74d5;font-family:Roboto,sans-serif;font-size:14px;font-weight:700;line-height:22px;cursor:pointer;border:none;box-shadow:none;background-color:#f5f5f5}input[id^=powerpress_size]{width:50%;text-align:center;height:28px}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:48px;text-align:center;height:34px}div[id^=media-file-details]{width:100%}.media-details{margin:0 3em 0 3em;font-weight:500}.pp-detail-section{margin:2ch 6em 2ch 6em}.details-auto-detect{font-family:Roboto,sans-serif;display:inline-block;width:30%}.details-specify{font-family:Roboto,sans-serif;display:inline-block;width:43%}.details-not-specified{font-family:Roboto,sans-serif;display:inline-block;width:25%}a[id^=pp-change-media-link],a[id^=select-media-link]{text-decoration:none;display:inline-block;width:27ch}input[class=media-details-radio]{width:22px;height:22px;border:2px solid #b1b1b1}input[class=media-details-radio]:checked{border:2px solid #0c74d5}input[class=media-details-radio]:checked:before{width:12px;height:12px;margin:3px;background-color:#0c74d5}label[class=ep-box-caption]{color:rgba(0,0,0,.6);font-family:Roboto,sans-serif;font-size:12px;letter-spacing:.4px;font-weight:300;margin-left:2em}label[class^=pp-ep-box-label]{position:relative;top:2px;padding:0 2px 0 2px;bottom:10px;background:0 0}label[class^=pp-ep-box-label-under]{position:relative;padding:0 2px 0 2px;bottom:10px;left:10px;top:0;background:0 0}div[class=pp-ep-box-input],input[class=pp-ep-box-input],select[class=pp-ep-box-input],textarea[class=pp-ep-box-input]{border-radius:4px;background-color:#fff;border:1px solid #b1b1b1;font-size:14px;height:56px;width:100%}textarea[id^=powerpress_summary_]{height:130px;resize:none;padding:10px;font-family:Roboto,sans-serif;font-size:14px;line-height:22px;width:100%}textarea[id^=powerpress_embed_]{resize:none}textarea[id^=powerpress_summary_]::-webkit-scrollbar{height:85%}textarea[id^=powerpress_summary_]::-webkit-scrollbar-track{box-shadow:inset 0 0 5px grey;border-radius:4px}textarea[id^=powerpress_summary_]::-webkit-scrollbar-thumb{background:#fff;border-radius:4px;border:grey 1px solid}div[id^=pp-url-input-container-]{width:100%}label[id^=pp-url-input-above]{position:relative;top:8px;background-color:#f5f5f5;padding:0 3px 0 3px}.pp-url-input-label{color:#0c74d5;margin-left:10px}div[id^=powerpress_url_],input[id^=powerpress_url_]{width:100%;border-radius:4px;box-sizing:border-box;height:56px}input[id^=powerpress_url_]{box-shadow:inset 0 0 0 1px #0c74d5;background:0 0;border-color:#0c74d5}input[id^=powerpress_image_],input[id^=powerpress_itunes_image_]{width:90%;border-radius:4px;box-sizing:border-box;height:56px}input[id^=powerpress_feature_]{border-radius:2px;border:2px solid #66788a;height:18px;width:18px}input[class=ep-box-checkbox]{box-sizing:border-box;height:16px;width:16px;border:1px solid #d8dce6;border-radius:3px;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 1ch 1em 1ch}.pp-section-container{display:block;margin-bottom:4ch;width:100%;justify-content:space-between}.apple-opt-section-container{display:block;margin-bottom:2ch;width:100%;justify-content:space-between}div[id^=apple-feature]{margin-top:1vh}div[id^=title-container]{width:50%}div[id^=season-container]{width:30%}input[id^=powerpress_episode_season]:disabled{background-color:#f5f5f5}div[id^=pp-explicit-container]{display:inline-block;width:35%;float:right;max-height:30px;margin-right:1em}div[id^=apple-title-container]{width:55%;margin-right:3ch}div[id^=episode-no-container],div[id^=season-container]{display:inline-block;width:18%;margin-top:3vh}div[id^=season-container]{float:right}div[id^=feature-container]{margin-top:3vh;width:70%}div[id^=type-container]{width:29.5%;vertical-align:top;margin:2ch 0 0 0}div[id^=media-input]{width:100%}@media (max-width:1152px){div[id^=pp-selected-media-text]{max-width:80%;margin-right:3em}div[id^=edit-media-file],div[id^=pp-category-dropdown],div[id^=pp-change-media-file],div[id^=select-media-file]{width:80%;margin:1em 3em 0 3em}.details-not-specified{margin-top:1em;width:100%}.details-auto-detect,.details-specify{width:48%}div[id^=pp-explicit-container]{width:40%}div[id^=feature-container]{width:100%}}@media (max-width:832px){div[class^=details-]{width:100%;margin-top:1em}.pp-detail-section{margin:2ch 1em 2ch 1em}div[id^=pp-explicit-container]{width:98%;margin:1em 0 3em 0;float:left}div[id^=apple-title-container]{width:100%;margin-top:1em}div[id^=episode-no-container]{width:45%}div[id^=season-container]{width:45%}.pp-tabcontent{padding:15px}#wpbody select{height:52px}div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}div[id^=pp-pos-label]{width:40%;margin-left:0}div[id^=pp-dur-label]{width:40%;margin-right:0}.media-details{margin-left:1em}div[id^=edit-media-file],div[id^=pp-category-dropdown],div[id^=pp-change-media-file],div[id^=select-media-file]{margin:1em 1em 0 1em;width:90%}div[id^=pp-selected-media-text]{margin:1em 1em 0 1em;max-width:90%}.powerpress-art-preview,.powerpress-art-text{width:100%}div[id^=type-container]{width:50%}input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}h3[id^=pp-pp-selected-media-head]{margin-left:1em}.powerpress-art-preview{text-align:center}input[id^=powerpress_image_],input[id^=powerpress_itunes_image_]{width:100%}}@media (max-width:592px){.pp-blue-button,.pp-gray-button{display:block;margin:1ch 0 0 0}div[id^=edit-media-file],div[id^=pp-category-dropdown],div[id^=pp-change-media-file],div[id^=select-media-file]{max-width:90%}.explicit-selected,.pp-explicit-option{font-size:12px}.artwork-button{padding:1em 2ch}div[id^=apple-podcast-opt]{padding:6%}div[id^=pp-display-player],div[id^=pp-player-size]{width:100%}div[id^=type-container]{width:100%}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:36px;padding:6px;height:28px}a[id^=select-media-link]{width:100%}select[id^=powerpress_category] option{width:100%}}@media (max-width:375px){.pp-detail-section{margin:2ch 1em 2ch 0}.media-details{margin-left:0}.explicit-selected,.pp-explicit-option{width:31%}div[id^=pp-dur-label],div[id^=pp-pos-label]{width:100%;margin:1em 0 1em 0}.tab{font-size:12px}a[id^=hide-details-link],a[id^=show-details-link]{font-size:12px}input[id^=powerpress_duration_][class=pp-ep-box-input]{width:28px;padding:2px}}@media (max-width:1456px){.classic-editor div[id^=pp-selected-media-text]{max-width:80%;margin-right:3em}.classic-editor div[id^=edit-media-file],.classic-editor div[id^=pp-category-dropdown],.classic-editor div[id^=pp-change-media-file],.classic-editor div[id^=select-media-file]{width:80%;margin:1em 3em 0 5em}.classic-editor .details-not-specified{margin-top:1em;width:100%}.classic-editor .details-auto-detect,.classic-editor .details-specify{width:48%}.classic-editor div[id^=pp-explicit-container]{width:40%}.classic-editor div[id^=feature-container]{width:100%}}@media (max-width:1350px){.classic-editor div[id^=pp-explicit-container-]{width:98%;margin-top:10px}}@media (max-width:1256px){.classic-editor div[class^=details-]{width:100%;margin-top:1em}}@media (max-width:1132px){.classic-editor div[class^=details-]{width:100%;margin-top:1em}.classic-editor .pp-detail-section{margin:2ch 1em 2ch 1em}.classic-editor div[id^=pp-explicit-container]{width:98%;margin:1em 0 0 0;float:left}.classic-editor div[id^=apple-title-container]{width:100%;margin-top:1em}.classic-editor div[id^=episode-no-container]{width:45%}.classic-editor div[id^=season-container]{width:45%}.classic-editor .pp-tabcontent{padding:15px}.classic-editor #wpbody select{height:52px}.classic-editor div[id^=pp-type-label]{width:99%;margin:1em 0 1em 0}.classic-editor div[id^=pp-pos-label]{width:40%;margin-left:0}.classic-editor div[id^=pp-dur-label]{width:40%;margin-right:0}.classic-editor .media-details{margin-left:1em}.classic-editor div[id^=edit-media-file],.classic-editor div[id^=pp-category-dropdown],.classic-editor div[id^=pp-change-media-file] .classic-editor div[id^=select-media-file]{margin:1em 1em 0 1em;width:90%}.classic-editor div[id^=pp-selected-media-text]{margin:1em 1em 0 1em;max-width:90%}.classic-editor .powerpress-art-preview,.classic-editor .powerpress-art-text{width:100%}.classic-editor div[id^=type-container]{width:50%}.classic-editor input[type=checkbox]:checked:before{font:normal 21px/1 dashicons}.classic-editor h3[id^=pp-pp-selected-media-head]{margin-left:1em}.classic-editor .powerpress-art-preview{text-align:center}.classic-editor input[id^=powerpress_image_],.classic-editor input[id^=powerpress_itunes_image_]{width:100%}}@media (max-width:892px){.classic-editor .pp-blue-button,.classic-editor .pp-gray-button{display:block;margin:1ch 0 0 0}.classic-editor div[id^=edit-media-file],.classic-editor div[id^=pp-category-dropdown],.classic-editor div[id^=pp-change-media-file],.classic-editor div[id^=select-media-file]{max-width:90%}.classic-editor .explicit-selected,.classic-editor .pp-explicit-option{font-size:12px}.classic-editor .artwork-button{padding:1em 2ch}.classic-editor div[id^=apple-podcast-opt]{padding:6%}.classic-editor div[id^=pp-display-player],.classic-editor div[id^=pp-player-size]{width:100%}.classic-editor div[id^=type-container]{width:100%}.classic-editor input[id^=powerpress_duration_][class=pp-ep-box-input]{width:36px;padding:6px;height:28px}.classic-editor select[id^=powerpress_category] option{width:100%}}
|
css/jquery.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
img{border:0}#accountinfo label,a,h1,h2,h3,h4,h5{color:#3d517e}input[type=button],input[type=submit]{font-family:Geneva,Arial,Helvetica,sans-serif;text-decoration:none;font-size:14px!important;line-height:16px;cursor:pointer;border-width:1px;border-style:solid;border-color:#99adc2;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-khtml-box-sizing:content-box;box-sizing:content-box;background-color:#e8f4ff;color:#036;font-weight:700;padding-top:2px;padding-right:8px;padding-bottom:2px;padding-left:8px}body,html{height:auto}ul.media li{list-style-type:none}ul.media li a{font-weight:700}#container{margin:0 15px}#accountinfo p{font-size:90%}#accountinfo label{float:left;width:240px;margin-right:10px;display:block;font-weight:700}#accountinfo input[type=password],#accountinfo input[type=text]{width:220px;border-color:#aaa}#accountinfo select{width:222px;border-color:#aaa}.powerpress-notice{border:1px solid #fc0;font-size:12px;color:#000;background-color:#ffc;font-weight:700;padding:5px;margin:20px}#media-items-container{margin:0}#media-items{border-bottom-color:#dfdfdf;border-bottom-width:1px;border-bottom-style:solid;min-height:26px;width:100%;padding-top:0;margin-top:0}#media-published-title{border-top-color:#dfdfdf;border-top-width:1px;border-top-style:solid;padding-top:20px;padding-bottom:2px}.media-item{border-top-color:#dfdfdf;border-top-width:1px;border-top-style:solid;min-height:26px;width:100%;border-left-color:#dfdfdf;border-left-width:1px;border-left-style:solid;border-right-color:#dfdfdf;border-right-width:1px;border-right-style:solid;position:relative;padding-top:5px}.media-item:hover{background-color:#ffc}.media-item .media-name{margin-left:10px}.media-item-links{position:absolute;top:5px;right:10px;text-align:right}.media-published-date{margin-left:20px;font-size:80%}#media-header{position:relative;margin:0 0 5px 0}#media-footer{position:relative;margin:5px 0 0 0;height:12px}#media-footer p,#media-header p{margin:8px 0}.media-upload-link{position:absolute;bottom:0;right:0;margin:0}
|
css/onboarding.css
CHANGED
@@ -81,11 +81,11 @@ body {
|
|
81 |
.pp_.flex-grid,
|
82 |
.pp_.flex-grid-thirds {
|
83 |
display: block;
|
|
|
84 |
.pp_col {
|
85 |
width: 100%;
|
86 |
margin: 0 0 10px 0;
|
87 |
}
|
88 |
-
}
|
89 |
}
|
90 |
|
91 |
|
81 |
.pp_.flex-grid,
|
82 |
.pp_.flex-grid-thirds {
|
83 |
display: block;
|
84 |
+
}
|
85 |
.pp_col {
|
86 |
width: 100%;
|
87 |
margin: 0 0 10px 0;
|
88 |
}
|
|
|
89 |
}
|
90 |
|
91 |
|
css/onboarding.min.css
ADDED
@@ -0,0 +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%}}
|
css/steps.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
#powerpress-steps{margin:20px 0 30px 0;overflow:hidden;counter-reset:step;text-align:center}#powerpress-steps li{list-style-type:none;color:#fff;color:#999;text-transform:uppercase;font-size:18px;width:33.33%;float:left;position:relative}#powerpress-steps li.pp-step-1:before{content:'1'}#powerpress-steps li.pp-step-2:before{content:'2'}#powerpress-steps li.pp-step-3:before{content:'3'}#powerpress-steps li:before{width:30px;line-height:30px;display:block;font-size:18px;color:#333;background:#fff;background:#999;color:#fff;border-radius:3px;margin:0 auto 5px auto;font-family:arial,verdana}#powerpress-steps li:after{content:'';width:100%;height:2px;background:#999;position:absolute;left:-50%;top:14px;z-index:-1}#powerpress-steps li:first-child:after{content:none}#powerpress-steps li.pp-step-active:after,#powerpress-steps li.pp-step-active:before{background:#0d87e9;color:#fff}#powerpress-steps li.pp-step-active{color:#0d87e9}#powerpress-steps li.pp-step-active h3,#powerpress-steps li.pp-step-active p{color:#0d87e9}#powerpress-steps p{text-transform:none;margin:10px 40px;line-height:1.3em}#powerpress-steps h3{text-transform:none;margin:10px 40px;font-size:100%;line-height:1.3em;position:relative;display:inline-block}#powerpress-steps a{color:#999}#powerpress-steps li.pp-step-active a{color:#036;color:#0d87e9}#powerpress-steps li.pp-step-active a:hover{color:#036}#powerpress-steps h3.pp-step-h-completed:before{content:url(../images/check.svg);color:#54a954;width:24px;height:24px;padding-right:5px;font-weight:400;font-size:32px;position:absolute;left:-30px}@media screen and (max-width:400px){#powerpress-steps h3,#powerpress-steps p{margin:10px 10px}#powerpress-steps h3.pp-step-h-completed:before{left:-15px}}
|
js/admin.js
CHANGED
@@ -39,47 +39,40 @@ function powerpress_openTab(evt, cityName) {
|
|
39 |
}
|
40 |
}
|
41 |
|
42 |
-
//Sets the hidden current_season input to equal the season input
|
43 |
-
function powerpress_setCurrentSeason(el) {
|
44 |
-
let feed_slug = el.id.replace("powerpress_episode_season_", "");
|
45 |
-
let season = jQuery("#powerpress_episode_season_" + feed_slug).val();
|
46 |
-
jQuery("#most-recent-season").attr('value', season);
|
47 |
-
}
|
48 |
-
|
49 |
//Controls the three-way explicit setting switch
|
50 |
function powerpress_changeExplicitSwitch(el) {
|
51 |
let id = el.id;
|
52 |
let feed_slug = id.replace("not-set", "");
|
53 |
feed_slug = feed_slug.replace("clean", "");
|
54 |
feed_slug = feed_slug.replace("explicit", "");
|
55 |
-
let not_set = jQuery('#not-set' + feed_slug);
|
56 |
not_set.removeAttr("class");
|
57 |
not_set.removeAttr("style");
|
58 |
-
let clean = jQuery('#clean' + feed_slug);
|
59 |
clean.removeAttr("class");
|
60 |
clean.removeAttr("style");
|
61 |
-
let explicit = jQuery('#explicit' + feed_slug);
|
62 |
explicit.removeAttr("class");
|
63 |
explicit.removeAttr("style");
|
64 |
-
let select = jQuery('#explicit-container' + feed_slug + ' > select');
|
65 |
select.find('option[selected]').removeAttr('selected');
|
66 |
|
67 |
if (id.includes("not-set")) {
|
68 |
not_set.attr("class", "explicit-selected");
|
69 |
-
clean.attr("class", "explicit-option");
|
70 |
clean.attr("style", "border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;");
|
71 |
-
explicit.attr("class", "explicit-option");
|
72 |
select.find('option[value=0]').attr('selected', 'selected');
|
73 |
} else if (id.includes("clean")) {
|
74 |
-
not_set.attr("class", "explicit-option");
|
75 |
not_set.attr("style", "border-right: 1px solid #b3b3b3;");
|
76 |
clean.attr("class", "explicit-selected");
|
77 |
-
explicit.attr("class", "explicit-option");
|
78 |
explicit.attr("style", "border-left: 1px solid #b3b3b3");
|
79 |
select.find('option[value=2]').attr('selected', 'selected');
|
80 |
} else if (id.includes("explicit")) {
|
81 |
-
not_set.attr("class", "explicit-option");
|
82 |
-
clean.attr("class", "explicit-option");
|
83 |
clean.attr("style", "border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;");
|
84 |
explicit.attr("class", "explicit-selected");
|
85 |
select.find('option[value=1]').attr('selected', 'selected');
|
@@ -89,8 +82,8 @@ function powerpress_changeExplicitSwitch(el) {
|
|
89 |
function powerpress_toggleMetamarksSettings(el) {
|
90 |
var feed_slug;
|
91 |
let row_num_array = el.id.split("-");
|
92 |
-
let row_num = row_num_array[
|
93 |
-
let feed_slug_array = row_num_array.splice(
|
94 |
if (feed_slug_array.length > 1) {
|
95 |
feed_slug = feed_slug_array.join("-");
|
96 |
} else {
|
@@ -98,12 +91,13 @@ function powerpress_toggleMetamarksSettings(el) {
|
|
98 |
}
|
99 |
let button_id = "#" + el.id;
|
100 |
let button = jQuery(button_id);
|
101 |
-
let div_id = "#hide-metamark-" + feed_slug + "-" + row_num;
|
102 |
-
let type_select_id = "#metamark-type-" + feed_slug + "-" + row_num;
|
103 |
-
let type_preview_id = "#metamark-preview-type
|
104 |
-
let pos_input_id = "#metamark-pos-" + feed_slug + "-" + row_num;
|
105 |
-
let pos_preview_id = "#metamark-preview-pos-" + feed_slug + "-" + row_num;
|
106 |
jQuery(div_id).toggleClass('pp-hidden-settings');
|
|
|
107 |
if (button.text().includes('Edit')) {
|
108 |
button.html("Save");
|
109 |
} else {
|
39 |
}
|
40 |
}
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
//Controls the three-way explicit setting switch
|
43 |
function powerpress_changeExplicitSwitch(el) {
|
44 |
let id = el.id;
|
45 |
let feed_slug = id.replace("not-set", "");
|
46 |
feed_slug = feed_slug.replace("clean", "");
|
47 |
feed_slug = feed_slug.replace("explicit", "");
|
48 |
+
let not_set = jQuery('#not-set-' + feed_slug);
|
49 |
not_set.removeAttr("class");
|
50 |
not_set.removeAttr("style");
|
51 |
+
let clean = jQuery('#clean-' + feed_slug);
|
52 |
clean.removeAttr("class");
|
53 |
clean.removeAttr("style");
|
54 |
+
let explicit = jQuery('#explicit-' + feed_slug);
|
55 |
explicit.removeAttr("class");
|
56 |
explicit.removeAttr("style");
|
57 |
+
let select = jQuery('#pp-explicit-container-' + feed_slug + ' > select');
|
58 |
select.find('option[selected]').removeAttr('selected');
|
59 |
|
60 |
if (id.includes("not-set")) {
|
61 |
not_set.attr("class", "explicit-selected");
|
62 |
+
clean.attr("class", "pp-explicit-option");
|
63 |
clean.attr("style", "border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;");
|
64 |
+
explicit.attr("class", "pp-explicit-option");
|
65 |
select.find('option[value=0]').attr('selected', 'selected');
|
66 |
} else if (id.includes("clean")) {
|
67 |
+
not_set.attr("class", "pp-explicit-option");
|
68 |
not_set.attr("style", "border-right: 1px solid #b3b3b3;");
|
69 |
clean.attr("class", "explicit-selected");
|
70 |
+
explicit.attr("class", "pp-explicit-option");
|
71 |
explicit.attr("style", "border-left: 1px solid #b3b3b3");
|
72 |
select.find('option[value=2]').attr('selected', 'selected');
|
73 |
} else if (id.includes("explicit")) {
|
74 |
+
not_set.attr("class", "pp-explicit-option");
|
75 |
+
clean.attr("class", "pp-explicit-option");
|
76 |
clean.attr("style", "border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;");
|
77 |
explicit.attr("class", "explicit-selected");
|
78 |
select.find('option[value=1]').attr('selected', 'selected');
|
82 |
function powerpress_toggleMetamarksSettings(el) {
|
83 |
var feed_slug;
|
84 |
let row_num_array = el.id.split("-");
|
85 |
+
let row_num = row_num_array[3];
|
86 |
+
let feed_slug_array = row_num_array.splice(4, 1);
|
87 |
if (feed_slug_array.length > 1) {
|
88 |
feed_slug = feed_slug_array.join("-");
|
89 |
} else {
|
91 |
}
|
92 |
let button_id = "#" + el.id;
|
93 |
let button = jQuery(button_id);
|
94 |
+
let div_id = "#pp-hide-metamark-" + feed_slug + "-" + row_num;
|
95 |
+
let type_select_id = "#pp-metamark-type-" + feed_slug + "-" + row_num;
|
96 |
+
let type_preview_id = "#pp-metamark-preview-type--" + feed_slug + "-" + row_num;
|
97 |
+
let pos_input_id = "#pp-metamark-pos-" + feed_slug + "-" + row_num;
|
98 |
+
let pos_preview_id = "#pp-metamark-preview-pos-" + feed_slug + "-" + row_num;
|
99 |
jQuery(div_id).toggleClass('pp-hidden-settings');
|
100 |
+
console.log("tried to toggle class " + div_id);
|
101 |
if (button.text().includes('Edit')) {
|
102 |
button.html("Save");
|
103 |
} else {
|
powerpress-metamarks.php
CHANGED
@@ -4,11 +4,6 @@ function powerpress_metabox_save($post_ID)
|
|
4 |
{
|
5 |
$MetaMarks = ( !empty($_POST['MetaMarks']) ? $_POST['MetaMarks'] : false);
|
6 |
$Episodes = ( !empty($_POST['Powerpress']) ? $_POST['Powerpress'] : false);
|
7 |
-
$currentSeason = (!empty($_POST['General']['current_season']) ? $_POST['General']['current_season'] : false);
|
8 |
-
if ($currentSeason) {
|
9 |
-
$General = array('current_season' => $currentSeason);
|
10 |
-
powerpress_save_settings($General, 'powerpress_general');
|
11 |
-
}
|
12 |
if( $Episodes )
|
13 |
{
|
14 |
foreach( $Episodes as $feed_slug => $Powerpress )
|
@@ -25,6 +20,11 @@ function powerpress_metabox_save($post_ID)
|
|
25 |
if( $Powerpress['url'] == '' )
|
26 |
continue; // go to the next media file
|
27 |
|
|
|
|
|
|
|
|
|
|
|
28 |
if( !empty($MetaMarks[ $feed_slug ]) )
|
29 |
{
|
30 |
$MetaMarkData = $MetaMarks[ $feed_slug ];
|
@@ -115,19 +115,19 @@ function powerpress_metamarks_editrow_html($feed_slug, $next_row, $data = null,
|
|
115 |
}
|
116 |
$html = '<div class="pp-metamarks-row" id="powerpress_metamarks_row_'. $feed_slug .'_'. $next_row .'">';
|
117 |
$html .= '<div class="metamark-top-section id="metamark-top-section-' . $feed_slug .'-'. $next_row . '">';
|
118 |
-
$html .= '<div id="metamark-preview-pos-' . $feed_slug .'-'. $next_row . '" class="metamark-preview-pos">' . $pos . '</div>';
|
119 |
-
$html .= '<div id="metamark-preview-type
|
120 |
$html .= '<div class="pp-metamark-delete"><a href="#" onclick="return powerpress_metamarks_deleterow(\'powerpress_metamarks_row_'. $feed_slug .'_'. $next_row .'\');" title="'. __('Delete', 'powerpress') .'">';
|
121 |
-
$html .= __('Delete', 'powerpress') . '</a></div><div class="pp-metamark-edit"><a href="#" id="toggle-metamark-'. $next_row . '-' . $feed_slug . '" title="'. __(
|
122 |
-
$html .= '</div><div id="hide-metamark-' . $feed_slug .'-'. $next_row . '"' . $class . '>';
|
123 |
-
$html .= '<div class="
|
124 |
$html .= powerpress_print_options( array(''=>'Select Type')+ $MarkTypes, $data['type'], true);
|
125 |
-
$html .= '</select></div><div class="
|
126 |
-
$html .= '<input id="metamark-pos-'. $feed_slug .'-'. $next_row .'" class="ep-box-input" type="text" title="'. __('Position', 'powerpress') .'" name="MetaMarks['.$feed_slug.']['.$next_row.'][position]" value="' .htmlspecialchars($data['position']) .'" placeholder="'. htmlspecialchars(__('Position', 'powerpress')) .'" /></div>';
|
127 |
-
$html .= '<div class="
|
128 |
-
$html .= '<input id="metamark-dur-'. $feed_slug .'-'. $next_row .'" class="ep-box-input" type="text" title="'. __('Duration', 'powerpress') .'" name="MetaMarks['.$feed_slug.']['.$next_row.'][duration]" value="' .htmlspecialchars($data['duration']) .'" placeholder="'. htmlspecialchars(__('Duration', 'powerpress')) .'" /></div></div>';
|
129 |
-
$html .= '<div class="
|
130 |
-
$html .= '<div class="
|
131 |
|
132 |
|
133 |
$html .= '</div></div>';
|
4 |
{
|
5 |
$MetaMarks = ( !empty($_POST['MetaMarks']) ? $_POST['MetaMarks'] : false);
|
6 |
$Episodes = ( !empty($_POST['Powerpress']) ? $_POST['Powerpress'] : false);
|
|
|
|
|
|
|
|
|
|
|
7 |
if( $Episodes )
|
8 |
{
|
9 |
foreach( $Episodes as $feed_slug => $Powerpress )
|
20 |
if( $Powerpress['url'] == '' )
|
21 |
continue; // go to the next media file
|
22 |
|
23 |
+
if (isset($Powerpress['season'])) {
|
24 |
+
$new = array("current_season" => $Powerpress['season']);
|
25 |
+
powerpress_save_settings($new, 'powerpress_general');
|
26 |
+
}
|
27 |
+
|
28 |
if( !empty($MetaMarks[ $feed_slug ]) )
|
29 |
{
|
30 |
$MetaMarkData = $MetaMarks[ $feed_slug ];
|
115 |
}
|
116 |
$html = '<div class="pp-metamarks-row" id="powerpress_metamarks_row_'. $feed_slug .'_'. $next_row .'">';
|
117 |
$html .= '<div class="metamark-top-section id="metamark-top-section-' . $feed_slug .'-'. $next_row . '">';
|
118 |
+
$html .= '<div id="pp-metamark-preview-pos-' . $feed_slug .'-'. $next_row . '" class="pp-metamark-preview-pos-">' . $pos . '</div>';
|
119 |
+
$html .= '<div id="pp-metamark-preview-type--' . $feed_slug .'-'. $next_row . '" class="pp-metamark-preview-type-">' . $type . '</div>';
|
120 |
$html .= '<div class="pp-metamark-delete"><a href="#" onclick="return powerpress_metamarks_deleterow(\'powerpress_metamarks_row_'. $feed_slug .'_'. $next_row .'\');" title="'. __('Delete', 'powerpress') .'">';
|
121 |
+
$html .= __('Delete', 'powerpress') . '</a></div><div class="pp-metamark-edit"><a href="#" id="pp-toggle-metamark-'. $next_row . '-' . $feed_slug . '" title="'. __($option, 'powerpress') .'" onclick="powerpress_toggleMetamarksSettings(this)">' . __($option, 'powerpress') . '</a></div>';
|
122 |
+
$html .= '</div><div id="pp-hide-metamark-' . $feed_slug .'-'. $next_row . '"' . $class . '>';
|
123 |
+
$html .= '<div class="pp-section-container"><div class="powerpress-label-container" id="pp-type-label' . $feed_slug .'-'. $next_row . '"><label class="pp-ep-box-label" style="width: 100%;" for="pp-metamark-type-'. $feed_slug .'_'. $next_row .'">' . __('Type', 'powerpress') . '</label><select id="pp-metamark-type-'. $feed_slug .'-'. $next_row .'" class="pp-ep-box-input" style="width: 100%;" type="text" title="'. __('Type', 'powerpress') .'" name="MetaMarks['.$feed_slug.']['.$next_row.'][type]">';
|
124 |
$html .= powerpress_print_options( array(''=>'Select Type')+ $MarkTypes, $data['type'], true);
|
125 |
+
$html .= '</select></div><div class="powerpress-label-container" id="pp-pos-label' . $feed_slug .'-'. $next_row . '"><label class="pp-ep-box-label" for="pp-metamark-pos-'. $feed_slug .'-'. $next_row .'">' . __('Position', 'powerpress') . '</label>';
|
126 |
+
$html .= '<input id="pp-metamark-pos-'. $feed_slug .'-'. $next_row .'" class="pp-ep-box-input" style="width: 100%;" type="text" title="'. __('Position', 'powerpress') .'" name="MetaMarks['.$feed_slug.']['.$next_row.'][position]" value="' .htmlspecialchars($data['position']) .'" placeholder="'. htmlspecialchars(__('Position', 'powerpress')) .'" /></div>';
|
127 |
+
$html .= '<div class="powerpress-label-container" id="pp-dur-label' . $feed_slug .'-'. $next_row . '"><label class="pp-ep-box-label" for=\"pp-metamark-dur-'. $feed_slug .'-'. $next_row .'\">' . __('Duration', 'powerpress') . '</label>';
|
128 |
+
$html .= '<input id="pp-metamark-dur-'. $feed_slug .'-'. $next_row .'" class="pp-ep-box-input" style="width: 100%;" type="text" title="'. __('Duration', 'powerpress') .'" name="MetaMarks['.$feed_slug.']['.$next_row.'][duration]" value="' .htmlspecialchars($data['duration']) .'" placeholder="'. htmlspecialchars(__('Duration', 'powerpress')) .'" /></div></div>';
|
129 |
+
$html .= '<div class="pp-section-container"><div class="powerpress-label-container" style="width: 100%;"><label class="pp-ep-box-label" for="pp-metamark-link-' . $feed_slug .'-'. $next_row .'">' . __('Link', 'powerpress') . '</label><input id="pp-metamark-link-'. $feed_slug .'-'. $next_row .'" class="pp-ep-box-input" style="width: 100%;" type="text" title="'. __('Link', 'powerpress') .'" name="MetaMarks['.$feed_slug.']['.$next_row.'][link]" value="' .htmlspecialchars($data['link']) .'" placeholder="'. htmlspecialchars(__('Link', 'powerpress')) .'" /></div></div>';
|
130 |
+
$html .= '<div class="pp-section-container" id="pp-value-container-' . $feed_slug .'-'. $next_row . '"><div class="powerpress-label-container" style="width: 100%;"><label class="pp-ep-box-label" for="pp-metamark-val-' . $next_row .'">' . __('Value', 'powerpress') . '</label><textarea id="pp-metamark-val-'. $feed_slug .'-'. $next_row .'" class="pp-ep-box-input" style="width: 100%;" name="MetaMarks['.$feed_slug.']['.$next_row.'][value]" title="'. __('Value', 'powerpress') .'" placeholder="'. htmlspecialchars(__('Value', 'powerpress')) .'">' .htmlspecialchars($data['value']) .'</textarea></div></div>';
|
131 |
|
132 |
|
133 |
$html .= '</div></div>';
|
powerpress-subscribe.php
CHANGED
@@ -544,7 +544,11 @@ function powerpress_subscribe_shortcode( $attr ) {
|
|
544 |
return '';
|
545 |
$Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
|
546 |
if (defined('WP_DEBUG')) {
|
547 |
-
|
|
|
|
|
|
|
|
|
548 |
} else {
|
549 |
wp_enqueue_style('powerpress-subscribe-style-modern', plugin_dir_url(__FILE__) . 'css/subscribe.min.css');
|
550 |
}
|
544 |
return '';
|
545 |
$Settings['itunes_url'] = powerpresssubscribe_get_itunes_url($Settings);
|
546 |
if (defined('WP_DEBUG')) {
|
547 |
+
if (WP_DEBUG) {
|
548 |
+
wp_enqueue_style('powerpress-subscribe-style-modern', plugin_dir_url(__FILE__) . 'css/subscribe.css');
|
549 |
+
} else {
|
550 |
+
wp_enqueue_style('powerpress-subscribe-style-modern', plugin_dir_url(__FILE__) . 'css/subscribe.min.css');
|
551 |
+
}
|
552 |
} else {
|
553 |
wp_enqueue_style('powerpress-subscribe-style-modern', plugin_dir_url(__FILE__) . 'css/subscribe.min.css');
|
554 |
}
|
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.2.
|
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.2.
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
|
6 |
+
Version: 8.2.4
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
|
39 |
+
define('POWERPRESS_VERSION', '8.2.4' );
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
powerpressadmin-defaults.php
CHANGED
@@ -7,8 +7,16 @@ function powerpressadmin_default_steps($Step = 0, $Heading = true, $ThisPage=tru
|
|
7 |
$Step = $_GET['pp-step'];
|
8 |
?>
|
9 |
<div id="pp-getting-started-box">
|
10 |
-
<?php echo ($Heading?'<h2>'. __('Start your podcast in 3 easy steps...', 'powerpress') .'</h2>':'');
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<ul id="powerpress-steps">
|
13 |
<?php if( $ThisPage ) { ?>
|
14 |
<li class="pp-step-1<?php echo ($Step >= 0? ' pp-step-active':''); ?>"><h3 class="<?php echo ($Step >= 1? 'pp-step-h-completed':''); ?>"><?php echo __('Fill out the settings on this page', 'powerpress'); ?></h3></li>
|
7 |
$Step = $_GET['pp-step'];
|
8 |
?>
|
9 |
<div id="pp-getting-started-box">
|
10 |
+
<?php echo ($Heading?'<h2>'. __('Start your podcast in 3 easy steps...', 'powerpress') .'</h2>':'');
|
11 |
+
if (defined('WP_DEBUG')) {
|
12 |
+
if (WP_DEBUG) {?>
|
13 |
+
<link rel="stylesheet" type="text/css" href="<?php echo powerpress_get_root_url(); ?>css/steps.css">
|
14 |
+
<?php } else { ?>
|
15 |
+
<link rel="stylesheet" type="text/css" href="<?php echo powerpress_get_root_url(); ?>css/steps.min.css">
|
16 |
+
<?php }
|
17 |
+
} else { ?>
|
18 |
+
<link rel="stylesheet" type="text/css" href="<?php echo powerpress_get_root_url(); ?>css/steps.min.css">
|
19 |
+
<?php } ?>
|
20 |
<ul id="powerpress-steps">
|
21 |
<?php if( $ThisPage ) { ?>
|
22 |
<li class="pp-step-1<?php echo ($Step >= 0? ' pp-step-active':''); ?>"><h3 class="<?php echo ($Step >= 1? 'pp-step-h-completed':''); ?>"><?php echo __('Fill out the settings on this page', 'powerpress'); ?></h3></li>
|
powerpressadmin-jquery.php
CHANGED
@@ -1075,9 +1075,16 @@ do_action('admin_head');
|
|
1075 |
|
1076 |
echo '<!-- done adding extra stuff -->';
|
1077 |
|
1078 |
-
|
|
|
1079 |
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/jquery.css" type="text/css" media="screen" />
|
1080 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
1081 |
</head>
|
1082 |
<body>
|
1083 |
<div id="container">
|
1075 |
|
1076 |
echo '<!-- done adding extra stuff -->';
|
1077 |
|
1078 |
+
if (defined('WP_DEBUG')) {
|
1079 |
+
if (WP_DEBUG) {?>
|
1080 |
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/jquery.css" type="text/css" media="screen" />
|
1081 |
+
<?php } else { ?>
|
1082 |
+
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/jquery.min.css" type="text/css" media="screen" />
|
1083 |
+
<?php }
|
1084 |
+
} else { ?>
|
1085 |
+
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/jquery.min.css" type="text/css" media="screen" />
|
1086 |
+
<?php }
|
1087 |
+
if( $other ) echo $other; ?>
|
1088 |
</head>
|
1089 |
<body>
|
1090 |
<div id="container">
|
powerpressadmin-metabox.php
CHANGED
@@ -31,7 +31,7 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
31 |
<h3 id="pp-pp-selected-media-head-<?php echo $FeedSlug; ?>"
|
32 |
style="<?php echo $style4; ?>"><?php echo __('Attach podcast media or enter URL', 'powerpress'); ?></h3>
|
33 |
<div id="pp-selected-media-text-<?php echo $FeedSlug; ?>">
|
34 |
-
<div id="media-input-<?php echo $FeedSlug; ?>" class="label-container">
|
35 |
<div id="pp-url-input-container-<?php echo $FeedSlug; ?>" style="<?php echo $style1 ?>">
|
36 |
<label id="pp-url-input-above-<?php echo $FeedSlug; ?>" class="pp-url-input-label"
|
37 |
style="display: none;"
|
@@ -43,7 +43,7 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
43 |
style="display: none;"
|
44 |
for="powerpress_url_<?php echo $FeedSlug; ?>"><?php echo __('Update URL or attach new media file'); ?></label>
|
45 |
</div>
|
46 |
-
<div style="<?php echo $style3 ?>" class="ep-box-input" title="<?php echo $EnclosureURL; ?>"
|
47 |
id="powerpress_url_show_<?php echo $FeedSlug; ?>">
|
48 |
<p id="ep-box-filename-<?php echo $FeedSlug; ?>"><?php echo $filename ?></p>
|
49 |
<img id="powerpress_success_<?php echo $FeedSlug; ?>"
|
@@ -127,7 +127,7 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
127 |
<div id="pp-category-dropdown-<?php echo $FeedSlug; ?>">
|
128 |
<label for="Powerpress[<?php echo $FeedSlug; ?>][category]"><?php echo __('Category', 'powerpress'); ?></label>
|
129 |
<div class="powerpress_row_content"><?php
|
130 |
-
echo '<select id="powerpress_category_'. $FeedSlug . '" name="Powerpress['. $FeedSlug .'][category]" class="ep-box-input"> title="Category"';
|
131 |
echo '<option value="0"';
|
132 |
echo '>' . esc_html( __('Select category', 'powerpress') ) . '</option>' . "\n";
|
133 |
|
@@ -174,7 +174,7 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
174 |
name="Powerpress[<?php echo $FeedSlug; ?>][set_size]" value="1"
|
175 |
type="radio" <?php echo($GeneralSettings['set_size'] == 1 ? 'checked' : ''); ?> />
|
176 |
<?php echo __('Specify', 'powerpress') . ': '; ?>
|
177 |
-
<input class="ep-box-input" type="text" id="powerpress_size_<?php echo $FeedSlug; ?>" title="<?php echo __("File size in bytes","powerpress"); ?>"
|
178 |
name="Powerpress[<?php echo $FeedSlug; ?>][size]"
|
179 |
value="<?php echo esc_attr($EnclosureLength); ?>" style="width: 110px;"
|
180 |
onchange="javascript:jQuery('#powerpress_set_size_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
|
@@ -197,17 +197,17 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
197 |
name="Powerpress[<?php echo $FeedSlug; ?>][set_duration]" value="1"
|
198 |
type="radio" <?php echo($GeneralSettings['set_duration'] == 1 ? 'checked' : ''); ?> />
|
199 |
<?php echo __('Specify', 'powerpress') . ': '; ?>
|
200 |
-
<input type="text" class="ep-box-input" id="powerpress_duration_hh_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration hours","powerpress"); ?>"
|
201 |
placeholder="HH" name="Powerpress[<?php echo $FeedSlug; ?>][duration_hh]"
|
202 |
maxlength="2" value="<?php echo esc_attr($DurationHH); ?>"
|
203 |
onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/><strong
|
204 |
style="margin-left: 4px;">:</strong>
|
205 |
-
<input type="text" class="ep-box-input" id="powerpress_duration_mm_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration minutes","powerpress"); ?>"
|
206 |
placeholder="MM" name="Powerpress[<?php echo $FeedSlug; ?>][duration_mm]"
|
207 |
maxlength="2" value="<?php echo esc_attr($DurationMM); ?>"
|
208 |
onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/><strong
|
209 |
style="margin-left: 4px;">:</strong>
|
210 |
-
<input type="text" class="ep-box-input" id="powerpress_duration_ss_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration seconds","powerpress"); ?>"
|
211 |
placeholder="SS" name="Powerpress[<?php echo $FeedSlug; ?>][duration_ss]"
|
212 |
maxlength="10" value="<?php echo esc_attr($DurationSS); ?>"
|
213 |
onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
|
@@ -227,7 +227,7 @@ function episode_box_top($EnclosureURL, $FeedSlug, $ExtraData, $GeneralSettings,
|
|
227 |
}
|
228 |
|
229 |
|
230 |
-
function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTunesSubtitle, $iTunesSummary, $iTunesAuthor, $iTunesOrder, $iTunesBlock, $object)
|
231 |
{
|
232 |
?>
|
233 |
<!-- Tab content -->
|
@@ -262,16 +262,16 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTune
|
|
262 |
<div class="powerpress_row">
|
263 |
<div class="powerpress_row_content">
|
264 |
<input type="text" id="powerpress_feed_title_<?php echo $FeedSlug; ?>" title="<?php echo __("Episode title","powerpress"); ?>"
|
265 |
-
class="ep-box-input"
|
266 |
name="Powerpress[<?php echo $FeedSlug; ?>][feed_title]"
|
267 |
value="<?php echo esc_attr($ExtraData['feed_title']); ?>"
|
268 |
placeholder="<?php echo __('Custom episode title', 'powerpress'); ?>"
|
269 |
style="width: 96%; margin-top: 1em;"/>
|
270 |
</div>
|
271 |
-
<label class="ep-box-label-under"><?php echo __("Leave blank to use WordPress post title at the top of this page.", 'powerpress'); ?></label>
|
272 |
</div>
|
273 |
<?php } else { ?>
|
274 |
-
<p class="ep-box-text"><?php echo __("The episode title is pulled from your WordPress post title at the top of this page.", 'powerpress'); ?></p>
|
275 |
<?php } ?>
|
276 |
</div>
|
277 |
<div class="pp-section-container">
|
@@ -279,7 +279,7 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTune
|
|
279 |
<div class="pp-tooltip-right" style="margin: 1ch 0 0 1ch;">i
|
280 |
<span class="text-pp-tooltip"><?php echo __('Please enter your description in the space above the episode box, underneath the post title.', 'powerpress'); ?></span>
|
281 |
</div>
|
282 |
-
<p class="ep-box-text"><?php echo __("The episode description is pulled from your WordPress post content, which can be edited above.", 'powerpress'); ?></p>
|
283 |
</div>
|
284 |
<div id="apple-podcast-opt-<?php echo $FeedSlug; ?>" class="pp-section-container">
|
285 |
<div class="pp-section-container">
|
@@ -287,7 +287,7 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTune
|
|
287 |
<div class="pp-tooltip-right">i
|
288 |
<span class="text-pp-tooltip"><?php echo __('Fill this section out thoroughly to optimize the exposure that your podcast gets on Apple.', 'powerpress'); ?></span>
|
289 |
</div>
|
290 |
-
<div id="explicit-container-<?php echo $FeedSlug; ?>">
|
291 |
<select style="display: none" id="powerpress_explicit_<?php echo $FeedSlug; ?>"
|
292 |
name="Powerpress[<?php echo $FeedSlug; ?>][explicit]" style="height:20px;">
|
293 |
<?php
|
@@ -298,53 +298,58 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTune
|
|
298 |
|
299 |
?>
|
300 |
</select>
|
301 |
-
<label class="ep-box-label" for="explicit-switch-base-<?php echo $FeedSlug; ?>"><?php echo __("Explicit Setting", "powerpress"); ?></label>
|
302 |
<div id="explicit-switch-base-<?php echo $FeedSlug; ?>">
|
303 |
<div id="not-set-<?php echo $FeedSlug; ?>" title="<?php echo __("No explicit selected","powerpress"); ?>"
|
304 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-right: 1px solid #b3b3b3;"' : '' ?>
|
305 |
-
" class="<?php echo $iTunesExplicit == 0 ? ' explicit-selected' : 'explicit-option' ?>
|
306 |
"><?php echo __('NOT SET', 'powerpress'); ?></div>
|
307 |
<div id="clean-<?php echo $FeedSlug; ?>" title="<?php echo __("Clean content","powerpress"); ?>"
|
308 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? '' : ' style="border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;"' ?>
|
309 |
-
" class="<?php echo $iTunesExplicit == 2 ? ' explicit-selected' : 'explicit-option' ?>
|
310 |
"><?php echo __('CLEAN', 'powerpress'); ?></div>
|
311 |
<div id="explicit-<?php echo $FeedSlug; ?>" title="<?php echo __("Explicit content","powerpress"); ?>"
|
312 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-left: 1px solid #b3b3b3;"' : '' ?>
|
313 |
-
" class="<?php echo $iTunesExplicit == 1 ? ' explicit-selected' : 'explicit-option' ?>
|
314 |
"><?php echo __('EXPLICIT', 'powerpress'); ?></div>
|
315 |
</div>
|
316 |
</div>
|
317 |
</div>
|
318 |
<div class="pp-section-container">
|
319 |
-
<div class="label-container" id="apple-title-container-<?php echo $FeedSlug; ?>">
|
320 |
-
<label class="ep-box-label-apple"
|
321 |
for="powerpress_episode_apple_title_<?php echo $FeedSlug; ?>"><?php echo __('Title', 'powerpress'); ?></label>
|
322 |
-
<input class="
|
323 |
id="powerpress_episode_apple_title_<?php echo $FeedSlug; ?>"
|
324 |
name="Powerpress[<?php echo $FeedSlug; ?>][episode_title]"
|
325 |
value="<?php echo esc_attr($ExtraData['episode_title']); ?>" maxlength="255"/>
|
326 |
</div>
|
327 |
-
<div class="label-container" id="episode-no-container-<?php echo $FeedSlug; ?>">
|
328 |
-
<label class="ep-box-label-apple"
|
329 |
for="powerpress_episode_episode_no_<?php echo $FeedSlug; ?>"><?php echo __('Episode #', 'powerpress'); ?></label>
|
330 |
-
<input class="
|
331 |
id="powerpress_episode_episode_no_<?php echo $FeedSlug; ?>"
|
332 |
name="Powerpress[<?php echo $FeedSlug; ?>][episode_no]"
|
333 |
value="<?php echo esc_attr($ExtraData['episode_no']); ?>"/>
|
334 |
</div>
|
335 |
-
<div class="label-container" id="season-container-<?php echo $FeedSlug; ?>">
|
336 |
-
<label class="ep-box-label-apple"
|
337 |
for="powerpress_episode_season_<?php echo $FeedSlug; ?>"><?php echo __('Season #', 'powerpress'); ?></label>
|
338 |
<!--<div class="pp-tooltip-left" style="float: right;">i
|
339 |
<span class="text-pp-tooltip"
|
340 |
style="float: right;"><?php echo __('If your feed type is set to serial, you may specify a season for each episode.', 'powerpress'); ?></span>
|
341 |
</div>-->
|
342 |
-
<input class="
|
343 |
id="powerpress_episode_season_<?php echo $FeedSlug; ?>"
|
344 |
name="Powerpress[<?php echo $FeedSlug; ?>][season]" title="<?php echo __("Apple Podcasts season number","powerpress"); ?>"
|
345 |
-
style="width: 100%;"
|
346 |
-
|
347 |
-
|
|
|
|
|
|
|
|
|
|
|
348 |
</div>
|
349 |
</div>
|
350 |
<?php
|
@@ -368,36 +373,36 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTune
|
|
368 |
</div>
|
369 |
<div id="apple-advanced-settings-<?php echo $FeedSlug; ?>" class="pp-hidden-settings">
|
370 |
<div class="apple-opt-section-container">
|
371 |
-
<div id="apple-summary-<?php echo $FeedSlug; ?>" class="label-container" style="width: 100%;">
|
372 |
-
<label class="ep-box-label-apple"
|
373 |
for="Powerpress[<?php echo $FeedSlug; ?>][summary]"><?php echo __('Summary', 'powerpress'); ?></label>
|
374 |
-
<textarea id="powerpress_summary_<?php echo $FeedSlug; ?>" class="
|
375 |
name="Powerpress[<?php echo $FeedSlug; ?>][summary]"><?php echo esc_textarea($iTunesSummary); ?></textarea>
|
376 |
-
<label class="ep-box-label-under"><?php echo __('Leave blank to use post content.', 'powerpress'); ?></label>
|
377 |
</div>
|
378 |
</div>
|
379 |
<div class="apple-opt-section-container">
|
380 |
-
<div class="label-container" style="width: 100%;" id="
|
381 |
-
<label class="ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][author]"><?php echo __('Author', 'powerpress'); ?></label>
|
382 |
-
<input class="
|
383 |
-
<label class="ep-box-label-under"><?php echo __('Leave blank to use default.', 'powerpress'); ?></label>
|
384 |
</div>
|
385 |
</div>
|
386 |
<div class="apple-opt-section-container">
|
387 |
-
<div class="label-container" style="width: 100%;" id="
|
388 |
-
<label class="ep-box-label"
|
389 |
for="Powerpress[<?php echo $FeedSlug; ?>][subtitle]"><?php echo __('Subtitle', 'powerpress'); ?></label>
|
390 |
-
<input class="
|
391 |
name="Powerpress[<?php echo $FeedSlug; ?>][subtitle]" title="<?php echo __("Apple Podcasts episode subtitle","powerpress"); ?>"
|
392 |
value="<?php echo esc_attr($iTunesSubtitle); ?>" size="250" />
|
393 |
-
<label class="ep-box-label-under"><?php echo __('Leave blank to use post excerpt.', 'powerpress'); ?></label>
|
394 |
</div>
|
395 |
</div>
|
396 |
<div class="apple-opt-section-container">
|
397 |
-
<div class="label-container">
|
398 |
-
<label class="ep-box-label-apple"
|
399 |
for="powerpress_episode_type_<?php echo $FeedSlug; ?>"><?php echo __('Type', 'powerpress'); ?></label>
|
400 |
-
<select style="font-size: 14px;" class="
|
401 |
name="Powerpress[<?php echo $FeedSlug; ?>][episode_type]" title="<?php echo __("Apple Podcasts episode type","powerpress"); ?>">
|
402 |
<?php
|
403 |
$type_array = array('' => __('Full (default)', 'powerpress'), 'full' => __('Full Episode', 'powerpress'), 'trailer' => __('Trailer', 'powerpress'), 'bonus' => __('Bonus', 'powerpress'));
|
@@ -407,9 +412,9 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTune
|
|
407 |
?>
|
408 |
</select>
|
409 |
</div>
|
410 |
-
<div class="label-container" style="float: right;">
|
411 |
-
<label class="ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][block]"><?php echo __('Block', 'powerpress'); ?></label>
|
412 |
-
<select class="
|
413 |
<?php
|
414 |
$block_array = array(''=>__('No', 'powerpress'), 1=>__('Yes, Block episode from Apple Podcasts', 'powerpress') );
|
415 |
|
@@ -421,7 +426,7 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTune
|
|
421 |
</div>
|
422 |
</div>
|
423 |
<div class="apple-opt-section-container">
|
424 |
-
<div class="label-container" id="apple-feature-<?php echo $FeedSlug; ?>" style="width: 65%;">
|
425 |
<h4 class="pp-section-title-block" style="width: 100%;"><?php echo __("Feature Episode", 'powerpress') ?></h4>
|
426 |
<?php if ($FeaturedChecked) { ?>
|
427 |
<input type="hidden" name="PowerpressFeature[<?php echo $FeedSlug; ?>]" value="0" />
|
@@ -432,9 +437,9 @@ function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTune
|
|
432 |
<span for="powerpress_feature_<?php echo $FeedSlug; ?>"
|
433 |
style="font-size: 14px;"> <?php echo __('Episode will appear at the top of your episode list in the Apple Podcast directory.', 'powerpress'); ?></span>
|
434 |
</div>
|
435 |
-
<div class="label-container" id="
|
436 |
-
<label class="ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][order]"><?php echo __('Order', 'powerpress'); ?></label>
|
437 |
-
<input class="
|
438 |
</div>
|
439 |
</div>
|
440 |
</div>
|
@@ -464,7 +469,7 @@ function artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage)
|
|
464 |
style="top: -150%;"><?php echo __('Episode artwork should be square and have dimensions between 1400 x 1400 pixels and 3000 x 3000 pixels.', 'powerpress'); ?></span>
|
465 |
</div>
|
466 |
<br/>
|
467 |
-
<input type="text" class="ep-box-input" title="<?php echo __("Apple Image URL","powerpress"); ?>"
|
468 |
id="powerpress_itunes_image_<?php echo $FeedSlug; ?>"
|
469 |
placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>"
|
470 |
name="Powerpress[<?php echo $FeedSlug; ?>][itunes_image]"
|
@@ -494,7 +499,7 @@ function artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage)
|
|
494 |
<span class="text-pp-tooltip"><?php echo __('This artwork only shows up if your podcast media is a video file.', 'powerpress'); ?></span>
|
495 |
</div>
|
496 |
<br/> <br/>
|
497 |
-
<input type="text" class="ep-box-input" id="powerpress_image_<?php echo $FeedSlug; ?>"
|
498 |
name="Powerpress[<?php echo $FeedSlug; ?>][image]" title="<?php echo __("Poster image URL","powerpress"); ?>"
|
499 |
value="<?php echo esc_attr($CoverImage); ?>"
|
500 |
placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>"
|
@@ -556,14 +561,14 @@ function display_tab($FeedSlug, $IsVideo, $NoPlayer, $NoLinks, $Width, $Height,
|
|
556 |
<div id="line-above-player-size-<?php echo $FeedSlug; ?>" style="display: <?php echo $display; ?>" class="ep-box-line"></div>
|
557 |
<div id="pp-player-size-<?php echo $FeedSlug; ?>" style="display: <?php echo $display; ?>" class="pp-section-container">
|
558 |
<h4 class="pp-section-title" style="width: 100%;"><?php echo __('Video Player Size', 'powerpress') ?></h4>
|
559 |
-
<div class="label-container">
|
560 |
<input type="text" id="powerpress_episode_player_width_<?php echo $FeedSlug; ?>" title="<?php echo __("Player width","powerpress"); ?>"
|
561 |
-
class="ep-box-input" placeholder="<?php echo htmlspecialchars(__('Width', 'powerpress')); ?>"
|
562 |
name="Powerpress[<?php echo $FeedSlug; ?>][width]" value="<?php echo esc_attr($Width); ?>"
|
563 |
style="width: 40%;font-size: 90%;" size="5"/>
|
564 |
x
|
565 |
<input type="text" id="powerpress_episode_player_height_<?php echo $FeedSlug; ?>"
|
566 |
-
class="ep-box-input"
|
567 |
placeholder="<?php echo htmlspecialchars(__('Height', 'powerpress')); ?>" title="<?php echo __("Player height","powerpress"); ?>"
|
568 |
name="Powerpress[<?php echo $FeedSlug; ?>][height]" value="<?php echo esc_attr($Height); ?>"
|
569 |
style="width: 40%; font-size: 90%;" size="5"/>
|
@@ -587,7 +592,7 @@ function display_tab($FeedSlug, $IsVideo, $NoPlayer, $NoLinks, $Width, $Height,
|
|
587 |
style="top: -50%;"><?php echo __('Here, you can enter a link to embed a media player.', 'powerpress'); ?></span>
|
588 |
</div>
|
589 |
<div class="powerpress_row_content">
|
590 |
-
<textarea class="ep-box-input" id="powerpress_embed_<?php echo $FeedSlug; ?>"
|
591 |
name="Powerpress[<?php echo $FeedSlug; ?>][embed]" title="<?php echo __("Media Embed","powerpress"); ?>"
|
592 |
style="font-size: 14px; width: 95%; height: 80px;"
|
593 |
onfocus="this.select();"><?php echo esc_textarea($Embed); ?></textarea>
|
31 |
<h3 id="pp-pp-selected-media-head-<?php echo $FeedSlug; ?>"
|
32 |
style="<?php echo $style4; ?>"><?php echo __('Attach podcast media or enter URL', 'powerpress'); ?></h3>
|
33 |
<div id="pp-selected-media-text-<?php echo $FeedSlug; ?>">
|
34 |
+
<div id="media-input-<?php echo $FeedSlug; ?>" class="powerpress-label-container">
|
35 |
<div id="pp-url-input-container-<?php echo $FeedSlug; ?>" style="<?php echo $style1 ?>">
|
36 |
<label id="pp-url-input-above-<?php echo $FeedSlug; ?>" class="pp-url-input-label"
|
37 |
style="display: none;"
|
43 |
style="display: none;"
|
44 |
for="powerpress_url_<?php echo $FeedSlug; ?>"><?php echo __('Update URL or attach new media file'); ?></label>
|
45 |
</div>
|
46 |
+
<div style="<?php echo $style3 ?>" class="pp-ep-box-input" title="<?php echo $EnclosureURL; ?>"
|
47 |
id="powerpress_url_show_<?php echo $FeedSlug; ?>">
|
48 |
<p id="ep-box-filename-<?php echo $FeedSlug; ?>"><?php echo $filename ?></p>
|
49 |
<img id="powerpress_success_<?php echo $FeedSlug; ?>"
|
127 |
<div id="pp-category-dropdown-<?php echo $FeedSlug; ?>">
|
128 |
<label for="Powerpress[<?php echo $FeedSlug; ?>][category]"><?php echo __('Category', 'powerpress'); ?></label>
|
129 |
<div class="powerpress_row_content"><?php
|
130 |
+
echo '<select id="powerpress_category_'. $FeedSlug . '" name="Powerpress['. $FeedSlug .'][category]" class="pp-ep-box-input"> title="Category"';
|
131 |
echo '<option value="0"';
|
132 |
echo '>' . esc_html( __('Select category', 'powerpress') ) . '</option>' . "\n";
|
133 |
|
174 |
name="Powerpress[<?php echo $FeedSlug; ?>][set_size]" value="1"
|
175 |
type="radio" <?php echo($GeneralSettings['set_size'] == 1 ? 'checked' : ''); ?> />
|
176 |
<?php echo __('Specify', 'powerpress') . ': '; ?>
|
177 |
+
<input class="pp-ep-box-input" type="text" id="powerpress_size_<?php echo $FeedSlug; ?>" title="<?php echo __("File size in bytes","powerpress"); ?>"
|
178 |
name="Powerpress[<?php echo $FeedSlug; ?>][size]"
|
179 |
value="<?php echo esc_attr($EnclosureLength); ?>" style="width: 110px;"
|
180 |
onchange="javascript:jQuery('#powerpress_set_size_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
|
197 |
name="Powerpress[<?php echo $FeedSlug; ?>][set_duration]" value="1"
|
198 |
type="radio" <?php echo($GeneralSettings['set_duration'] == 1 ? 'checked' : ''); ?> />
|
199 |
<?php echo __('Specify', 'powerpress') . ': '; ?>
|
200 |
+
<input type="text" class="pp-ep-box-input" id="powerpress_duration_hh_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration hours","powerpress"); ?>"
|
201 |
placeholder="HH" name="Powerpress[<?php echo $FeedSlug; ?>][duration_hh]"
|
202 |
maxlength="2" value="<?php echo esc_attr($DurationHH); ?>"
|
203 |
onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/><strong
|
204 |
style="margin-left: 4px;">:</strong>
|
205 |
+
<input type="text" class="pp-ep-box-input" id="powerpress_duration_mm_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration minutes","powerpress"); ?>"
|
206 |
placeholder="MM" name="Powerpress[<?php echo $FeedSlug; ?>][duration_mm]"
|
207 |
maxlength="2" value="<?php echo esc_attr($DurationMM); ?>"
|
208 |
onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/><strong
|
209 |
style="margin-left: 4px;">:</strong>
|
210 |
+
<input type="text" class="pp-ep-box-input" id="powerpress_duration_ss_<?php echo $FeedSlug; ?>" title="<?php echo __("Duration seconds","powerpress"); ?>"
|
211 |
placeholder="SS" name="Powerpress[<?php echo $FeedSlug; ?>][duration_ss]"
|
212 |
maxlength="10" value="<?php echo esc_attr($DurationSS); ?>"
|
213 |
onchange="javascript:jQuery('#powerpress_set_duration_1_<?php echo $FeedSlug; ?>').attr('checked', true);"/>
|
227 |
}
|
228 |
|
229 |
|
230 |
+
function seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $GeneralSettings, $iTunesSubtitle, $iTunesSummary, $iTunesAuthor, $iTunesOrder, $iTunesBlock, $object)
|
231 |
{
|
232 |
?>
|
233 |
<!-- Tab content -->
|
262 |
<div class="powerpress_row">
|
263 |
<div class="powerpress_row_content">
|
264 |
<input type="text" id="powerpress_feed_title_<?php echo $FeedSlug; ?>" title="<?php echo __("Episode title","powerpress"); ?>"
|
265 |
+
class="pp-ep-box-input"
|
266 |
name="Powerpress[<?php echo $FeedSlug; ?>][feed_title]"
|
267 |
value="<?php echo esc_attr($ExtraData['feed_title']); ?>"
|
268 |
placeholder="<?php echo __('Custom episode title', 'powerpress'); ?>"
|
269 |
style="width: 96%; margin-top: 1em;"/>
|
270 |
</div>
|
271 |
+
<label class="pp-ep-box-label-under"><?php echo __("Leave blank to use WordPress post title at the top of this page.", 'powerpress'); ?></label>
|
272 |
</div>
|
273 |
<?php } else { ?>
|
274 |
+
<p class="pp-ep-box-text"><?php echo __("The episode title is pulled from your WordPress post title at the top of this page.", 'powerpress'); ?></p>
|
275 |
<?php } ?>
|
276 |
</div>
|
277 |
<div class="pp-section-container">
|
279 |
<div class="pp-tooltip-right" style="margin: 1ch 0 0 1ch;">i
|
280 |
<span class="text-pp-tooltip"><?php echo __('Please enter your description in the space above the episode box, underneath the post title.', 'powerpress'); ?></span>
|
281 |
</div>
|
282 |
+
<p class="pp-ep-box-text"><?php echo __("The episode description is pulled from your WordPress post content, which can be edited above.", 'powerpress'); ?></p>
|
283 |
</div>
|
284 |
<div id="apple-podcast-opt-<?php echo $FeedSlug; ?>" class="pp-section-container">
|
285 |
<div class="pp-section-container">
|
287 |
<div class="pp-tooltip-right">i
|
288 |
<span class="text-pp-tooltip"><?php echo __('Fill this section out thoroughly to optimize the exposure that your podcast gets on Apple.', 'powerpress'); ?></span>
|
289 |
</div>
|
290 |
+
<div id="pp-explicit-container-<?php echo $FeedSlug; ?>">
|
291 |
<select style="display: none" id="powerpress_explicit_<?php echo $FeedSlug; ?>"
|
292 |
name="Powerpress[<?php echo $FeedSlug; ?>][explicit]" style="height:20px;">
|
293 |
<?php
|
298 |
|
299 |
?>
|
300 |
</select>
|
301 |
+
<label class="pp-ep-box-label" for="explicit-switch-base-<?php echo $FeedSlug; ?>"><?php echo __("Explicit Setting", "powerpress"); ?></label>
|
302 |
<div id="explicit-switch-base-<?php echo $FeedSlug; ?>">
|
303 |
<div id="not-set-<?php echo $FeedSlug; ?>" title="<?php echo __("No explicit selected","powerpress"); ?>"
|
304 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-right: 1px solid #b3b3b3;"' : '' ?>
|
305 |
+
" class="<?php echo $iTunesExplicit == 0 ? ' explicit-selected' : 'pp-explicit-option' ?>
|
306 |
"><?php echo __('NOT SET', 'powerpress'); ?></div>
|
307 |
<div id="clean-<?php echo $FeedSlug; ?>" title="<?php echo __("Clean content","powerpress"); ?>"
|
308 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? '' : ' style="border-left: 1px solid #b3b3b3;border-right: 1px solid #b3b3b3;"' ?>
|
309 |
+
" class="<?php echo $iTunesExplicit == 2 ? ' explicit-selected' : 'pp-explicit-option' ?>
|
310 |
"><?php echo __('CLEAN', 'powerpress'); ?></div>
|
311 |
<div id="explicit-<?php echo $FeedSlug; ?>" title="<?php echo __("Explicit content","powerpress"); ?>"
|
312 |
onclick="powerpress_changeExplicitSwitch(this)"<?php echo $iTunesExplicit == 2 ? ' style="border-left: 1px solid #b3b3b3;"' : '' ?>
|
313 |
+
" class="<?php echo $iTunesExplicit == 1 ? ' explicit-selected' : 'pp-explicit-option' ?>
|
314 |
"><?php echo __('EXPLICIT', 'powerpress'); ?></div>
|
315 |
</div>
|
316 |
</div>
|
317 |
</div>
|
318 |
<div class="pp-section-container">
|
319 |
+
<div class="powerpress-label-container" id="apple-title-container-<?php echo $FeedSlug; ?>">
|
320 |
+
<label class="pp-ep-box-label-apple"
|
321 |
for="powerpress_episode_apple_title_<?php echo $FeedSlug; ?>"><?php echo __('Title', 'powerpress'); ?></label>
|
322 |
+
<input class="pp-ep-box-input" type="text" title="<?php echo __("Apple Podcasts episode title","powerpress"); ?>"
|
323 |
id="powerpress_episode_apple_title_<?php echo $FeedSlug; ?>"
|
324 |
name="Powerpress[<?php echo $FeedSlug; ?>][episode_title]"
|
325 |
value="<?php echo esc_attr($ExtraData['episode_title']); ?>" maxlength="255"/>
|
326 |
</div>
|
327 |
+
<div class="powerpress-label-container" id="episode-no-container-<?php echo $FeedSlug; ?>">
|
328 |
+
<label class="pp-ep-box-label-apple"
|
329 |
for="powerpress_episode_episode_no_<?php echo $FeedSlug; ?>"><?php echo __('Episode #', 'powerpress'); ?></label>
|
330 |
+
<input class="pp-ep-box-input" type="number" title="<?php echo __("Apple Podcasts episode number","powerpress"); ?>"
|
331 |
id="powerpress_episode_episode_no_<?php echo $FeedSlug; ?>"
|
332 |
name="Powerpress[<?php echo $FeedSlug; ?>][episode_no]"
|
333 |
value="<?php echo esc_attr($ExtraData['episode_no']); ?>"/>
|
334 |
</div>
|
335 |
+
<div class="powerpress-label-container" id="season-container-<?php echo $FeedSlug; ?>">
|
336 |
+
<label class="pp-ep-box-label-apple"
|
337 |
for="powerpress_episode_season_<?php echo $FeedSlug; ?>"><?php echo __('Season #', 'powerpress'); ?></label>
|
338 |
<!--<div class="pp-tooltip-left" style="float: right;">i
|
339 |
<span class="text-pp-tooltip"
|
340 |
style="float: right;"><?php echo __('If your feed type is set to serial, you may specify a season for each episode.', 'powerpress'); ?></span>
|
341 |
</div>-->
|
342 |
+
<input class="pp-ep-box-input" type="number" oninput="powerpress_setCurrentSeason(this)"
|
343 |
id="powerpress_episode_season_<?php echo $FeedSlug; ?>"
|
344 |
name="Powerpress[<?php echo $FeedSlug; ?>][season]" title="<?php echo __("Apple Podcasts season number","powerpress"); ?>"
|
345 |
+
style="width: 100%;"
|
346 |
+
<?php if (isset($ExtraData['season']) && $ExtraData['season']) {
|
347 |
+
echo " value=\"" . esc_attr($ExtraData['season']) . "\"/>";
|
348 |
+
} elseif (isset($GeneralSettings['current_season'])) {
|
349 |
+
echo " value=\"" . esc_attr($GeneralSettings['current_season']) . "\"/>";
|
350 |
+
} else {
|
351 |
+
echo " />";
|
352 |
+
} ?>
|
353 |
</div>
|
354 |
</div>
|
355 |
<?php
|
373 |
</div>
|
374 |
<div id="apple-advanced-settings-<?php echo $FeedSlug; ?>" class="pp-hidden-settings">
|
375 |
<div class="apple-opt-section-container">
|
376 |
+
<div id="apple-summary-<?php echo $FeedSlug; ?>" class="powerpress-label-container" style="width: 100%;">
|
377 |
+
<label class="pp-ep-box-label-apple"
|
378 |
for="Powerpress[<?php echo $FeedSlug; ?>][summary]"><?php echo __('Summary', 'powerpress'); ?></label>
|
379 |
+
<textarea id="powerpress_summary_<?php echo $FeedSlug; ?>" class="pp-ep-box-input" title="<?php echo __("Apple Podcasts episode summary","powerpress"); ?>"
|
380 |
name="Powerpress[<?php echo $FeedSlug; ?>][summary]"><?php echo esc_textarea($iTunesSummary); ?></textarea>
|
381 |
+
<label class="pp-ep-box-label-under"><?php echo __('Leave blank to use post content.', 'powerpress'); ?></label>
|
382 |
</div>
|
383 |
</div>
|
384 |
<div class="apple-opt-section-container">
|
385 |
+
<div class="powerpress-label-container" style="width: 100%;" id="apple-author-<?php echo $FeedSlug; ?>">
|
386 |
+
<label class="pp-ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][author]"><?php echo __('Author', 'powerpress'); ?></label>
|
387 |
+
<input class="pp-ep-box-input" type="text" id="powerpress_author_<?php echo $FeedSlug; ?>" title="<?php echo __("Apple Podcasts episode author","powerpress"); ?>" name="Powerpress[<?php echo $FeedSlug; ?>][author]" value="<?php echo esc_attr($iTunesAuthor); ?>" />
|
388 |
+
<label class="pp-ep-box-label-under"><?php echo __('Leave blank to use default.', 'powerpress'); ?></label>
|
389 |
</div>
|
390 |
</div>
|
391 |
<div class="apple-opt-section-container">
|
392 |
+
<div class="powerpress-label-container" style="width: 100%;" id="apple-subtitle-<?php echo $FeedSlug; ?>">
|
393 |
+
<label class="pp-ep-box-label"
|
394 |
for="Powerpress[<?php echo $FeedSlug; ?>][subtitle]"><?php echo __('Subtitle', 'powerpress'); ?></label>
|
395 |
+
<input class="pp-ep-box-input" type="text" id="powerpress_subtitle_<?php echo $FeedSlug; ?>"
|
396 |
name="Powerpress[<?php echo $FeedSlug; ?>][subtitle]" title="<?php echo __("Apple Podcasts episode subtitle","powerpress"); ?>"
|
397 |
value="<?php echo esc_attr($iTunesSubtitle); ?>" size="250" />
|
398 |
+
<label class="pp-ep-box-label-under"><?php echo __('Leave blank to use post excerpt.', 'powerpress'); ?></label>
|
399 |
</div>
|
400 |
</div>
|
401 |
<div class="apple-opt-section-container">
|
402 |
+
<div class="powerpress-label-container">
|
403 |
+
<label class="pp-ep-box-label-apple"
|
404 |
for="powerpress_episode_type_<?php echo $FeedSlug; ?>"><?php echo __('Type', 'powerpress'); ?></label>
|
405 |
+
<select style="font-size: 14px;" class="pp-ep-box-input" id="powerpress_episode_type_<?php echo $FeedSlug; ?>"
|
406 |
name="Powerpress[<?php echo $FeedSlug; ?>][episode_type]" title="<?php echo __("Apple Podcasts episode type","powerpress"); ?>">
|
407 |
<?php
|
408 |
$type_array = array('' => __('Full (default)', 'powerpress'), 'full' => __('Full Episode', 'powerpress'), 'trailer' => __('Trailer', 'powerpress'), 'bonus' => __('Bonus', 'powerpress'));
|
412 |
?>
|
413 |
</select>
|
414 |
</div>
|
415 |
+
<div class="powerpress-label-container" style="float: right;">
|
416 |
+
<label class="pp-ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][block]"><?php echo __('Block', 'powerpress'); ?></label>
|
417 |
+
<select class="pp-ep-box-input" id="powerpress_block_<?php echo $FeedSlug; ?>" name="Powerpress[<?php echo $FeedSlug; ?>][block]" title="<?php echo __("Apple Podcasts block episode","powerpress"); ?>">
|
418 |
<?php
|
419 |
$block_array = array(''=>__('No', 'powerpress'), 1=>__('Yes, Block episode from Apple Podcasts', 'powerpress') );
|
420 |
|
426 |
</div>
|
427 |
</div>
|
428 |
<div class="apple-opt-section-container">
|
429 |
+
<div class="powerpress-label-container" id="apple-feature-<?php echo $FeedSlug; ?>" style="width: 65%;">
|
430 |
<h4 class="pp-section-title-block" style="width: 100%;"><?php echo __("Feature Episode", 'powerpress') ?></h4>
|
431 |
<?php if ($FeaturedChecked) { ?>
|
432 |
<input type="hidden" name="PowerpressFeature[<?php echo $FeedSlug; ?>]" value="0" />
|
437 |
<span for="powerpress_feature_<?php echo $FeedSlug; ?>"
|
438 |
style="font-size: 14px;"> <?php echo __('Episode will appear at the top of your episode list in the Apple Podcast directory.', 'powerpress'); ?></span>
|
439 |
</div>
|
440 |
+
<div class="powerpress-label-container" id="type-<?php echo $FeedSlug; ?>" style="float: right; width: 30%;">
|
441 |
+
<label class="pp-ep-box-label" for="Powerpress[<?php echo $FeedSlug; ?>][order]"><?php echo __('Order', 'powerpress'); ?></label>
|
442 |
+
<input class="pp-ep-box-input" type="number" id="powerpress_order_<?php echo $FeedSlug; ?>" title="<?php echo __("Apple Podcasts episode order","powerpress"); ?>" name="Powerpress[<?php echo $FeedSlug; ?>][order]" value="<?php echo esc_attr($iTunesOrder); ?>" />
|
443 |
</div>
|
444 |
</div>
|
445 |
</div>
|
469 |
style="top: -150%;"><?php echo __('Episode artwork should be square and have dimensions between 1400 x 1400 pixels and 3000 x 3000 pixels.', 'powerpress'); ?></span>
|
470 |
</div>
|
471 |
<br/>
|
472 |
+
<input type="text" class="pp-ep-box-input" title="<?php echo __("Apple Image URL","powerpress"); ?>"
|
473 |
id="powerpress_itunes_image_<?php echo $FeedSlug; ?>"
|
474 |
placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>"
|
475 |
name="Powerpress[<?php echo $FeedSlug; ?>][itunes_image]"
|
499 |
<span class="text-pp-tooltip"><?php echo __('This artwork only shows up if your podcast media is a video file.', 'powerpress'); ?></span>
|
500 |
</div>
|
501 |
<br/> <br/>
|
502 |
+
<input type="text" class="pp-ep-box-input" id="powerpress_image_<?php echo $FeedSlug; ?>"
|
503 |
name="Powerpress[<?php echo $FeedSlug; ?>][image]" title="<?php echo __("Poster image URL","powerpress"); ?>"
|
504 |
value="<?php echo esc_attr($CoverImage); ?>"
|
505 |
placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>"
|
561 |
<div id="line-above-player-size-<?php echo $FeedSlug; ?>" style="display: <?php echo $display; ?>" class="ep-box-line"></div>
|
562 |
<div id="pp-player-size-<?php echo $FeedSlug; ?>" style="display: <?php echo $display; ?>" class="pp-section-container">
|
563 |
<h4 class="pp-section-title" style="width: 100%;"><?php echo __('Video Player Size', 'powerpress') ?></h4>
|
564 |
+
<div class="powerpress-label-container">
|
565 |
<input type="text" id="powerpress_episode_player_width_<?php echo $FeedSlug; ?>" title="<?php echo __("Player width","powerpress"); ?>"
|
566 |
+
class="pp-ep-box-input" placeholder="<?php echo htmlspecialchars(__('Width', 'powerpress')); ?>"
|
567 |
name="Powerpress[<?php echo $FeedSlug; ?>][width]" value="<?php echo esc_attr($Width); ?>"
|
568 |
style="width: 40%;font-size: 90%;" size="5"/>
|
569 |
x
|
570 |
<input type="text" id="powerpress_episode_player_height_<?php echo $FeedSlug; ?>"
|
571 |
+
class="pp-ep-box-input"
|
572 |
placeholder="<?php echo htmlspecialchars(__('Height', 'powerpress')); ?>" title="<?php echo __("Player height","powerpress"); ?>"
|
573 |
name="Powerpress[<?php echo $FeedSlug; ?>][height]" value="<?php echo esc_attr($Height); ?>"
|
574 |
style="width: 40%; font-size: 90%;" size="5"/>
|
592 |
style="top: -50%;"><?php echo __('Here, you can enter a link to embed a media player.', 'powerpress'); ?></span>
|
593 |
</div>
|
594 |
<div class="powerpress_row_content">
|
595 |
+
<textarea class="pp-ep-box-input" id="powerpress_embed_<?php echo $FeedSlug; ?>"
|
596 |
name="Powerpress[<?php echo $FeedSlug; ?>][embed]" title="<?php echo __("Media Embed","powerpress"); ?>"
|
597 |
style="font-size: 14px; width: 95%; height: 80px;"
|
598 |
onfocus="this.select();"><?php echo esc_textarea($Embed); ?></textarea>
|
powerpressadmin-rss-import.php
CHANGED
@@ -59,7 +59,15 @@ class PowerPress_RSS_Podcast_Import extends WP_Importer {
|
|
59 |
|
60 |
|
61 |
function header() {
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
echo '<div class="wrap" style="min-height: 100vh">';
|
64 |
echo '<div class="pp_container" style="max-width: 100rem;">';
|
65 |
echo '<h2 class="pp_align-center">'.__('PowerPress', 'powerpress').'</h2>';
|
59 |
|
60 |
|
61 |
function header() {
|
62 |
+
if (defined('WP_DEBUG')) {
|
63 |
+
if (WP_DEBUG) {
|
64 |
+
wp_enqueue_style('powerpress_onboarding_styles', plugin_dir_url(__FILE__) . 'css/onboarding.css');
|
65 |
+
} else {
|
66 |
+
wp_enqueue_style('powerpress_onboarding_styles', plugin_dir_url(__FILE__) . 'css/onboarding.min.css');
|
67 |
+
}
|
68 |
+
} else {
|
69 |
+
wp_enqueue_style('powerpress_onboarding_styles', plugin_dir_url(__FILE__) . 'css/onboarding.min.css');
|
70 |
+
}
|
71 |
echo '<div class="wrap" style="min-height: 100vh">';
|
72 |
echo '<div class="pp_container" style="max-width: 100rem;">';
|
73 |
echo '<h2 class="pp_align-center">'.__('PowerPress', 'powerpress').'</h2>';
|
powerpressadmin.php
CHANGED
@@ -2383,8 +2383,19 @@ jQuery(document).ready(function($) {
|
|
2383 |
|
2384 |
//-->
|
2385 |
</script>
|
2386 |
-
|
2387 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2388 |
}
|
2389 |
else if( $page_name == 'edit' || $page_name == 'edit-pages' ) // || $page_name == '' ) // we don't know the page, we better include our CSS just in case
|
2390 |
{
|
@@ -2845,9 +2856,16 @@ function powerpress_send_to_poster_image(url)
|
|
2845 |
{
|
2846 |
// Print this line for debugging when looking for other pages to include header data for
|
2847 |
//echo "<!-- WP Page Name: $page_name; Hook Suffix: $hook_suffix -->\n";
|
2848 |
-
|
2849 |
-
|
2850 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2851 |
}
|
2852 |
}
|
2853 |
|
2383 |
|
2384 |
//-->
|
2385 |
</script>
|
2386 |
+
<?php
|
2387 |
+
if (defined('WP_DEBUG') && WP_DEBUG) {
|
2388 |
+
if (WP_DEBUG) {?>
|
2389 |
+
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/admin.css" type="text/css"
|
2390 |
+
media="screen"/>
|
2391 |
+
<?php } else { ?>
|
2392 |
+
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/admin.min.css" type="text/css"
|
2393 |
+
media="screen"/>
|
2394 |
+
<?php }
|
2395 |
+
} else { ?>
|
2396 |
+
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/admin.min.css" type="text/css"
|
2397 |
+
media="screen"/>
|
2398 |
+
<?php }
|
2399 |
}
|
2400 |
else if( $page_name == 'edit' || $page_name == 'edit-pages' ) // || $page_name == '' ) // we don't know the page, we better include our CSS just in case
|
2401 |
{
|
2856 |
{
|
2857 |
// Print this line for debugging when looking for other pages to include header data for
|
2858 |
//echo "<!-- WP Page Name: $page_name; Hook Suffix: $hook_suffix -->\n";
|
2859 |
+
|
2860 |
+
if (defined('WP_DEBUG') && WP_DEBUG) {
|
2861 |
+
if (WP_DEBUG) {?>
|
2862 |
+
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/dashboard.css" type="text/css" media="screen" />
|
2863 |
+
<?php } else { ?>
|
2864 |
+
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/dashboard.min.css" type="text/css" media="screen" />
|
2865 |
+
<?php }
|
2866 |
+
} else { ?>
|
2867 |
+
<link rel="stylesheet" href="<?php echo powerpress_get_root_url(); ?>css/dashboard.min.css" type="text/css" media="screen" />
|
2868 |
+
<?php }
|
2869 |
}
|
2870 |
}
|
2871 |
|
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.3.2
|
7 |
-
Stable tag: 8.2.
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -231,11 +231,19 @@ To install Blubrry PowerPress manually, follow these steps:
|
|
231 |
= Next Major Release Announcements =
|
232 |
* We are looking for beta testers! If you would like to beta test future versions of PowerPress, please [contact us](http://blubrry.com/contact.php#feedback) with your name and email.
|
233 |
|
234 |
-
* PowerPress 8.3 beta 1 will be available in early
|
235 |
|
236 |
= Fan of PowerPress and want to show your support? =
|
237 |
If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
= 8.2.3 =
|
240 |
* Released 2/13/2020
|
241 |
* Added Remove Episode option back into episode box
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.3.2
|
7 |
+
Stable tag: 8.2.4
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
231 |
= Next Major Release Announcements =
|
232 |
* We are looking for beta testers! If you would like to beta test future versions of PowerPress, please [contact us](http://blubrry.com/contact.php#feedback) with your name and email.
|
233 |
|
234 |
+
* PowerPress 8.3 beta 1 will be available in early March, 2020! Please visit the [PowerPress Beta]https://create.blubrry.com/resources/powerpress/powerpress-beta/) page for more information.
|
235 |
|
236 |
= Fan of PowerPress and want to show your support? =
|
237 |
If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
|
238 |
|
239 |
+
= 8.2.4 =
|
240 |
+
* Released 2/18/2020
|
241 |
+
* Minified CSS files for faster loading times
|
242 |
+
* Consolidated CSS classes and gave them more unique names so as to avoid conflict with other plugins
|
243 |
+
* Added the ability for PowerPress to remember the season of the last episode published and put this as a default value in this field for new posts
|
244 |
+
* Fixed a bug that was preventing the explicit setting from saving
|
245 |
+
* Made poster image setting visible to all
|
246 |
+
|
247 |
= 8.2.3 =
|
248 |
* Released 2/13/2020
|
249 |
* Added Remove Episode option back into episode box
|
views/episode-box.php
CHANGED
@@ -8,7 +8,15 @@ require_once(POWERPRESS_ABSPATH .'/powerpress-metamarks.php');
|
|
8 |
|
9 |
function powerpress_admin_enqueue_scripts($hook) {
|
10 |
if ( 'post-new.php' === $hook || 'post.php' === $hook) {
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
wp_enqueue_style( 'powerpress-episode-box' );
|
13 |
wp_enqueue_script('powerpress-admin', powerpress_get_root_url() . 'js/admin.js', array(), POWERPRESS_VERSION );
|
14 |
}
|
@@ -208,7 +216,7 @@ function powerpress_meta_box($object, $box)
|
|
208 |
echo "<button class=\"tablinks\" id=\"2$FeedSlug\" title='{$titles['website']}' onclick=\"powerpress_openTab(event, 'display-$FeedSlug')\">" . __('Website Display', 'powerpress') . "</button>";
|
209 |
echo "<button class=\"tablinks\" id=\"3$FeedSlug\" title='{$titles['advanced']}' onclick=\"powerpress_openTab(event, 'notes-$FeedSlug')\">" . __('Advanced', 'powerpress') . "</button>";
|
210 |
echo "</div>";
|
211 |
-
seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $iTunesSubtitle, $iTunesSummary, $iTunesAuthor, $iTunesOrder, $iTunesBlock, $object);
|
212 |
artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage);
|
213 |
display_tab($FeedSlug, $IsVideo, $NoPlayer, $NoLinks, $Width, $Height, $Embed);
|
214 |
notes_tab($FeedSlug, $object);
|
8 |
|
9 |
function powerpress_admin_enqueue_scripts($hook) {
|
10 |
if ( 'post-new.php' === $hook || 'post.php' === $hook) {
|
11 |
+
if (defined('WP_DEBUG')) {
|
12 |
+
if (WP_DEBUG) {
|
13 |
+
wp_register_style('powerpress-episode-box', powerpress_get_root_url() . 'css/episode-box.css', array(), POWERPRESS_VERSION);
|
14 |
+
} else {
|
15 |
+
wp_register_style('powerpress-episode-box', powerpress_get_root_url() . 'css/episode-box.min.css', array(), POWERPRESS_VERSION);
|
16 |
+
}
|
17 |
+
} else {
|
18 |
+
wp_register_style('powerpress-episode-box', powerpress_get_root_url() . 'css/episode-box.min.css', array(), POWERPRESS_VERSION);
|
19 |
+
}
|
20 |
wp_enqueue_style( 'powerpress-episode-box' );
|
21 |
wp_enqueue_script('powerpress-admin', powerpress_get_root_url() . 'js/admin.js', array(), POWERPRESS_VERSION );
|
22 |
}
|
216 |
echo "<button class=\"tablinks\" id=\"2$FeedSlug\" title='{$titles['website']}' onclick=\"powerpress_openTab(event, 'display-$FeedSlug')\">" . __('Website Display', 'powerpress') . "</button>";
|
217 |
echo "<button class=\"tablinks\" id=\"3$FeedSlug\" title='{$titles['advanced']}' onclick=\"powerpress_openTab(event, 'notes-$FeedSlug')\">" . __('Advanced', 'powerpress') . "</button>";
|
218 |
echo "</div>";
|
219 |
+
seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $GeneralSettings, $iTunesSubtitle, $iTunesSummary, $iTunesAuthor, $iTunesOrder, $iTunesBlock, $object);
|
220 |
artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage);
|
221 |
display_tab($FeedSlug, $IsVideo, $NoPlayer, $NoLinks, $Width, $Height, $Embed);
|
222 |
notes_tab($FeedSlug, $object);
|