Order of Social Icons in Header

Home Forums Revelance WordPress Theme Order of Social Icons in Header

This topic contains 9 replies, has 2 voices, and was last updated by  ab-themes 8 years, 4 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #13050

    tarasilver
    Participant

    Hey! Is there a way to reorder the social media icons in the header? The client wants it to be twitter, fb, instagram, then linkedin http://starburstdesigns.com/silverstrategy.com/

    Thanks!

    #13061

    ab-themes
    Keymaster

    Hi!

    Please open your header php(in this case it should be header_layout_default.php and you can find him here wp-content\themes\revelance\partials ).

    Search in code this

    < ?php $target = get_theme_mod( 'header_social_target', '_blank' ); ?>

    and when you look at code below you will see something like this:

    <?php $header_googleplus_url = get_theme_mod('header_googleplus_url','');
    if($header_googleplus_url!= ''):?>
      <a href="<?php echo $header_googleplus_url;?>" class="menu_social menu_social_googleplus" target="<?php echo $target; ?>"><i class="ci_icon-googleplus"></i></a>
    <?php endif;?>
    <?php $header_youtube_url = get_theme_mod('header_youtube_url','');
    if($header_youtube_url!= ''):?>
      <a href="<?php echo $header_youtube_url;?>" class="menu_social menu_social_youtube" target="<?php echo $target; ?>"><i class="ci_icon-video"></i></a>
    <?php endif;?>
    <?php $header_pinterest_url = get_theme_mod('header_pinterest_url','');
    if($header_pinterest_url!= ''):?>
      <a href="<?php echo $header_pinterest_url;?>" class="menu_social menu_social_pinterest" target="<?php echo $target; ?>"><i class="ci_icon-pinterest"></i></a>
    <?php endif;?>

    What you need is that first four is:

    
    <?php $header_linkedin_url = get_theme_mod('header_linkedin_url','');
    if($header_linkedin_url!= ''):?>
      <a href="<?php echo $header_linkedin_url;?>" class="menu_social menu_social_linkedin" target="<?php echo $target; ?>"><i class="ci_icon-linkedin"></i></a>
    <?php endif;?>
    <?php $header_instagram_url = get_theme_mod('header_instagram_url','');
    if($header_instagram_url!= ''):?>
      <a href="<?php echo $header_instagram_url;?>" class="menu_social menu_social_instagram" target="<?php echo $target; ?>"><i class="ci_icon-instagram"></i></a>
    <?php endif;?>
    <?php $header_facebook_url=get_theme_mod('header_facebook_url','');
    if($header_facebook_url!=''): ?>
      <a href="<?php echo $header_facebook_url;?>" class="menu_social menu_social_facebook" target="<?php echo $target; ?>"><i class="ci_icon-facebook"></i></a>
    <?php endif; ?>
    <?php $header_twitter_url = get_theme_mod('header_twitter_url','');
    if($header_twitter_url!= ''):?>
      <a href="<?php echo $header_twitter_url;?>" class="menu_social menu_social_twitter" target="<?php echo $target; ?>"><i class="ci_icon-twitter"></i></a>
    <?php endif;?>

    Kind regards

    #13073

    tarasilver
    Participant

    Sorry, I searched the code but couldn’t find it? < ?php $target = get_theme_mod( ‘header_social_target’, ‘_blank’ ); ?>

    #13086

    ab-themes
    Keymaster

    Hi!

    Ok, then please send me your wordpress account and ftp credentials and I will do it for you.

    #13106

    tarasilver
    Participant

    Here you go

    #13112

    ab-themes
    Keymaster

    Hey,

    you send me wrong credentials, it’s a Gaea theme. Our theme is Revelance. Please send us your Revelance ftp credentials.

    Kind regards

    #13220

    tarasilver
    Participant

    Sorry about that! This work?

    #13232

    ab-themes
    Keymaster

    Hi,

    now it works.

    Cheers

    #13309

    tarasilver
    Participant

    Awesome, thanks so much!!

    #13314

    ab-themes
    Keymaster

    No problem, glad that we could help :)

    Let us know if you’ll need anything else.

    Kind Regards

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Order of Social Icons in Header’ is closed to new replies.