Multiple UI Improvements: Added Magic Login Pro, fixed sorting, updated version, fixed toggle behavior, improved responsive layout
This commit is contained in:
@ -74,7 +74,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Responsive behavior */
|
/* Responsive behavior */
|
||||||
@media screen and (max-width: 1260px) {
|
@media screen and (max-width: 1200px) {
|
||||||
.plugin-card {
|
.plugin-card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 0 16px 0;
|
margin: 0 0 16px 0;
|
||||||
|
@ -58,6 +58,7 @@ jQuery(document).ready(function($) {
|
|||||||
|
|
||||||
// Prevent label clicks from toggling the checkbox directly
|
// Prevent label clicks from toggling the checkbox directly
|
||||||
$('.wp-setting-label, .wp-allstars-toggle-left label').on('click', function(e) {
|
$('.wp-setting-label, .wp-allstars-toggle-left label').on('click', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -5,6 +5,22 @@
|
|||||||
|
|
||||||
function wp_allstars_get_pro_plugins_config() {
|
function wp_allstars_get_pro_plugins_config() {
|
||||||
return array(
|
return array(
|
||||||
|
'magic-login-pro' => array(
|
||||||
|
'name' => 'Magic Login Pro',
|
||||||
|
'description' => 'Enable passwordless authentication with magic login links and enhance WordPress site security.',
|
||||||
|
'button_group' => array(
|
||||||
|
array(
|
||||||
|
'text' => 'Home Page',
|
||||||
|
'url' => 'https://handyplugins.co/magic-login-pro/',
|
||||||
|
'primary' => true
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'text' => 'Pricing',
|
||||||
|
'url' => 'https://handyplugins.co/magic-login-pro/#pricing'
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'free_slug' => 'magic-login'
|
||||||
|
),
|
||||||
'admin-columns' => array(
|
'admin-columns' => array(
|
||||||
'name' => 'Admin Columns Pro',
|
'name' => 'Admin Columns Pro',
|
||||||
'description' => 'Advanced admin columns management with sorting, filtering, and editing capabilities.',
|
'description' => 'Advanced admin columns management with sorting, filtering, and editing capabilities.',
|
||||||
|
@ -1681,7 +1681,7 @@ function wp_allstars_settings_page() {
|
|||||||
$hosting_providers = wp_allstars_get_hosting_providers();
|
$hosting_providers = wp_allstars_get_hosting_providers();
|
||||||
// Sort providers alphabetically by name
|
// Sort providers alphabetically by name
|
||||||
uasort($hosting_providers, function($a, $b) {
|
uasort($hosting_providers, function($a, $b) {
|
||||||
return strcmp($a['name'], $b['name']);
|
return strcasecmp($a['name'], $b['name']);
|
||||||
});
|
});
|
||||||
foreach ($hosting_providers as $provider) {
|
foreach ($hosting_providers as $provider) {
|
||||||
?>
|
?>
|
||||||
@ -1769,7 +1769,7 @@ function wp_allstars_settings_page() {
|
|||||||
$pro_plugins = wp_allstars_get_pro_plugins_config();
|
$pro_plugins = wp_allstars_get_pro_plugins_config();
|
||||||
// Sort plugins alphabetically by name
|
// Sort plugins alphabetically by name
|
||||||
uasort($pro_plugins, function($a, $b) {
|
uasort($pro_plugins, function($a, $b) {
|
||||||
return strcmp($a['name'], $b['name']);
|
return strcasecmp($a['name'], $b['name']);
|
||||||
});
|
});
|
||||||
foreach ($pro_plugins as $plugin) {
|
foreach ($pro_plugins as $plugin) {
|
||||||
?>
|
?>
|
||||||
@ -2057,7 +2057,7 @@ function wp_allstars_settings_page() {
|
|||||||
$tools = wp_allstars_get_tools();
|
$tools = wp_allstars_get_tools();
|
||||||
// Sort tools alphabetically by name
|
// Sort tools alphabetically by name
|
||||||
uasort($tools, function($a, $b) {
|
uasort($tools, function($a, $b) {
|
||||||
return strcmp($a['name'], $b['name']);
|
return strcasecmp($a['name'], $b['name']);
|
||||||
});
|
});
|
||||||
foreach ($tools as $tool) {
|
foreach ($tools as $tool) {
|
||||||
?>
|
?>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* Plugin Name: WP ALLSTARS Plugin
|
* Plugin Name: WP ALLSTARS Plugin
|
||||||
* Plugin URI: https://www.wpallstars.com
|
* Plugin URI: https://www.wpallstars.com
|
||||||
* Description: WP ALLSTARS Plugin for WordPress. Speed Matters.
|
* Description: WP ALLSTARS Plugin for WordPress. Speed Matters.
|
||||||
* Version: 1.0.0
|
* Version: 0.1 (Beta)
|
||||||
* Author: WP ALLSTARS
|
* Author: WP ALLSTARS
|
||||||
* Author URI: https://www.wpallstars.com
|
* Author URI: https://www.wpallstars.com
|
||||||
* License: GPL-2.0+
|
* License: GPL-2.0+
|
||||||
|
Reference in New Issue
Block a user