Child Theme

This topic contains 32 replies, has 6 voices, and was last updated by  Victor Cardona 8 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #183828

    nycinsider
    Expired Member
    Post count: 114

    Setting up a child theme for directory-starter. I’ve made a new folder called directory-starter-child and added functions & style.

    Added this to functions:
    <?php
    // * Enqueues child theme stylesheet, loading first the parent theme stylesheet.
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );

    }

    I can see my child theme in WP Admin and can activate it. But it’s not reading my child CSS (not using some of my customized formatting). What am I missing here? I’m used to themes coming with the child directory already set up – never done one from scratch before.

    Thanks.

    #183911

    Kor
    Moderator
    Post count: 16516

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #183947

    nycinsider
    Expired Member
    Post count: 114

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #183951

    nycinsider
    Expired Member
    Post count: 114

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #183953

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #183960

    nycinsider
    Expired Member
    Post count: 114

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #183963

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #183970

    nycinsider
    Expired Member
    Post count: 114

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #183986

    nycinsider
    Expired Member
    Post count: 114

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #184342

    Giri
    Expired Member
    Post count: 3155

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #184435

    nycinsider
    Expired Member
    Post count: 114

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #184650

    Giri
    Expired Member
    Post count: 3155

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #184657

    Giri
    Expired Member
    Post count: 3155

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #184691

    nycinsider
    Expired Member
    Post count: 114

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #184760

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 15 posts - 1 through 15 (of 33 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount