Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function prefix_header_responsive_logo( $html ) {
- if ( is_front_page() ) {
- // Output image
- $html = sprintf( '<a href="%1$s" class="responsive-logo-link" rel="home"'. oceanwp_get_schema_markup( 'url' ) .'><img src="%2$s" class="responsive-logo" width="%3$s" height="%4$s" alt="%5$s" /></a>',
- esc_url( home_url( '/' ) ),
- 'https://www.onestopemail.com/wp-content/uploads/2018/02/ose-email-logo.jpg',
- '150',
- '50',
- 'Logo'
- );
- }
- // Return logo
- return $html;
- }
- add_filter( 'ocean_responsive_logo', 'prefix_header_responsive_logo' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement