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
#fixed-chat { | |
position: fixed; | |
right: 0; | |
bottom: 45%; | |
display: block; | |
width: 70px; | |
height: 50px; | |
overflow: hidden; | |
z-index: 999; | |
} |
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
// Custom Styles | |
add_filter( 'tiny_mce_before_init', 'my_custom_tinymce' ); | |
function my_custom_tinymce( $init ) { | |
$init['theme_advanced_buttons2_add_before'] = 'styleselect'; | |
$init['theme_advanced_styles'] = 'Red=red,Content Light CTA =lightCTA,Content Dark CTA=darkCTA'; | |
return $init; | |
} |
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
//add php functionality in text widget | |
add_filter('widget_text', 'php_text', 99); | |
function php_text($text) { | |
if (strpos($text, '<' . '?') !== false) { | |
ob_start(); | |
eval('?' . '>' . $text); | |
$text = ob_get_contents(); | |
ob_end_clean(); | |
} |
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
/** Add Structural wraps for full width */ | |
add_theme_support( 'genesis-structural-wraps', array( 'header', 'nav', 'subnav', 'inner', 'footer-widgets', 'footer' ) ); |
NewerOlder