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
function wen_corporate_implement_header_logo(){ | |
$header_layout = wen_corporate_get_option( 'header_layout' ); | |
if ( ! in_array( $header_layout, array('layout-1','layout-2') )) { | |
$header_layout = 'layout-1'; | |
} | |
switch ($header_layout) { | |
case 'layout-1': |
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
<?php | |
// Put this code in your child theme's functions.php file | |
add_filter( 'wen_corporate_filter_apply_banner', 'custom_slider_check', 20 ); | |
function custom_slider_check( $input ){ | |
if ( is_home() ) { | |
$input = false; | |
} | |
return $input; |
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
<?php | |
// Put this code in your child theme's functions.php file | |
add_filter( 'wen_business_filter_copyright_text', 'my_custom_copyright_text' ); | |
function my_custom_copyright_text( $text ){ | |
$text = date('Y') . ' ' . $text; | |
return $text; |