Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jealous

    (@jealous)

    i have also tried this

    add_action( 'admin_init', 'my_plugin_admin_init' );
    add_action('admin_print_styles-' . $page, 'my_plugin_admin_styles');

    with…

    public function my_plugin_admin_init() {
    /* Register our script. */
    admin_register_script( 'my_plugin_script', plugins_url('/js/SpryTabbedPanels.js', __FILE__) );
    
    admin_register_script( 'my_plugin_css', plugins_url('/js/SpryTabbedPanels.css', __FILE__) );
    }

    and then to try and call the fuction this….

    admin_enqueue_script( 'my_plugin_script' );
    	admin_enqueue_script( 'my_plugin_css' );

    any help would be great thanks

    [Stop bumping your topic by posting new topics referencing this one.]

    Thread Starter jealous

    (@jealous)

    hello here is my code 🙂

Viewing 2 replies - 1 through 2 (of 2 total)