Skip to content

Commit

Permalink
feat: add black friday 2024 campaign
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Jan 30, 2024
1 parent 8615318 commit 4cf87da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
Binary file modified img/black-friday-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions includes/feedzy-rss-feeds-limited-offers.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class Feedzy_Rss_Feeds_Limited_Offers {
*/
public $timelines = array(
'bf' => array(
'start' => '2023-11-20 00:00:00',
'end' => '2023-11-27 23:59:00',
'start' => '2024-11-25 00:00:00',
'end' => '2024-12-3 23:59:00',
),
);

Expand Down Expand Up @@ -93,8 +93,8 @@ public function activate_bff() {
$this->offer_metadata = array(
'bannerUrl' => FEEDZY_ABSURL . 'img/black-friday-banner.png',
'bannerAlt' => 'Feedzy Black Friday Sale',
'linkDashboard' => tsdk_utmify( 'https://themeisle.com/plugins/feedzy-rss-feeds/blackfriday/', 'blackfridayltd23', 'dashboard' ),
'linkGlobal' => tsdk_utmify( 'https://themeisle.com/plugins/feedzy-rss-feeds/blackfriday/', 'blackfridayltd23', 'globalnotice' ),
'linkDashboard' => tsdk_utmify( 'https://themeisle.com/plugins/feedzy-rss-feeds/blackfriday/', 'bfcm24', 'dashboard' ),
'linkGlobal' => '',
'urgencyText' => 'Hurry Up! Only ' . $this->get_remaining_time_for_deal( $this->get_active_deal() ) . ' left',
);
}
Expand Down
3 changes: 0 additions & 3 deletions includes/feedzy-rss-feeds.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,6 @@ function () {
if ( ! feedzy_is_pro() ) {
$offer = new Feedzy_Rss_Feeds_Limited_Offers();
$offer->load_banner();
if ( $offer->is_active() && $offer->can_show_dashboard_banner() ) {
$offer->load_dashboard_hooks();
}
}

}
Expand Down

0 comments on commit 4cf87da

Please sign in to comment.