Improve pro plugins grid layout and restore button groups for Tutor LMS, FluentCRM, Fluent Forms, and Kadence Blocks
This commit is contained in:
212
admin/pro-plugins-config.php
Normal file
212
admin/pro-plugins-config.php
Normal file
@ -0,0 +1,212 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Pro Plugins Configuration
|
||||||
|
*/
|
||||||
|
|
||||||
|
function wp_allstars_get_pro_plugins_config() {
|
||||||
|
return array(
|
||||||
|
'admin-columns' => array(
|
||||||
|
'name' => 'Admin Columns Pro',
|
||||||
|
'description' => 'Advanced admin columns management with sorting, filtering, and editing capabilities.',
|
||||||
|
'url' => 'https://www.admincolumns.com',
|
||||||
|
'free_slug' => 'codepress-admin-columns'
|
||||||
|
),
|
||||||
|
'admin-menu-editor' => array(
|
||||||
|
'name' => 'Admin Menu Editor Pro',
|
||||||
|
'description' => 'Customize the WordPress admin menu with advanced features and role management.',
|
||||||
|
'url' => 'https://adminmenueditor.com/upgrade-to-pro/',
|
||||||
|
'free_slug' => 'admin-menu-editor'
|
||||||
|
),
|
||||||
|
'advanced-custom-fields' => array(
|
||||||
|
'name' => 'Advanced Custom Fields PRO',
|
||||||
|
'description' => 'Create custom fields and content types with advanced features and options.',
|
||||||
|
'url' => 'https://www.advancedcustomfields.com/pro/',
|
||||||
|
'free_slug' => 'advanced-custom-fields'
|
||||||
|
),
|
||||||
|
'advanced-database-cleaner' => array(
|
||||||
|
'name' => 'Advanced Database Cleaner PRO',
|
||||||
|
'description' => 'Clean and optimize your WordPress database with advanced tools and automation.',
|
||||||
|
'url' => 'https://sigmaplugin.com/downloads/wordpress-advanced-database-cleaner'
|
||||||
|
),
|
||||||
|
'ai-engine' => array(
|
||||||
|
'name' => 'AI Engine (Pro)',
|
||||||
|
'description' => 'Enhanced AI capabilities for content generation, analysis, and automation.',
|
||||||
|
'url' => 'https://meowapps.com/plugin/ai-engine/',
|
||||||
|
'free_slug' => 'ai-engine'
|
||||||
|
),
|
||||||
|
'code-profiler' => array(
|
||||||
|
'name' => 'Code Profiler Pro',
|
||||||
|
'description' => 'Advanced performance monitoring and debugging tools for WordPress.',
|
||||||
|
'url' => 'https://codeprofiler.io/'
|
||||||
|
),
|
||||||
|
'code-snippets' => array(
|
||||||
|
'name' => 'Code Snippets Pro',
|
||||||
|
'description' => 'Add and manage custom code snippets with advanced features and management tools.',
|
||||||
|
'url' => 'https://codesnippets.pro/',
|
||||||
|
'free_slug' => 'code-snippets'
|
||||||
|
),
|
||||||
|
'comment-goblin' => array(
|
||||||
|
'name' => 'Comment Goblin',
|
||||||
|
'description' => 'Advanced comment management and spam protection system.',
|
||||||
|
'url' => 'https://commentgoblin.com/'
|
||||||
|
),
|
||||||
|
'complianz-gdpr' => array(
|
||||||
|
'name' => 'Complianz Privacy Suite',
|
||||||
|
'description' => 'Complete GDPR/CCPA compliance solution with advanced features.',
|
||||||
|
'url' => 'https://complianz.io/pricing/',
|
||||||
|
'free_slug' => 'complianz-gdpr'
|
||||||
|
),
|
||||||
|
'disable-bloat' => array(
|
||||||
|
'name' => 'Disable Bloat PRO',
|
||||||
|
'description' => 'Advanced optimization for WordPress & WooCommerce with premium features.',
|
||||||
|
'url' => 'https://disablebloat.com/'
|
||||||
|
),
|
||||||
|
'fluent-crm' => array(
|
||||||
|
'name' => 'FluentCRM Pro',
|
||||||
|
'description' => 'Advanced CRM and email marketing automation.',
|
||||||
|
'button_group' => array(
|
||||||
|
array(
|
||||||
|
'text' => 'Learn More',
|
||||||
|
'url' => 'https://fluentcrm.com/pricing/',
|
||||||
|
'primary' => true
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'text' => 'Automation Pack',
|
||||||
|
'url' => 'https://fluentcrm.com/modules/automation-pack/'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'free_slug' => 'fluent-crm'
|
||||||
|
),
|
||||||
|
'fluent-forms' => array(
|
||||||
|
'name' => 'Fluent Forms Pro',
|
||||||
|
'description' => 'Advanced form builder with premium features.',
|
||||||
|
'button_group' => array(
|
||||||
|
array(
|
||||||
|
'text' => 'Learn More',
|
||||||
|
'url' => 'https://fluentforms.com/pricing/',
|
||||||
|
'primary' => true
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'text' => 'PDF Add-on',
|
||||||
|
'url' => 'https://fluentforms.com/modules/pdf-add-on/'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'free_slug' => 'fluentform'
|
||||||
|
),
|
||||||
|
'fluent-support' => array(
|
||||||
|
'name' => 'Fluent Support Pro',
|
||||||
|
'description' => 'Premium help desk and support ticket system.',
|
||||||
|
'url' => 'https://fluentsupport.com/pricing/',
|
||||||
|
'free_slug' => 'fluent-support'
|
||||||
|
),
|
||||||
|
'fluentbooking' => array(
|
||||||
|
'name' => 'FluentBooking Pro',
|
||||||
|
'description' => 'Advanced booking and scheduling system.',
|
||||||
|
'url' => 'https://fluentbooking.com/',
|
||||||
|
'free_slug' => 'fluent-booking'
|
||||||
|
),
|
||||||
|
'freesoul-deactivate-plugins' => array(
|
||||||
|
'name' => 'Freesoul Deactivate Plugins PRO',
|
||||||
|
'description' => 'Advanced plugin management with conditional loading and optimization.',
|
||||||
|
'url' => 'https://freesoul-deactivate-plugins.com/pro/',
|
||||||
|
'free_slug' => 'freesoul-deactivate-plugins'
|
||||||
|
),
|
||||||
|
'kadence-blocks' => array(
|
||||||
|
'name' => 'Kadence Blocks Pro',
|
||||||
|
'description' => 'Premium blocks and templates for the WordPress editor.',
|
||||||
|
'button_group' => array(
|
||||||
|
array(
|
||||||
|
'text' => 'Learn More',
|
||||||
|
'url' => 'https://www.kadencewp.com/kadence-blocks/pro/',
|
||||||
|
'primary' => true
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'text' => 'Theme Pro',
|
||||||
|
'url' => 'https://www.kadencewp.com/kadence-theme/pro/'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'free_slug' => 'kadence-blocks'
|
||||||
|
),
|
||||||
|
'link-whisper' => array(
|
||||||
|
'name' => 'Link Whisper',
|
||||||
|
'description' => 'AI-powered internal linking suggestions and management.',
|
||||||
|
'url' => 'https://linkwhisper.com/'
|
||||||
|
),
|
||||||
|
'media-file-renamer' => array(
|
||||||
|
'name' => 'Media File Renamer Pro',
|
||||||
|
'description' => 'AI-Powered media file renaming for better SEO.',
|
||||||
|
'url' => 'https://meowapps.com/plugin/media-file-renamer/',
|
||||||
|
'free_slug' => 'media-file-renamer'
|
||||||
|
),
|
||||||
|
'ninja-tables' => array(
|
||||||
|
'name' => 'Ninja Tables Pro',
|
||||||
|
'description' => 'Advanced table creation and management with premium features.',
|
||||||
|
'url' => 'https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/',
|
||||||
|
'free_slug' => 'ninja-tables'
|
||||||
|
),
|
||||||
|
'seo-by-rank-math' => array(
|
||||||
|
'name' => 'Rank Math SEO PRO',
|
||||||
|
'description' => 'Advanced SEO tools and features for better search engine optimization.',
|
||||||
|
'url' => 'https://rankmath.com/pricing/',
|
||||||
|
'free_slug' => 'seo-by-rank-math'
|
||||||
|
),
|
||||||
|
'really-simple-ssl' => array(
|
||||||
|
'name' => 'Really Simple SSL Pro',
|
||||||
|
'description' => 'Advanced SSL management and security features.',
|
||||||
|
'url' => 'https://really-simple-ssl.com/pro/',
|
||||||
|
'free_slug' => 'really-simple-ssl'
|
||||||
|
),
|
||||||
|
'scalability-pro' => array(
|
||||||
|
'name' => 'Scalability Pro',
|
||||||
|
'description' => 'Advanced performance optimization and scaling tools.',
|
||||||
|
'url' => 'https://scalability.pro/'
|
||||||
|
),
|
||||||
|
'social-engine' => array(
|
||||||
|
'name' => 'Social Engine Pro',
|
||||||
|
'description' => 'Advanced social media scheduling and management.',
|
||||||
|
'url' => 'https://meowapps.com/plugin/social-engine/',
|
||||||
|
'free_slug' => 'social-engine'
|
||||||
|
),
|
||||||
|
'taxopress' => array(
|
||||||
|
'name' => 'TaxoPress Pro',
|
||||||
|
'description' => 'Advanced taxonomy and tag management tools.',
|
||||||
|
'url' => 'https://taxopress.com/pro/'
|
||||||
|
),
|
||||||
|
'tutor' => array(
|
||||||
|
'name' => 'Tutor LMS Pro',
|
||||||
|
'description' => 'Premium LMS features including certificate builder.',
|
||||||
|
'button_group' => array(
|
||||||
|
array(
|
||||||
|
'text' => 'Learn More',
|
||||||
|
'url' => 'https://www.themeum.com/product/tutor-lms/',
|
||||||
|
'primary' => true
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'text' => 'Certificate Builder',
|
||||||
|
'url' => 'https://www.themeum.com/product/tutor-lms-certificate-builder/'
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'text' => 'Course Preview',
|
||||||
|
'url' => 'https://www.themeum.com/product/tutor-lms-course-preview/'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'free_slug' => 'tutor'
|
||||||
|
),
|
||||||
|
'wp-migrate' => array(
|
||||||
|
'name' => 'WP Migrate',
|
||||||
|
'description' => 'Professional WordPress migration and backup solution.',
|
||||||
|
'url' => 'https://deliciousbrains.com/wp-migrate-db-pro/'
|
||||||
|
),
|
||||||
|
'wp-social-ninja' => array(
|
||||||
|
'name' => 'WP Social Ninja Pro',
|
||||||
|
'description' => 'Advanced social media integration and management tools.',
|
||||||
|
'url' => 'https://wpsocialninja.com/pricing/'
|
||||||
|
),
|
||||||
|
'yellow-pencil' => array(
|
||||||
|
'name' => 'YellowPencil Pro',
|
||||||
|
'description' => 'Advanced visual CSS style editor and customization tool.',
|
||||||
|
'url' => 'https://yellowpencil.waspthemes.com/',
|
||||||
|
'free_slug' => 'yellow-pencil-visual-theme-customizer'
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
@ -1075,7 +1075,6 @@ function wp_allstars_settings_page() {
|
|||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
@ -1093,11 +1092,10 @@ function wp_allstars_settings_page() {
|
|||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
.wpa-pro-plugin p {
|
.wpa-pro-plugin p {
|
||||||
margin: 0 0 20px;
|
margin: 0 0 16px;
|
||||||
color: #50575e;
|
color: #50575e;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
flex-grow: 1;
|
|
||||||
}
|
}
|
||||||
.wpa-pro-plugin .button {
|
.wpa-pro-plugin .button {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -1122,6 +1120,7 @@ function wp_allstars_settings_page() {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
margin-top: auto;
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 960px) {
|
@media screen and (max-width: 960px) {
|
||||||
.wpa-pro-plugins {
|
.wpa-pro-plugins {
|
||||||
@ -1160,13 +1159,15 @@ function wp_allstars_settings_page() {
|
|||||||
<?php if (isset($plugin['button_group'])): ?>
|
<?php if (isset($plugin['button_group'])): ?>
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
<?php foreach ($plugin['button_group'] as $button): ?>
|
<?php foreach ($plugin['button_group'] as $button): ?>
|
||||||
<a href="<?php echo esc_url($button['url']); ?>" target="_blank" class="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']); ?>
|
<?php echo esc_html($button['text']); ?>
|
||||||
</a>
|
</a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<a href="<?php echo esc_url($plugin['url']); ?>" target="_blank" class="button button-primary">Learn More</a>
|
<div class="button-group">
|
||||||
|
<a href="<?php echo esc_url($plugin['url']); ?>" target="_blank" class="button button-primary">Learn More</a>
|
||||||
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
Reference in New Issue
Block a user