| 1 |
<?php |
| 2 |
/** |
| 3 |
* Support Admin Page |
| 4 |
* |
| 5 |
* @package SpringDevs\Subscription\Admin |
| 6 |
*/ |
| 7 |
|
| 8 |
// Exit if accessed directly. |
| 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 |
|
| 38 |
?> |
| 39 |
|
| 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 |
|
| 52 |
<?php if ( ! class_exists( 'Sdevs_Wc_Subscription_Pro' ) ) : ?> |
| 53 |
<!-- Upgrade banner --> |
| 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;"> |
| 55 |
<div> |
| 56 |
<div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);margin-bottom:4px;"><?php esc_html_e( 'Unlock the full power of WPSubscription', 'subscription' ); ?></div> |
| 57 |
<p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.5;"><?php esc_html_e( 'Upgrade to Pro for advanced features, more payment gateways, third-party integrations, and priority support.', 'subscription' ); ?></p> |
| 58 |
</div> |
| 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> |
| 60 |
</div> |
| 61 |
<?php endif; ?> |
| 62 |
|
| 63 |
<!-- Community --> |
| 64 |
<div style="margin-bottom:32px;"> |
| 65 |
<div style="margin-bottom:12px;"> |
| 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> |
| 67 |
</div> |
| 68 |
<div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;"> |
| 69 |
|
| 70 |
<div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| 71 |
<div style="display:flex;align-items:center;gap:12px;"> |
| 72 |
<div style="width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#e0f2fe;display:flex;align-items:center;justify-content:center;"> |
| 73 |
<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="M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z"/><polyline points="9 9 12 9 12 13"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg> |
| 74 |
</div> |
| 75 |
<div> |
| 76 |
<div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php esc_html_e( 'Support Forum', 'subscription' ); ?></div> |
| 77 |
<div style="font-size:11px;color:#0369a1;font-weight:500;margin-top:2px;"><?php esc_html_e( 'wordpress.org/support', 'subscription' ); ?></div> |
| 78 |
</div> |
| 79 |
</div> |
| 80 |
<p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.6;flex:1;"><?php esc_html_e( 'Browse existing threads or post a new question in the free WPSubscription support forum on WordPress.org.', 'subscription' ); ?></p> |
| 81 |
<div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 82 |
<a href="https://wordpress.org/support/plugin/subscription/" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> |
| 83 |
<?php esc_html_e( 'Visit Forum', 'subscription' ); ?> |
| 84 |
<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> |
| 85 |
</a> |
| 86 |
</div> |
| 87 |
|
| 88 |
<div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| 89 |
<div style="display:flex;align-items:center;gap:12px;"> |
| 90 |
<div style="width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#fef3c7;display:flex;align-items:center;justify-content:center;"> |
| 91 |
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#92400e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg> |
| 92 |
</div> |
| 93 |
<div> |
| 94 |
<div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php esc_html_e( 'Request a Feature', 'subscription' ); ?></div> |
| 95 |
<div style="font-size:11px;color:#92400e;font-weight:500;margin-top:2px;"><?php esc_html_e( 'Share your ideas', 'subscription' ); ?></div> |
| 96 |
</div> |
| 97 |
</div> |
| 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> |
| 99 |
<div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 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;"> |
| 101 |
<?php esc_html_e( 'Send a Request', 'subscription' ); ?> |
| 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> |
| 103 |
</a> |
| 104 |
</div> |
| 105 |
|
| 106 |
<div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| 107 |
<div style="display:flex;align-items:center;gap:12px;"> |
| 108 |
<div style="width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#fce7f3;display:flex;align-items:center;justify-content:center;"> |
| 109 |
<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"><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> |
| 110 |
</div> |
| 111 |
<div> |
| 112 |
<div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php esc_html_e( 'Leave a Review', 'subscription' ); ?></div> |
| 113 |
<div style="font-size:11px;color:#9d174d;font-weight:500;margin-top:2px;"><?php esc_html_e( 'wordpress.org/plugins', 'subscription' ); ?></div> |
| 114 |
</div> |
| 115 |
</div> |
| 116 |
<p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.6;flex:1;"><?php esc_html_e( 'Enjoying WPSubscription? A short review on WordPress.org helps others discover the plugin and means a lot to our small team.', 'subscription' ); ?></p> |
| 117 |
<div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 118 |
<a href="https://wordpress.org/support/plugin/subscription/reviews/" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> |
| 119 |
<?php esc_html_e( 'Write a Review', 'subscription' ); ?> |
| 120 |
<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> |
| 121 |
</a> |
| 122 |
</div> |
| 123 |
|
| 124 |
<div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| 125 |
<div style="display:flex;align-items:center;gap:12px;"> |
| 126 |
<div style="width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;"> |
| 127 |
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#475569" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="16 3 21 3 21 8"/><line x1="4" y1="20" x2="21" y2="3"/><polyline points="21 16 21 21 16 21"/><line x1="15" y1="15" x2="21" y2="21"/></svg> |
| 128 |
</div> |
| 129 |
<div> |
| 130 |
<div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php esc_html_e( 'Changelog', 'subscription' ); ?></div> |
| 131 |
<div style="font-size:11px;color:#475569;font-weight:500;margin-top:2px;"><?php esc_html_e( 'wordpress.org/plugins', 'subscription' ); ?></div> |
| 132 |
</div> |
| 133 |
</div> |
| 134 |
<p style="font-size:13px;color:var(--wpsubs-text-muted);margin:0;line-height:1.6;flex:1;"><?php esc_html_e( 'See what\'s new in each release — bug fixes, new features, and improvements listed on the plugin page.', 'subscription' ); ?></p> |
| 135 |
<div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 136 |
<a href="https://wordpress.org/plugins/subscription/#developers" target="_blank" rel="noopener noreferrer" class="wpsubs-btn wpsubs-btn--outline wpsubs-btn--sm" style="align-self:flex-start;"> |
| 137 |
<?php esc_html_e( 'View Changelog', 'subscription' ); ?> |
| 138 |
<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> |
| 139 |
</a> |
| 140 |
</div> |
| 141 |
|
| 142 |
</div> |
| 143 |
</div> |
| 144 |
|
| 145 |
<!-- Resources --> |
| 146 |
<div style="margin-bottom:32px;"> |
| 147 |
<div style="margin-bottom:12px;"> |
| 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> |
| 149 |
</div> |
| 150 |
<div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;"> |
| 151 |
|
| 152 |
<div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| 153 |
<div style="display:flex;align-items:center;gap:12px;"> |
| 154 |
<div style="width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#e0f2fe;display:flex;align-items:center;justify-content:center;"> |
| 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> |
| 156 |
</div> |
| 157 |
<div> |
| 158 |
<div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php esc_html_e( 'Documentation', '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> |
| 160 |
</div> |
| 161 |
</div> |
| 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> |
| 163 |
<div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 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;"> |
| 165 |
<?php esc_html_e( 'Browse Docs', 'subscription' ); ?> |
| 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> |
| 167 |
</a> |
| 168 |
</div> |
| 169 |
|
| 170 |
<div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| 171 |
<div style="display:flex;align-items:center;gap:12px;"> |
| 172 |
<div style="width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#ede9fe;display:flex;align-items:center;justify-content:center;"> |
| 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> |
| 174 |
</div> |
| 175 |
<div> |
| 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> |
| 177 |
<div style="font-size:11px;color:#6d28d9;font-weight:500;margin-top:2px;"><?php esc_html_e( 'docs.wpsubscription.co', 'subscription' ); ?></div> |
| 178 |
</div> |
| 179 |
</div> |
| 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> |
| 181 |
<div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 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;"> |
| 183 |
<?php esc_html_e( 'View Guides', 'subscription' ); ?> |
| 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> |
| 185 |
</a> |
| 186 |
</div> |
| 187 |
|
| 188 |
<div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| 189 |
<div style="display:flex;align-items:center;gap:12px;"> |
| 190 |
<div style="width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#fce7f3;display:flex;align-items:center;justify-content:center;"> |
| 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> |
| 192 |
</div> |
| 193 |
<div> |
| 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> |
| 195 |
<div style="font-size:11px;color:#9d174d;font-weight:500;margin-top:2px;"><?php esc_html_e( 'docs.wpsubscription.co', 'subscription' ); ?></div> |
| 196 |
</div> |
| 197 |
</div> |
| 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> |
| 199 |
<div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 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;"> |
| 201 |
<?php esc_html_e( 'View Guides', 'subscription' ); ?> |
| 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> |
| 203 |
</a> |
| 204 |
</div> |
| 205 |
|
| 206 |
<div class="wpsubs-table-card" style="padding:20px;display:flex;flex-direction:column;gap:14px;"> |
| 207 |
<div style="display:flex;align-items:center;gap:12px;"> |
| 208 |
<div style="width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#dcfce7;display:flex;align-items:center;justify-content:center;"> |
| 209 |
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#166534" 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> |
| 210 |
</div> |
| 211 |
<div> |
| 212 |
<div style="font-size:14px;font-weight:700;color:var(--wpsubs-text);line-height:1.2;"><?php esc_html_e( 'Get Support', 'subscription' ); ?></div> |
| 213 |
<div style="font-size:11px;color:#166534;font-weight:500;margin-top:2px;"><?php esc_html_e( 'wpsubscription.co/contact', 'subscription' ); ?></div> |
| 214 |
</div> |
| 215 |
</div> |
| 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> |
| 217 |
<div style="border-top:1px solid var(--wpsubs-border);margin:0 -20px;"></div> |
| 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;"> |
| 219 |
<?php esc_html_e( 'Open a Ticket', 'subscription' ); ?> |
| 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> |
| 221 |
</a> |
| 222 |
</div> |
| 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; ?> |
| 250 |
</div> |
| 251 |
</div> |
| 252 |
|
| 253 |
</div> |
| 254 |
|