diff --git a/assets/css/wpscp-admin-notice.css b/assets/css/wpscp-admin-notice.css index 043e8ed4..babb99d3 100644 --- a/assets/css/wpscp-admin-notice.css +++ b/assets/css/wpscp-admin-notice.css @@ -223,29 +223,29 @@ a.wpsp-notice-cta { /* -* Halloween Notice css +* Black Friday Notice css */ -#wpnotice-schedulepress-wpsp_halloween_2024 { +#wpnotice-schedulepress-wpsp_black_friday_2024 { border-left-color: #593dbd; padding: 10px 40px 10px 20px; } -#wpnotice-schedulepress-wpsp_halloween_2024 .wpnotice-content-wrapper > a.button-primary, -#wpnotice-schedulepress-wpsp_halloween_2024 .wpnotice-content-wrapper > a.button-primary:focus, -#wpnotice-schedulepress-wpsp_halloween_2024 .wpnotice-content-wrapper > a.button-primary:hover { +#wpnotice-schedulepress-wpsp_black_friday_2024 .wpnotice-content-wrapper > a.button-primary, +#wpnotice-schedulepress-wpsp_black_friday_2024 .wpnotice-content-wrapper > a.button-primary:focus, +#wpnotice-schedulepress-wpsp_black_friday_2024 .wpnotice-content-wrapper > a.button-primary:hover { background-color: #593dbd; border-color: #593dbd; } -#wpnotice-schedulepress-wpsp_halloween_2024 .wpnotice-content-wrapper { +#wpnotice-schedulepress-wpsp_black_friday_2024 .wpnotice-content-wrapper { display: flex; align-items: center; justify-content: space-between; width: 100%; } -#wpnotice-schedulepress-wpsp_halloween_2024 .wpnotice-content-wrapper p{ +#wpnotice-schedulepress-wpsp_black_friday_2024 .wpnotice-content-wrapper p{ font-size: 15px; } @media screen and (max-width: 574px) { - #wpnotice-schedulepress-wpsp_halloween_2024 { + #wpnotice-schedulepress-wpsp_black_friday_2024 { display: none !important; } } \ No newline at end of file diff --git a/includes/Admin.php b/includes/Admin.php index 7275dce5..adbc5e64 100644 --- a/includes/Admin.php +++ b/includes/Admin.php @@ -238,23 +238,23 @@ public function admin_notice() // ] // ); $crown = WPSP_ASSETS_URI . '/images/crown.svg'; - // Halloween 2024 - $notice_text = "
🎃 Grab 25% OFF on SchedulePress PRO & unlock advanced content scheduling features this Halloween.
Upgrade to pro"; + // Back Friday 2024 + $notice_text = "🏷️ Grab up to 35% OFF on SchedulePress PRO & unlock advanced content scheduling features this Black Friday.
Upgrade to pro"; - $_halloween_2024 = [ + $_black_friday_2024 = [ 'thumbnail' => $_asset_url . 'images/wpsp-logo-full.svg', 'html' => $notice_text, ]; $notices->add( - 'wpsp_halloween_2024', - $_halloween_2024, + 'wpsp_black_friday_2024', + $_black_friday_2024, [ 'start' => $notices->time(), 'recurrence' => false, 'dismissible' => true, 'refresh' => WPSP_VERSION, 'screens' => [ 'dashboard' ], - "expire" => strtotime( '11:59:59pm 3nd November, 2024' ), + "expire" => strtotime( '11:59:59pm 5th December, 2024' ), 'display_if' => !is_array( $notices->is_installed( 'wp-scheduled-posts-pro/wp-scheduled-posts-pro.php' ) ) ] );