/**
 * Plugin Name: GlowStyler for Elementor
 * Description: Add glowing borders, animated strokes, and Canva-style text effects to any text or image inside Elementor.
 * Version: 1.0
 * Author: Custom Media
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// Enqueue styles and scripts
function glowstyler_enqueue_assets() {
    wp_enqueue_style('glowstyler-style', plugin_dir_url(__FILE__) . 'style.css');
    wp_enqueue_script('glowstyler-script', plugin_dir_url(__FILE__) . 'glowstyler.js', array('jquery'), null, true);
}
add_action('wp_enqueue_scripts', 'glowstyler_enqueue_assets');

// Register Elementor Widget
function glowstyler_register_widget( $widgets_manager ) {
    require_once(__DIR__ . '/widgets/class-glowstyler-widget.php');
    $widgets_manager->register( new \GlowStyler_Widget() );
}
add_action('elementor/widgets/register', 'glowstyler_register_widget');

// Add custom category in Elementor
function glowstyler_add_category( $elements_manager ) {
    $elements_manager->add_category(
        'glowstyler-category',
        [
            'title' => __( 'GlowStyler Addons', 'glowstyler' ),
            'icon' => 'eicon-star',
        ]
    );
}
add_action('elementor/elements/categories_registered', 'glowstyler_add_category');
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://sjssurgical.in/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://sjssurgical.in/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://sjssurgical.in/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
