Not load cdn url for LOGO image
-
<a href=”<?php bloginfo(‘url’);?>” title=”<?php bloginfo(‘name’);?>”> <?php $custom_logo = get_option(‘mytheme_custom_logo’); if ( !empty($custom_logo) ) { ?><img src=”<?php echo $custom_logo; ?>” alt=”<?php bloginfo(‘name’);?>”><?php } else { ?><img src=”<?php bloginfo(‘template_directory’); ?>/images/<?php echo $color_scheme ?>/logo.png” alt=”<?php bloginfo(‘name’);?>” /><?php } ?> </a>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Not load cdn url for LOGO image’ is closed to new replies.