"); // Show loading overlay $container.css("position", "relative").append($loadingOverlay); // AJAX request to get plugins $.ajax({ url: ajaxurl, type: "POST", data: { action: "wp_allstars_get_plugins", category: category, _wpnonce: wpAllstars.nonce }, success: function(response) { $loadingOverlay.remove(); if (response.success) { $container.html(response.data); // Initialize plugin action buttons if (typeof initPluginActions === "function") { initPluginActions(); } // Spinners have been removed from individual cards } else { $container.html("

" + response.data + "

"); } }, error: function(xhr, status, error) { $loadingOverlay.remove(); $container.html("

Failed to load plugins. Please try again. Error: " + error + "

"); console.error("AJAX Error:", xhr.responseText); } }); } }); '); // Theme-specific scripts and styles are now handled in WP_Allstars_Theme_Manager::enqueue_scripts } ?>

%filename%, %post_id%, %postname%, %timestamp%, %date%, %year%, %month%, %day%

%filename%, %post_title%, %post_id%, %postname%, %timestamp%

wp_create_nonce('wp-allstars-nonce'), 'ajaxurl' => admin_url('admin-ajax.php') )); } add_action('admin_enqueue_scripts', 'wp_allstars_admin_enqueue_scripts');