| @@ -6,18 +6,50 @@ | ||
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | // Exit if accessed directly. |
| 9 | 9 | defined( 'ABSPATH' ) || exit; |
| 10 | + | |
| 11 | +$other_plugins = array( | |
| 12 | + array( | |
| 13 | + 'name' => 'Paddle for WooCommerce', | |
| 14 | + 'tagline' => 'Payments & checkout', | |
| 15 | + 'desc' => 'Looking to boost your sales of themes, plugins, or designs with the power of WooCommerce? Streamline your checkout process with Paddle’s WooCommerce integration.', | |
| 16 | + 'url' => 'https://wpsmartpay.com/paddle-for-woocommerce/', | |
| 17 | + 'cta' => __( 'Learn more', 'subscription' ), | |
| 18 | + 'icon_url' => SUBSCRPT_ASSETS . '/images/other_plugins/paddle.png', | |
| 19 | + ), | |
| 20 | + array( | |
| 21 | + 'name' => 'WPSmartpay', | |
| 22 | + 'tagline' => 'Payments & checkout', | |
| 23 | + 'desc' => 'Sell Digital Products & Accept Payment with WordPress. WPSmartPay is the perfect plugin for selling digital products, accepting one-time and recurring payments on your WordPress site without setting up a shopping cart.', | |
| 24 | + 'url' => 'https://wpsmartpay.com/features/', | |
| 25 | + 'cta' => __( 'Learn more', 'subscription' ), | |
| 26 | + 'icon_url' => SUBSCRPT_ASSETS . '/images/other_plugins/wpsmartpay.png', | |
| 27 | + ), | |
| 28 | + array( | |
| 29 | + 'name' => 'Thrivedesk', | |
| 30 | + 'tagline' => 'Agentic Helpdesk', | |
| 31 | + 'desc' => 'ThriveDesk unifies email, live chat, and knowledge base into one AI-powered helpdesk trained on your own data to handle repetitive tickets automatically, so your team gets back to building the business.', | |
| 32 | + 'url' => 'https://www.thrivedesk.com/', | |
| 33 | + 'cta' => __( 'Learn more', 'subscription' ), | |
| 34 | + 'icon_url' => SUBSCRPT_ASSETS . '/images/other_plugins/thrivedesk.png', | |
| 35 | + ), | |
| 36 | +); | |
| 37 | + | |
| 10 | 38 | ?> |
| 11 | -<div style="max-width:1240px;margin:32px auto 0 auto;padding:0 20px 40px;"> | |
| 12 | 39 | |
| 13 | - <!-- Page header --> | |
| 14 | - <div style="margin-bottom:24px;"> | |
| 15 | - <h1 style="font-size:1.375rem;font-weight:700;color:var(--wpsubs-text);margin:0 0 6px;line-height:1.2;"><?php esc_html_e( 'Help & Resources', 'subscription' ); ?></h1> | |
| 16 | - <p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0 0 12px;line-height:1.5;"><?php esc_html_e( 'Documentation, community links, and ways to get help with WPSubscription.', 'subscription' ); ?></p> | |
| 17 | - <div style="border-top:1px dashed #d0d3d7;"></div> | |
| 18 | - </div> | |
| 19 | 40 | |
| 41 | +<div class="wp-subscription-admin-content list-page"> | |
| 42 | + | |
| 43 | + <?php | |
| 44 | + wpsubs_render_page_header( | |
| 45 | + array( | |
| 46 | + 'title' => __( 'Help & Resources', 'subscription' ), | |
| 47 | + 'description' => __( 'Documentation, community links, and ways to get help with WPSubscription.', 'subscription' ), | |
| 48 | + ) | |
| 49 | + ); | |
| 50 | + ?> | |
| 51 | + | |
| 20 | 52 | <?php if ( ! class_exists( 'Sdevs_Wc_Subscription_Pro' ) ) : ?> |
| 21 | 53 | <!-- Upgrade banner --> |
| 22 | 54 | <div style="display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:8px;padding:16px 20px;margin-bottom:24px;"> |
| 23 | 55 | <div> |
| @@ -27,71 +59,12 @@ | ||
| 27 | 59 | <a href="https://wpsubscription.co/?utm_source=plugin&utm_medium=admin&utm_campaign=upgrade_pro" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--primary" style="white-space:nowrap;flex-shrink:0;"><?php esc_html_e( 'Upgrade to Pro', 'subscription' ); ?></a> |
| 28 | 60 | </div> |
| 29 | 61 | <?php endif; ?> |
| 30 | 62 | |
| 31 | - <!-- Stats row --> | |
| 32 | - <div class="wpsubs-table-card" style="display:flex;flex-wrap:wrap;margin-bottom:32px;"> | |
| 33 | - <div style="flex:1;min-width:160px;display:flex;align-items:center;gap:14px;padding:16px 20px;border-right:1px solid var(--wpsubs-border);"> | |
| 34 | - <div style="width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#e0f2fe;display:flex;align-items:center;justify-content:center;"> | |
| 35 | - <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#0369a1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87"/><path d="M16 3.13a4 4 0 010 7.75"/></svg> | |
| 36 | - </div> | |
| 37 | - <div> | |
| 38 | - <div style="font-size:18px;font-weight:700;color:var(--wpsubs-text);line-height:1.1;">700+</div> | |
| 39 | - <div style="font-size:11px;color:var(--wpsubs-text-muted);margin-top:2px;line-height:1.3;"><?php esc_html_e( 'Active Installations', 'subscription' ); ?></div> | |
| 40 | - </div> | |
| 41 | - </div> | |
| 42 | - <div style="flex:1;min-width:160px;display:flex;align-items:center;gap:14px;padding:16px 20px;border-right:1px solid var(--wpsubs-border);"> | |
| 43 | - <div style="width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#fef3c7;display:flex;align-items:center;justify-content:center;"> | |
| 44 | - <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#92400e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg> | |
| 45 | - </div> | |
| 46 | - <div> | |
| 47 | - <div style="font-size:18px;font-weight:700;color:var(--wpsubs-text);line-height:1.1;">4.9 / 5</div> | |
| 48 | - <div style="font-size:11px;color:var(--wpsubs-text-muted);margin-top:2px;line-height:1.3;"><?php esc_html_e( 'Average Rating', 'subscription' ); ?></div> | |
| 49 | - </div> | |
| 50 | - </div> | |
| 51 | - <div style="flex:1;min-width:160px;display:flex;align-items:center;gap:14px;padding:16px 20px;border-right:1px solid var(--wpsubs-border);"> | |
| 52 | - <div style="width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#dcfce7;display:flex;align-items:center;justify-content:center;"> | |
| 53 | - <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#166534" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="20 6 9 17 4 12"/></svg> | |
| 54 | - </div> | |
| 55 | - <div> | |
| 56 | - <div style="font-size:18px;font-weight:700;color:var(--wpsubs-text);line-height:1.1;"><?php esc_html_e( 'Free', 'subscription' ); ?></div> | |
| 57 | - <div style="font-size:11px;color:var(--wpsubs-text-muted);margin-top:2px;line-height:1.3;"><?php esc_html_e( 'Open source on WP.org', 'subscription' ); ?></div> | |
| 58 | - </div> | |
| 59 | - </div> | |
| 60 | - <div style="flex:1;min-width:160px;display:flex;align-items:center;gap:14px;padding:16px 20px;border-right:1px solid var(--wpsubs-border);"> | |
| 61 | - <div style="width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#fce7f3;display:flex;align-items:center;justify-content:center;"> | |
| 62 | - <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#9d174d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z"/></svg> | |
| 63 | - </div> | |
| 64 | - <div> | |
| 65 | - <div style="font-size:18px;font-weight:700;color:var(--wpsubs-text);line-height:1.1;"><?php esc_html_e( '48 hr', 'subscription' ); ?></div> | |
| 66 | - <div style="font-size:11px;color:var(--wpsubs-text-muted);margin-top:2px;line-height:1.3;"><?php esc_html_e( 'Avg. support response', 'subscription' ); ?></div> | |
| 67 | - </div> | |
| 68 | - </div> | |
| 69 | - <div style="flex:1;min-width:160px;display:flex;align-items:center;gap:14px;padding:16px 20px;border-right:1px solid var(--wpsubs-border);"> | |
| 70 | - <div style="width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#ede9fe;display:flex;align-items:center;justify-content:center;"> | |
| 71 | - <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#6d28d9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/></svg> | |
| 72 | - </div> | |
| 73 | - <div> | |
| 74 | - <div style="font-size:18px;font-weight:700;color:var(--wpsubs-text);line-height:1.1;">5+</div> | |
| 75 | - <div style="font-size:11px;color:var(--wpsubs-text-muted);margin-top:2px;line-height:1.3;"><?php esc_html_e( 'Payment Gateways', 'subscription' ); ?></div> | |
| 76 | - </div> | |
| 77 | - </div> | |
| 78 | - <div style="flex:1;min-width:160px;display:flex;align-items:center;gap:14px;padding:16px 20px;"> | |
| 79 | - <div style="width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#fff7ed;display:flex;align-items:center;justify-content:center;"> | |
| 80 | - <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#c2410c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"/></svg> | |
| 81 | - </div> | |
| 82 | - <div> | |
| 83 | - <div style="font-size:18px;font-weight:700;color:var(--wpsubs-text);line-height:1.1;">5+</div> | |
| 84 | - <div style="font-size:11px;color:var(--wpsubs-text-muted);margin-top:2px;line-height:1.3;"><?php esc_html_e( 'Integrations', 'subscription' ); ?></div> | |
| 85 | - </div> | |
| 86 | - </div> | |
| 87 | - </div> | |
| 88 | - | |
| 89 | 63 | <!-- Community --> |
| 90 | 64 | <div style="margin-bottom:32px;"> |
| 91 | 65 | <div style="margin-bottom:12px;"> |
| 92 | - <h2 style="font-size:12px;font-weight:600;color:var(--wpsubs-text-muted);text-transform:uppercase;letter-spacing:0.06em;margin:0 0 3px;line-height:1.4;margin-left:1px;"><?php esc_html_e( 'Community', 'subscription' ); ?></h2> | |
| 93 | - <p style="font-size:12px;color:var(--wpsubs-text-muted);margin:0;line-height:1.5;margin-left:1px;"><?php esc_html_e( 'Help shape the product and share your experience with other users.', 'subscription' ); ?></p> | |
| 66 | + <h2 style="font-size:12px;font-weight:600;color:var(--wpsubs-text-muted);text-transform:uppercase;letter-spacing:0.06em;margin:0;line-height:1.4;margin-left:1px;"><?php esc_html_e( 'Community', 'subscription' ); ?></h2> | |
| 94 | 67 | </div> |
| 95 | 68 | <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;"> |
| 96 | 69 | |
| 97 | 70 | <div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| @@ -123,9 +96,9 @@ | ||
| 123 | 96 | </div> |
| 124 | 97 | </div> |
| 125 | 98 | <p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.6;flex:1;"><?php esc_html_e( 'Have a feature idea? We read every request. Your feedback directly shapes the plugin roadmap.', 'subscription' ); ?></p> |
| 126 | 99 | <div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 127 | - <a href="https://wpsubscription.co/contact" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 100 | + <a href="https://wpsubscription.co/contact?utm_source=plugin&utm_medium=admin&utm_campaign=support" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 128 | 101 | <?php esc_html_e( 'Send a Request', 'subscription' ); ?> |
| 129 | 102 | <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg> |
| 130 | 103 | </a> |
| 131 | 104 | </div> |
| @@ -171,10 +144,9 @@ | ||
| 171 | 144 | |
| 172 | 145 | <!-- Resources --> |
| 173 | 146 | <div style="margin-bottom:32px;"> |
| 174 | 147 | <div style="margin-bottom:12px;"> |
| 175 | - <h2 style="font-size:12px;font-weight:600;color:var(--wpsubs-text-muted);text-transform:uppercase;letter-spacing:0.06em;margin:0 0 3px;line-height:1.4;margin-left:1px;"><?php esc_html_e( 'Resources', 'subscription' ); ?></h2> | |
| 176 | - <p style="font-size:12px;color:var(--wpsubs-text-muted);margin:0;line-height:1.5;margin-left:1px;"><?php esc_html_e( 'Guides and help for setting up and troubleshooting WPSubscription.', 'subscription' ); ?></p> | |
| 148 | + <h2 style="font-size:12px;font-weight:600;color:var(--wpsubs-text-muted);text-transform:uppercase;letter-spacing:0.06em;margin:0;line-height:1.4;margin-left:1px;"><?php esc_html_e( 'Resources', 'subscription' ); ?></h2> | |
| 177 | 149 | </div> |
| 178 | 150 | <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;"> |
| 179 | 151 | |
| 180 | 152 | <div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| @@ -183,14 +155,14 @@ | ||
| 183 | 155 | <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#0369a1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 3h6a4 4 0 014 4v14a3 3 0 00-3-3H2z"/><path d="M22 3h-6a4 4 0 00-4 4v14a3 3 0 013-3h7z"/></svg> |
| 184 | 156 | </div> |
| 185 | 157 | <div> |
| 186 | 158 | <div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php esc_html_e( 'Documentation', 'subscription' ); ?></div> |
| 187 | - <div style="font-size:11px;color:#0369a1;font-weight:500;margin-top:2px;"><?php esc_html_e( 'docs.converslabs.com', 'subscription' ); ?></div> | |
| 159 | + <div style="font-size:11px;color:#0369a1;font-weight:500;margin-top:2px;"><?php esc_html_e( 'docs.wpsubscription.co', 'subscription' ); ?></div> | |
| 188 | 160 | </div> |
| 189 | 161 | </div> |
| 190 | 162 | <p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.6;flex:1;"><?php esc_html_e( 'Step-by-step setup guides, configuration references, shortcode docs, and migration instructions.', 'subscription' ); ?></p> |
| 191 | 163 | <div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 192 | - <a href="https://docs.converslabs.com/en" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 164 | + <a href="https://docs.wpsubscription.co/en?utm_source=plugin&utm_medium=admin&utm_campaign=docs" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 193 | 165 | <?php esc_html_e( 'Browse Docs', 'subscription' ); ?> |
| 194 | 166 | <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg> |
| 195 | 167 | </a> |
| 196 | 168 | </div> |
| @@ -201,14 +173,14 @@ | ||
| 201 | 173 | <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#6d28d9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="1" y="4" width="22" height="16" rx="2" ry="2"/><line x1="1" y1="10" x2="23" y2="10"/></svg> |
| 202 | 174 | </div> |
| 203 | 175 | <div> |
| 204 | 176 | <div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php esc_html_e( 'Payment Gateways', 'subscription' ); ?></div> |
| 205 | - <div style="font-size:11px;color:#6d28d9;font-weight:500;margin-top:2px;"><?php esc_html_e( 'docs.converslabs.com', 'subscription' ); ?></div> | |
| 177 | + <div style="font-size:11px;color:#6d28d9;font-weight:500;margin-top:2px;"><?php esc_html_e( 'docs.wpsubscription.co', 'subscription' ); ?></div> | |
| 206 | 178 | </div> |
| 207 | 179 | </div> |
| 208 | 180 | <p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.6;flex:1;"><?php esc_html_e( 'Setup guides for Stripe, PayPal, Mollie, Razorpay, Xendit, and other supported payment gateways.', 'subscription' ); ?></p> |
| 209 | 181 | <div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 210 | - <a href="https://docs.converslabs.com/en/category/payments" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 182 | + <a href="https://docs.wpsubscription.co/en/category/payments?utm_source=plugin&utm_medium=admin&utm_campaign=docs" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 211 | 183 | <?php esc_html_e( 'View Guides', 'subscription' ); ?> |
| 212 | 184 | <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg> |
| 213 | 185 | </a> |
| 214 | 186 | </div> |
| @@ -219,14 +191,14 @@ | ||
| 219 | 191 | <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#9d174d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"/></svg> |
| 220 | 192 | </div> |
| 221 | 193 | <div> |
| 222 | 194 | <div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php esc_html_e( '3rd Party Integrations', 'subscription' ); ?></div> |
| 223 | - <div style="font-size:11px;color:#9d174d;font-weight:500;margin-top:2px;"><?php esc_html_e( 'docs.converslabs.com', 'subscription' ); ?></div> | |
| 195 | + <div style="font-size:11px;color:#9d174d;font-weight:500;margin-top:2px;"><?php esc_html_e( 'docs.wpsubscription.co', 'subscription' ); ?></div> | |
| 224 | 196 | </div> |
| 225 | 197 | </div> |
| 226 | 198 | <p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.6;flex:1;"><?php esc_html_e( 'Integration guides for LMS, CRM, automation, email marketing, and license management plugins.', 'subscription' ); ?></p> |
| 227 | 199 | <div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 228 | - <a href="https://docs.converslabs.com/en/category/integrations" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 200 | + <a href="https://docs.wpsubscription.co/en/category/integrations?utm_source=plugin&utm_medium=admin&utm_campaign=docs" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 229 | 201 | <?php esc_html_e( 'View Guides', 'subscription' ); ?> |
| 230 | 202 | <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg> |
| 231 | 203 | </a> |
| 232 | 204 | </div> |
| @@ -242,14 +214,40 @@ | ||
| 242 | 214 | </div> |
| 243 | 215 | </div> |
| 244 | 216 | <p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.6;flex:1;"><?php esc_html_e( 'Open a support ticket and our team will respond within 48 hours. Please include your site URL and a description of the issue.', 'subscription' ); ?></p> |
| 245 | 217 | <div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 246 | - <a href="https://wpsubscription.co/contact" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 218 | + <a href="https://wpsubscription.co/contact?utm_source=plugin&utm_medium=admin&utm_campaign=support" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 247 | 219 | <?php esc_html_e( 'Open a Ticket', 'subscription' ); ?> |
| 248 | 220 | <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg> |
| 249 | 221 | </a> |
| 250 | 222 | </div> |
| 251 | 223 | |
| 224 | + </div> | |
| 225 | + </div> | |
| 226 | + | |
| 227 | + <!-- Our Other Plugins --> | |
| 228 | + <div style="margin-bottom:32px;"> | |
| 229 | + <div style="margin-bottom:12px;"> | |
| 230 | + <h2 style="font-size:12px;font-weight:600;color:var(--wpsubs-text-muted);text-transform:uppercase;letter-spacing:0.06em;margin:0;line-height:1.4;margin-left:1px;"><?php esc_html_e( 'Our Other Products', 'subscription' ); ?></h2> | |
| 231 | + </div> | |
| 232 | + <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;"> | |
| 233 | + <?php foreach ( $other_plugins as $other_plugin ) : ?> | |
| 234 | + <div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> | |
| 235 | + <div style="display:flex;align-items:center;gap:12px;"> | |
| 236 | + <img src="<?php echo esc_url( $other_plugin['icon_url'] ); ?>" alt="" width="44" height="44" style="flex-shrink:0;border-radius:12px;object-fit:cover;" /> | |
| 237 | + <div> | |
| 238 | + <div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php echo esc_html( $other_plugin['name'] ); ?></div> | |
| 239 | + <div style="font-size:11px;color:var(--wpsubs-text-muted);font-weight:500;margin-top:2px;"><?php echo esc_html( $other_plugin['tagline'] ); ?></div> | |
| 240 | + </div> | |
| 241 | + </div> | |
| 242 | + <p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.6;flex:1;"><?php echo esc_html( $other_plugin['desc'] ); ?></p> | |
| 243 | + <div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> | |
| 244 | + <a href="<?php echo esc_url( $other_plugin['url'] ); ?>" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> | |
| 245 | + <?php echo esc_html( $other_plugin['cta'] ); ?> | |
| 246 | + <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg> | |
| 247 | + </a> | |
| 248 | + </div> | |
| 249 | + <?php endforeach; ?> | |
| 252 | 250 | </div> |
| 253 | 251 | </div> |
| 254 | 252 | |
| 255 | 253 | </div> |