WordPress.org

Forums

Shortcodes Ultimate
Load stylesheet in header? (1 post)

  1. Ansif
    Member
    Posted 10 months ago #

    Hi,

    The plugin is awesome!

    All style sheets are in footer, so when page loads first time content loads ugly without load stylesheet! My client want to load styles first then content! So, how to put all styles in header instead of footer?

    So, please advice! It's URGENT! I have tried lot more ways to do this thing, but no luck :(

    I have try to change the core file of assets.php in core folder!

    // Enqueue
    add_action( 'wp_footer', array( __CLASS__, 'enqueue' ) );
    add_action( 'admin_footer', array( __CLASS__, 'enqueue' ) );
    

    Changed to wp_head instead of wp_footer but no luck! :(

    Advance Thanks!

    https://wordpress.org/plugins/shortcodes-ultimate/

Reply

You must log in to post.

About this Plugin

About this Topic