Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( ! function_exists( 'polestar_child_sticky_logo' ) ) :
- function polestar_child_sticky_logo( $html ) {
- $html = preg_replace( '/<img(.*?)\/>/', '<img class="alt-logo" style="max-width: 75px;" src="https://purothemes.com/wp-content/uploads/2016/10/puro-logo-100.png" alt="puro logo" /><img class="alt-logo-scroll" style="max-width: 75px;" src="https://purothemes.com/wp-content/uploads/2016/06/puro-logo-1.png" alt="puro logo" />', $html );
- return $html;
- }
- endif;
- add_filter( 'get_custom_logo', 'polestar_child_sticky_logo' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement