Add Go Pro buttons and hosting providers tab

- Added Go Pro buttons for TranslatePress, Hreflang Manager, AutomatorWP, Bit Integrations, Bit Flows, Yellow Pencil, Anti-Malware, and Advanced Database Cleaner
- Updated pricing URLs for various plugins
- Added new Hosting tab with panels for Closte, Cloudron, Hostinger, Hetzner Cloud, and SimpleHost
This commit is contained in:
Marcus Quinn
2025-03-16 22:54:49 +00:00
parent 3ceeb3e05d
commit 0db22d8b1b
2 changed files with 344 additions and 4 deletions

View File

@ -64,9 +64,10 @@ function wp_allstars_get_pro_plugins_config() {
),
array(
'text' => 'Pricing',
'url' => 'https://sigmaplugin.com/downloads/wordpress-advanced-database-cleaner'
'url' => 'https://sigmaplugin.com/downloads/wordpress-advanced-database-cleaner/#price_table'
)
)
),
'free_slug' => 'advanced-database-cleaner'
),
'ai-engine' => array(
'name' => 'AI Engine (Pro)',
@ -444,9 +445,10 @@ function wp_allstars_get_pro_plugins_config() {
),
array(
'text' => 'Pricing',
'url' => 'https://wpsocialninja.com/pricing/'
'url' => 'https://wpsocialninja.com/price/'
)
)
),
'free_slug' => 'wp-social-ninja'
),
'yellow-pencil' => array(
'name' => 'YellowPencil Pro',
@ -495,6 +497,234 @@ function wp_allstars_get_pro_plugins_config() {
)
),
'free_slug' => 'fluent-community'
),
'wp-sheet-editor' => array(
'name' => 'WP Sheet Editor',
'description' => 'Edit WordPress content in spreadsheet-like interface with bulk editing capabilities.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://wpsheeteditor.com/',
'primary' => true
)
),
'free_slug' => 'wp-sheet-editor-bulk-spreadsheet-editor-for-posts-and-pages'
),
'masterstudy-lms' => array(
'name' => 'MasterStudy LMS Pro',
'description' => 'Complete learning management system for WordPress with courses, lessons, quizzes, and more.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://stylemixthemes.com/wordpress-lms-plugin/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://stylemixthemes.com/wordpress-lms-plugin/pricing/'
)
),
'free_slug' => 'masterstudy-lms-learning-management-system'
),
'pretty-link' => array(
'name' => 'Pretty Links Pro',
'description' => 'Advanced link management, tracking, and marketing tools for WordPress.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://prettylinks.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://prettylinks.com/pricing/plans/'
)
),
'free_slug' => 'pretty-link'
),
'kadence-starter-templates' => array(
'name' => 'AI Powered Starter Templates by Kadence WP',
'description' => 'Premium AI-powered starter templates for WordPress with advanced customization options.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://www.kadencewp.com/',
'primary' => true
)
),
'free_slug' => 'kadence-starter-templates'
),
'bit-social' => array(
'name' => 'Bit Social Pro',
'description' => 'Premium social networking features for WordPress with advanced community building tools.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://bit-social.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://bit-social.com/#pricing'
)
),
'free_slug' => 'bit-social'
),
'easy-video-reviews' => array(
'name' => 'Easy Video Reviews Pro',
'description' => 'Premium video review collection and display features for WordPress.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://wppool.dev/easy-video-reviews/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://wppool.dev/easy-video-reviews-pricing/'
)
),
'free_slug' => 'easy-video-reviews'
),
'flying-press' => array(
'name' => 'Flying Press',
'description' => 'Advanced WordPress performance optimization and speed enhancement suite.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://flyingpress.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://flyingpress.com/pricing/'
)
),
'free_slug' => ['flying-analytics', 'flying-pages', 'flying-scripts']
),
'translatepress' => array(
'name' => 'TranslatePress Pro',
'description' => 'Advanced WordPress translation plugin with premium features for multilingual websites.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://translatepress.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://translatepress.com/pricing/'
)
),
'free_slug' => 'translatepress-multilingual'
),
'hreflang-manager' => array(
'name' => 'Hreflang Manager Pro',
'description' => 'Advanced hreflang tag management for multilingual and multi-regional WordPress websites.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://daext.com/hreflang-manager/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://daext.com/hreflang-manager/#pricing'
)
),
'free_slug' => 'hreflang-manager-lite'
),
'automatorwp' => array(
'name' => 'AutomatorWP Pro',
'description' => 'Advanced WordPress automation toolkit with premium integrations and features.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://automatorwp.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://automatorwp.com/'
),
array(
'text' => 'Integrations',
'url' => 'https://automatorwp.com/all-triggers-and-actions/'
)
),
'free_slug' => 'automatorwp'
),
'bit-integrations' => array(
'name' => 'Bit Integrations Pro',
'description' => 'Advanced WordPress integration platform with premium connectors and automation features.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://bit-integrations.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://bit-integrations.com/#pricing'
),
array(
'text' => 'Integrations',
'url' => 'https://bit-integrations.com/all-integrations/'
)
),
'free_slug' => 'bit-integrations'
),
'bit-flows' => array(
'name' => 'Bit Flows Pro',
'description' => 'Advanced workflow automation platform for WordPress with premium features and integrations.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://bit-flows.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://bit-flows.com/pricing/'
),
array(
'text' => 'Integrations',
'url' => 'https://bit-flows.com/integrations-list/'
)
),
'free_slug' => 'bit-pi'
),
'yellow-pencil' => array(
'name' => 'Yellow Pencil Pro',
'description' => 'Advanced visual CSS style editor for WordPress with premium features.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://yellowpencil.waspthemes.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://codecanyon.net/item/yellow-pencil-visual-css-style-editor/11322180'
)
),
'free_slug' => 'yellow-pencil-visual-theme-customizer'
),
'gotmls' => array(
'name' => 'Anti-Malware Pro',
'description' => 'Advanced WordPress malware scanner and security toolkit with premium features.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://gotmls.net/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://gotmls.net/donate/'
)
),
'free_slug' => 'gotmls'
)
);
}

View File

@ -31,6 +31,87 @@ function wp_allstars_update_option() {
}
add_action('wp_ajax_wp_allstars_update_option', 'wp_allstars_update_option');
// Define hosting providers
function wp_allstars_get_hosting_providers() {
return array(
'closte' => array(
'name' => 'Closte',
'description' => 'Managed WordPress hosting with advanced performance optimization and auto-scaling.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://closte.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://closte.com/pricing'
)
)
),
'cloudron' => array(
'name' => 'Cloudron',
'description' => 'Self-hosted platform that makes it easy to run web applications like WordPress on your server.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://www.cloudron.io/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://www.cloudron.io/pricing.html'
)
)
),
'hostinger' => array(
'name' => 'Hostinger',
'description' => 'Affordable WordPress hosting with good performance and user-friendly management tools.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://www.hostinger.com/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://www.hostinger.com/wordpress-hosting'
)
)
),
'hetzner' => array(
'name' => 'Hetzner Cloud',
'description' => 'High-performance cloud servers with excellent price-to-performance ratio for self-managed WordPress hosting.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://www.hetzner.com/cloud/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://www.hetzner.com/cloud#pricing'
)
)
),
'simplehost' => array(
'name' => 'SimpleHost',
'description' => 'Streamlined WordPress hosting with a focus on simplicity and performance.',
'button_group' => array(
array(
'text' => 'Home Page',
'url' => 'https://simplehost.so/',
'primary' => true
),
array(
'text' => 'Pricing',
'url' => 'https://simplehost.so/#pricing'
)
)
)
);
}
// Define recommended plugins
function wp_allstars_get_recommended_plugins() {
return array(
@ -141,6 +222,7 @@ function wp_allstars_get_recommended_plugins() {
'bit-social',
'easy-video-reviews',
'social-engine',
'wp-social-ninja',
'wp-social-reviews'
),
'speed' => array(
@ -827,6 +909,9 @@ function wp_allstars_settings_page() {
<a href="?page=wp-allstars&tab=theme" class="nav-tab <?php echo $active_tab == 'theme' ? 'nav-tab-active' : ''; ?>">
<?php esc_html_e('Theme', 'wp-allstars'); ?>
</a>
<a href="?page=wp-allstars&tab=hosting" class="nav-tab <?php echo $active_tab == 'hosting' ? 'nav-tab-active' : ''; ?>">
<?php esc_html_e('Hosting', 'wp-allstars'); ?>
</a>
</h2>
</div>
@ -918,6 +1003,31 @@ function wp_allstars_settings_page() {
<div id="wpa-theme-list"></div>
</div>
</div>
<?php elseif ($active_tab == 'hosting'): ?>
<div class="tab-content" id="hosting">
<div class="wpa-pro-plugins">
<?php
$hosting_providers = wp_allstars_get_hosting_providers();
foreach ($hosting_providers as $provider) {
?>
<div class="wpa-pro-plugin">
<h3><?php echo esc_html($provider['name']); ?></h3>
<p><?php echo esc_html($provider['description']); ?></p>
<?php if (isset($provider['button_group'])): ?>
<div class="button-group">
<?php foreach ($provider['button_group'] as $button): ?>
<a href="<?php echo esc_url($button['url']); ?>" target="_blank" class="button <?php echo isset($button['primary']) && $button['primary'] ? 'button-primary' : ''; ?>">
<?php echo esc_html($button['text']); ?>
</a>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>
<?php
}
?>
</div>
</div>
<?php elseif ($active_tab == 'recommended'): ?>
<div class="tab-content" id="recommended">
<div id="wpa-plugin-filters" class="wp-filter">