WordPress.org

Support

Support » Plugins and Hacks » Error in script

Error in script

  • Hi,

    you have an error on

    wp_register_style( ‘style’, plugins_url(‘style.css’, __FILE__) );
    wp_enqueue_style( ‘style’ );

    a must rewrite to this

    wp_register_style( ‘styledisplet’, plugins_url(‘style.css’, __FILE__) );
    wp_enqueue_style( ‘styledisplet’ );

    because style is not unique name – you rewrite all styles on wordpress

    Karel Funda

    http://wordpress.org/plugins/displet-pop/

  • The topic ‘Error in script’ is closed to new replies.