badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

pavlo.golub

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • pavlo.golub
    Participant

    Hello, I don’t what guarantees for 3rd party plugins, I was just curious how to achieve additional functionality.

    Thanks it was clear enough, I managed thid way:

    
    <?php 
    //child theme functions.php 
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style') );
    }
    
    add_action( 'interface_init', 'pg_interface_load_files', 20 );
    function pg_interface_load_files() {
        require_once( get_stylesheet_directory() . '/inc/structure/searchform-extensions.php' );
        require_once( get_stylesheet_directory() . '/inc/widgets/interface_widgets.php' );
    }
Viewing 1 post (of 1 total)