From 4b9fc4c2cd100a9eb258c6999aae6fa295512c69 Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Fri, 8 Aug 2025 11:46:09 +0530 Subject: [PATCH 1/2] show plan-based notice for pro features --- .../views/amazon-product-advertising-view.php | 6 +++++- includes/views/openai-view.php | 6 +++++- includes/views/openrouter-view.php | 6 +++++- includes/views/spinnerchief-view.php | 20 ++++++++++--------- includes/views/wordai-view.php | 6 +++++- 5 files changed, 31 insertions(+), 13 deletions(-) diff --git a/includes/views/amazon-product-advertising-view.php b/includes/views/amazon-product-advertising-view.php index 98f854227..c50652ce4 100644 --- a/includes/views/amazon-product-advertising-view.php +++ b/includes/views/amazon-product-advertising-view.php @@ -1,10 +1,14 @@ + +
+
', '' ); echo wp_kses_post( $content ); diff --git a/includes/views/openrouter-view.php b/includes/views/openrouter-view.php index 3f6cc0611..7ccad507e 100644 --- a/includes/views/openrouter-view.php +++ b/includes/views/openrouter-view.php @@ -1,10 +1,14 @@ + +
', '' ); echo wp_kses_post( $content ); diff --git a/includes/views/spinnerchief-view.php b/includes/views/spinnerchief-view.php index feba644da..1fe5a3eb0 100644 --- a/includes/views/spinnerchief-view.php +++ b/includes/views/spinnerchief-view.php @@ -1,16 +1,18 @@ + +
', - '' - ) - ); - ?> + $upgrade_url = tsdk_translate_link( tsdk_utmify( FEEDZY_UPSELL_LINK, 'spinnerchief' ) ); + + // translators: %1$s: opening anchor tag, %2$s: closing anchor tag. + $content .= wp_sprintf( __( 'Unlock more powerful features, by %1$s upgrading to Feedzy Pro %2$s', 'feedzy-rss-feeds' ), '', '' ); + echo wp_kses_post( $content ); + ?>
diff --git a/includes/views/wordai-view.php b/includes/views/wordai-view.php index 9c6511304..6a17e827c 100644 --- a/includes/views/wordai-view.php +++ b/includes/views/wordai-view.php @@ -1,10 +1,14 @@ + +
', '' ); From ce1cc27cd7b2928752967778ec263e9e306f2a30 Mon Sep 17 00:00:00 2001 From: Soare Robert-Daniel Date: Tue, 12 Aug 2025 10:03:06 +0300 Subject: [PATCH 2/2] chore: remove unused variables --- includes/views/amazon-product-advertising-view.php | 1 - includes/views/openai-view.php | 1 - includes/views/openrouter-view.php | 1 - includes/views/spinnerchief-view.php | 1 - includes/views/wordai-view.php | 1 - 5 files changed, 5 deletions(-) diff --git a/includes/views/amazon-product-advertising-view.php b/includes/views/amazon-product-advertising-view.php index c50652ce4..984e4673a 100644 --- a/includes/views/amazon-product-advertising-view.php +++ b/includes/views/amazon-product-advertising-view.php @@ -1,5 +1,4 @@ diff --git a/includes/views/openai-view.php b/includes/views/openai-view.php index cfee6b2a2..3095f15b0 100644 --- a/includes/views/openai-view.php +++ b/includes/views/openai-view.php @@ -1,5 +1,4 @@ diff --git a/includes/views/openrouter-view.php b/includes/views/openrouter-view.php index 7ccad507e..27a0d2334 100644 --- a/includes/views/openrouter-view.php +++ b/includes/views/openrouter-view.php @@ -1,5 +1,4 @@ diff --git a/includes/views/spinnerchief-view.php b/includes/views/spinnerchief-view.php index 1fe5a3eb0..a289d36e0 100644 --- a/includes/views/spinnerchief-view.php +++ b/includes/views/spinnerchief-view.php @@ -1,5 +1,4 @@ diff --git a/includes/views/wordai-view.php b/includes/views/wordai-view.php index 6a17e827c..8cdf146b7 100644 --- a/includes/views/wordai-view.php +++ b/includes/views/wordai-view.php @@ -1,5 +1,4 @@