Diacre profile

Home Forums Diacre

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Diacre
    Participant

    Nevermind. It worked!!

    in reply to: Logo link

    Diacre
    Participant

    Here’s what I tried

     

    function gillion_header_logo() {

    $standard_logo = gillion_option_image(‘logo’);

    /* Use Gillion Logo if Logo is not uploaded */
    if( !$standard_logo ) :
    $standard_logo = get_template_directory_uri().’/img/logo.png’;
    endif;

    $sticky_logo = ( gillion_option_image(‘logo_sticky’) ) ? gillion_option_image(‘logo_sticky’) : $standard_logo;
    $light_logo = ( gillion_option_image(‘logo_light’) ) ? gillion_option_image(‘logo_light’) : $standard_logo;

    if( gillion_logo_height() && gillion_logo_height() != ‘auto’ ) :
    $height = ‘ height=”‘.str_replace(“px”, “”, gillion_logo_height() ).'”‘;
    else :
    $height = ”;
    endif;
    ?>
    <div class=”header-logo”>
    ‘ )); ?>” class=”header-logo-container sh-table-small”>
    <div class=”sh-table-cell”>

    ” alt=”<?php echo esc_attr( get_bloginfo( ‘name’ ) ); ?>”<?php echo esc_attr( $height ); ?> />
    ” alt=”<?php echo get_bloginfo( ‘name’ ); ?>”<?php echo esc_attr( $height ); ?> />
    ” alt=”<?php echo get_bloginfo( ‘name’ ); ?>”<?php echo esc_attr( $height ); ?> />

    </div>

    </div>

    <?php }

    in reply to: Logo link

    Diacre
    Participant

    It’s not working. I’m trying to link it to an external link.

    in reply to: Logo link
Viewing 3 posts - 1 through 3 (of 3 total)