Ultimate FAQ - Version 1.8.29

Version Description

  • Update for the admin dashboard
Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Ultimate FAQ
Version 1.8.29
Comparing to
See all releases

Code changes from version 1.8.28 to 1.8.29

Files changed (4) hide show
  1. Main.php +1 -1
  2. css/Admin.css +76 -0
  3. html/AdminHeader.php +17 -1
  4. readme.txt +3 -0
Main.php CHANGED
@@ -7,7 +7,7 @@ Author: Etoile Web Design
7
  Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: ultimate-faqs
10
- Version: 1.8.28
11
  */
12
 
13
  global $ewd_ufaq_message;
7
  Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: ultimate-faqs
10
+ Version: 1.8.29
11
  */
12
 
13
  global $ewd_ufaq_message;
css/Admin.css CHANGED
@@ -1144,6 +1144,82 @@ NEW DASHBOARD
1144
  }
1145
 
1146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1147
 
1148
  /*** MENU ***/
1149
 
1144
  }
1145
 
1146
 
1147
+ /*** START BLACK FRIDAY ***/
1148
+
1149
+ .ewd-ufaq-dashboard-new-upgrade-banner .ewd-ufaq-dashboard-banner-text.ewd-ufaq-bf-banner {
1150
+ top: 28px;
1151
+ color: rgba(255,255,255,.7);
1152
+ }
1153
+
1154
+ .ewd-ufaq-bf-banner .ewd-ufaq-dashboard-banner-title {
1155
+ margin-top: 40px;
1156
+ }
1157
+
1158
+ .ewd-ufaq-dashboard-banner-black-friday-text {
1159
+ position: relative;
1160
+ float: left;
1161
+ width: 100%;
1162
+ padding: 15px 0;
1163
+ background: rgba(255,255,255,.9);
1164
+ color: #1b0f49;
1165
+ border-radius: 3px;
1166
+ margin-bottom: -20px;
1167
+ }
1168
+ .ewd-ufaq-dashboard-banner-black-friday-title {
1169
+ position: relative;
1170
+ float: left;
1171
+ width: calc(100% - 40px);
1172
+ padding: 0 20px;
1173
+ font-size: 29px;
1174
+ line-height: 32px;
1175
+ font-weight: bold;
1176
+ }
1177
+ .ewd-ufaq-dashboard-banner-black-friday-brief,
1178
+ .ewd-ufaq-dashboard-banner-black-friday-brief-mobile {
1179
+ position: relative;
1180
+ float: left;
1181
+ width: calc(100% - 40px);
1182
+ padding: 0 20px;
1183
+ margin-top: 14px;
1184
+ font-size: 12px;
1185
+ }
1186
+ .ewd-ufaq-dashboard-banner-black-friday-brief-mobile {
1187
+ display: none;
1188
+ }
1189
+
1190
+ @media screen and (max-width: 1560px) {
1191
+ .ewd-ufaq-bf-banner .ewd-ufaq-dashboard-banner-title {
1192
+ font-size: 20px;
1193
+ }
1194
+ }
1195
+ @media screen and (max-width: 1440px) {
1196
+ .ewd-ufaq-bf-banner .ewd-ufaq-dashboard-banner-brief {
1197
+ display: none;
1198
+ }
1199
+ }
1200
+ @media screen and (max-width: 1140px) {
1201
+ .ewd-ufaq-dashboard-banner-black-friday-brief {
1202
+ display: none;
1203
+ }
1204
+ .ewd-ufaq-dashboard-banner-black-friday-brief-mobile {
1205
+ display: block;
1206
+ }
1207
+ }
1208
+ @media screen and (max-width: 840px) {
1209
+ .ewd-ufaq-dashboard-banner-black-friday-brief-mobile {
1210
+ display: none;
1211
+ }
1212
+ }
1213
+ @media screen and (max-width: 800px) {
1214
+ .ewd-ufaq-bf-banner .ewd-ufaq-dashboard-banner-title {
1215
+ display: none;
1216
+ }
1217
+ }
1218
+
1219
+ /*** END BLACK FRIDAY ***/
1220
+
1221
+
1222
+
1223
 
1224
  /*** MENU ***/
1225
 
html/AdminHeader.php CHANGED
@@ -3,12 +3,28 @@
3
 
4
 
5
  <?php if ($UFAQ_Full_Version != "Yes" or get_option("EWD_UFAQ_Trial_Happening") == "Yes") { ?>
 
6
  <div class="ewd-ufaq-dashboard-new-upgrade-banner">
7
  <div class="ewd-ufaq-dashboard-banner-icon"></div>
8
  <div class="ewd-ufaq-dashboard-banner-buttons">
9
  <a class="ewd-ufaq-dashboard-new-upgrade-button" href="https://www.etoilewebdesign.com/license-payment/?Selected=UFAQ&Quantity=1" target="_blank">UPGRADE NOW</a>
10
  </div>
11
- <div class="ewd-ufaq-dashboard-banner-text">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  <div class="ewd-ufaq-dashboard-banner-title">
13
  GET FULL ACCESS WITH OUR PREMIUM VERSION
14
  </div>
3
 
4
 
5
  <?php if ($UFAQ_Full_Version != "Yes" or get_option("EWD_UFAQ_Trial_Happening") == "Yes") { ?>
6
+ <?php $display_trial_banner = ( time() < 1575331200 and ( time() > 1574917200 or ( time() > 1574467200 and get_option('EWD_URP_Install_Time') < time() - 7*24*3600) ) ); ?>
7
  <div class="ewd-ufaq-dashboard-new-upgrade-banner">
8
  <div class="ewd-ufaq-dashboard-banner-icon"></div>
9
  <div class="ewd-ufaq-dashboard-banner-buttons">
10
  <a class="ewd-ufaq-dashboard-new-upgrade-button" href="https://www.etoilewebdesign.com/license-payment/?Selected=UFAQ&Quantity=1" target="_blank">UPGRADE NOW</a>
11
  </div>
12
+ <div class="ewd-ufaq-dashboard-banner-text <?php echo ( $display_trial_banner ? 'ewd-ufaq-bf-banner' : '' ); ?>">
13
+ <!-- Start Black Friday -->
14
+ <?php if ( $display_trial_banner ) { ?>
15
+ <div class="ewd-ufaq-dashboard-banner-black-friday-text">
16
+ <div class="ewd-ufaq-dashboard-banner-black-friday-title">
17
+ 30% OFF PREMIUM FOR BLACK FRIDAY!
18
+ </div>
19
+ <div class="ewd-ufaq-dashboard-banner-black-friday-brief">
20
+ Upgrade now to receive this great discount. No coupon code necessary. November 28th to December 2nd EST.
21
+ </div>
22
+ <div class="ewd-ufaq-dashboard-banner-black-friday-brief-mobile">
23
+ November 28th to December 2nd EST.
24
+ </div>
25
+ </div>
26
+ <?php } ?>
27
+ <!-- End Black Friday -->
28
  <div class="ewd-ufaq-dashboard-banner-title">
29
  GET FULL ACCESS WITH OUR PREMIUM VERSION
30
  </div>
readme.txt CHANGED
@@ -281,6 +281,9 @@ Video 3 - FAQs Ordering
281
 
282
  == Changelog ==
283
 
 
 
 
284
  = 1.8.28 =
285
  - Correcting issue with Set Access Role option
286
 
281
 
282
  == Changelog ==
283
 
284
+ = 1.8.29 =
285
+ - Update for the admin dashboard
286
+
287
  = 1.8.28 =
288
  - Correcting issue with Set Access Role option
289