This commit is contained in:
Thuan Bui
2018-06-26 11:09:22 +07:00
commit fd25f13a4f
154 changed files with 28820 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
<?php
/**
* Child Theme Library
*
* WARNING: This file is a part of the core Child Theme Library.
* DO NOT edit this file under any circumstances. Please use
* the functions.php file to make any theme modifications.
*
* @package SEOThemes\ChildThemeLibrary\Structure
* @link https://github.com/seothemes/child-theme-library
* @author Thuan Bui
* @copyright Copyright © 2018 Thuan Bui
* @license GPL-2.0+
*/
// If this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) {
die;
}
add_action( 'genesis_setup', 'child_theme_reposition_footer_widgets' );
/**
* Reposition footer widgets inside site footer.
*
* @since 1.0.0
*
* @return void
*/
function child_theme_reposition_footer_widgets() {
remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
add_action( 'genesis_before_footer_wrap', 'genesis_footer_widget_areas', 5 );
}
+36
View File
@@ -0,0 +1,36 @@
<?php
/**
* Child Theme Library
*
* WARNING: This file is a part of the core Child Theme Library.
* DO NOT edit this file under any circumstances. Please use
* the functions.php file to make any theme modifications.
*
* @package SEOThemes\ChildThemeLibrary\Structure
* @link https://github.com/seothemes/child-theme-library
* @author Thuan Bui
* @copyright Copyright © 2018 Thuan Bui
* @license GPL-2.0+
*/
// If this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) {
die;
}
add_action( 'genesis_setup', 'child_theme_display_custom_logo' );
/**
* Display custom logo in site title area.
*
* @since 1.0.0
*
* @return void
*/
function child_theme_display_custom_logo() {
add_action( 'genesis_site_title', 'the_custom_logo', 0 );
}
+39
View File
@@ -0,0 +1,39 @@
<?php
/**
* Child Theme Library
*
* WARNING: This file is a part of the core Child Theme Library.
* DO NOT edit this file under any circumstances. Please use
* the functions.php file to make any theme modifications.
*
* @package SEOThemes\ChildThemeLibrary\Functions
* @link https://github.com/seothemes/child-theme-library
* @author Thuan Bui
* @copyright Copyright © 2018 Thuan Bui
* @license GPL-2.0+
*/
// If this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) {
die;
}
add_action( 'genesis_setup', 'child_theme_reposition_nav_menus' );
/**
* Reposition navigation menus.
*
* @since 1.0.0
*
* @return void
*/
function child_theme_reposition_nav_menus() {
remove_action( 'genesis_after_header', 'genesis_do_nav' );
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'genesis_after_title_area', 'genesis_do_nav' );
add_action( 'genesis_after_header_wrap', 'genesis_do_subnav' );
}