Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function my_theme_enqueue_styles() {
- $parent_style = 'parent-style';
- wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
- wp_enqueue_style( 'child-style',
- get_stylesheet_directory_uri() . '/style.css',
- array( $parent_style ),
- wp_get_theme()->get('Version')
- );
- }
- add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
- ?>
- <?php if( function_exists( 'the_custom_logo' ) && has_custom_logo() ) : ?>
- <figure class="logo-image">
- <?php flash_the_custom_logo(); ?>
- <?php if( get_theme_mod( 'flash_transparent_logo', '') != '') : ?>
- <a href="https://www.google.com/">
- <img class="transparent-logo" src="<?php echo esc_url( get_theme_mod( 'flash_transparent_logo', '' ) ); ?>" />
- </a>
- <?php endif; ?>
- </figure>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement