Forum Replies Created
Viewing 1 post (of 1 total)
-
AuthorPosts
-
April 20, 2015 at 9:03 am in reply to: Changing seach behaviour in \inc\structure\searchform-extension.php #24178pavlo.golubParticipant
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' ); }
-
AuthorPosts
Viewing 1 post (of 1 total)