This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
twentyseventeen_core()->init_module( 'cherry-breadcrumbs', array( | |
'wrapper_format' => '<div class="wrap"><div class="title-row">%1$s</div><div class="items-row">%2$s</div></div>', | |
) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do_action('cherry_breadcrumbs_render'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="site-content-contain"> | |
<div id="content" class="site-content"> | |
<?php | |
twentyseventeen_core()->init_module( 'cherry-breadcrumbs' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'cherry-breadcrumbs' => array( | |
'autoload' => false, | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
twentyseventeen_core()->init_module( 'module-name', $args ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'module-name' => array( | |
'autoload' => true // false if necessary to add a module. true if you need to add and initialize the module | |
'args' => array() // arguments array which are necessary for module initialization. This array is unique for each module. You can find its structure inside the documentation. | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Load Cherry V core | |
*/ | |
add_action( 'after_setup_theme', 'twentyseventeen_core', 1 ); | |
function twentyseventeen_core() { | |
global $chery_core_version; | |
static $core = null; | |
if ( null !== $core ) { | |
return $core; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Load setup file for Cherry V | |
*/ | |
add_action( 'after_setup_theme', require( get_template_directory() . '/cherry-framework/setup.php' ), 0 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mergetool] | |
prompt = false | |
keepBackup = false | |
keepTemporaries = false | |
[merge] | |
tool = winmerge | |
[mergetool "winmerge"] | |
name = WinMerge |
NewerOlder