Home>Support>North child theme

North child theme

By Nik, 7 years ago. Last reply by Alex S, 7 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hello. Can you tell me what to put to functions.php for the north theme?
I have found for vantage but not for the north.
Thank you!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 11 months ago Alex S
    Hi, I Work Here

    Hi Nik,

    Please use following PHP for your functions.php:

    <?php
    /**
     * Enqueue the parent theme stylesheet.
     */
    function north_child_enqueue_parent_style() {
    	wp_enqueue_style( 'north-parent-style', get_template_directory_uri() . '/style.css' );
    	wp_enqueue_style( 'north-child-style', get_stylesheet_uri(), array( 'north-parent-style' ) );
    }
    add_action( 'wp_enqueue_scripts', 'north_child_enqueue_parent_style', 8 );
    
Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More