Display Site Tile Instead of Logo

Discussion in 'Andrina WordPress Theme' started by cmloke, Aug 15, 2014.

Thread Status:
Not open for further replies.
  1. cmloke

    cmloke New Member

    Joined:
    Aug 13, 2014
    Messages:
    3
    Likes Received:
    0
    Hi,

    I would like the option to display site title and tagline instead of logo like in andrina lite. How do I go about doing it?

    Thanks!
     
  2. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    For this you need to edit header.php file.
    Go to --> themes\andrinatheme\header.php
    and replace following code on line no. 118 as show below in screenshot.
    Code:
     <div class="logo"> 
         <?php if (inkthemes_get_option('inkthemes_logo') != '') { ?>
              <a href="<?php echo esc_url(home_url()); ?>"><img src="<?php echo inkthemes_get_option('inkthemes_logo'); ?>" alt="<?php bloginfo('name'); ?>" /></a>
                  <?php } else { ?>
                    <h1 class="site-title"><a href="<?php echo esc_url(home_url('/')); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a></h1>
                    <h2 class="site-description"><?php bloginfo('description'); ?></h2>
                  <?php } ?>
           </div>
    This will solve your issue.

    Thanks & Regards
    Yogesh Bhade
     
  3. cmloke

    cmloke New Member

    Joined:
    Aug 13, 2014
    Messages:
    3
    Likes Received:
    0
    Works like a charm! Thank you!
     
Thread Status:
Not open for further replies.

Share This Page