Skip to content

Instantly share code, notes, and snippets.

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>',
) );
do_action('cherry_breadcrumbs_render');
<div class="site-content-contain">
<div id="content" class="site-content">
<?php
twentyseventeen_core()->init_module( 'cherry-breadcrumbs' );
'cherry-breadcrumbs' => array(
'autoload' => false,
),
twentyseventeen_core()->init_module( 'module-name', $args );
'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.
)
/**
* 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;
}
/**
* Load setup file for Cherry V
*/
add_action( 'after_setup_theme', require( get_template_directory() . '/cherry-framework/setup.php' ), 0 );
[mergetool]
prompt = false
keepBackup = false
keepTemporaries = false
[merge]
tool = winmerge
[mergetool "winmerge"]
name = WinMerge