• Resolved Mimmie flower

    (@mimmie-flower)


    Hi everyone,
    Help needed πŸ˜€ I am trying to link my style.css through the function.php but that is not working,
    My code is:

    <?php
    /**
    * Enqueue scripts and styles. */
    function csslinktheme() {

    // Enqueue default style
    wp_enqueue_style(‘style_css’, get_stylesheet_uri());
    }

    add_action( ‘wp_enqueue_scripts’, ‘csslinktheme’ );

    get_stylesheet_uri();

    Without the last line it does not work either

    Any ideas? Thanks a lot

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

The topic ‘Link css through a function’ is closed to new replies.