{"generator":"Code Snippets v2.10.1.1","date_created":"2018-06-13 16:07","snippets":[{"name":"Alternative and Sticky Logo","scope":"front-end","code":"if ( ! function_exists( 'siteorigin_corp_child_alt_sticky_logo' ) ) :\r\nfunction siteorigin_corp_child_alt_sticky_logo( $html ) {\r\n\tif ( is_front_page() ) {\r\n\t\t$html = preg_replace('\/\/', '', $html );\r\n\t} else {\r\n\t\t$html = preg_replace('\/\/', '', $html );\r\n\t}\r\n \r\n return $html;\r\n}\r\nendif;\r\nadd_filter( 'get_custom_logo', 'siteorigin_corp_child_alt_sticky_logo' );\r\n"}]}