Support » Plugin: Twiget Twitter Widget » CSS should be enqueued with media=all

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Prasanna SP


    Thanks for reporting this issue. It’ll be fixed in the next update.

    wp_enqueue_style( 'twiget-widget-css', TWIGET_PLUGIN_URL . '/css/twiget.css', array(), '', false );


    wp_enqueue_style( 'twiget-widget-css', TWIGET_PLUGIN_URL . '/css/twiget.css');

    The rest doesn’t need to be there unless you are going to specify something different than default.

    also on a side note same goes for the line above it.

    wp_enqueue_script( 'twiget-widget-js', TWIGET_PLUGIN_URL . '/js/twiget.js', array(), '', false );


    wp_enqueue_script( 'twiget-widget-js', TWIGET_PLUGIN_URL . '/js/twiget.js');

    Unless you need to add a dependancy, version or make it load in footer then leave those parameters off.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS should be enqueued with media=all’ is closed to new replies.