Support » Theme: Asteria Lite » YouTube social icon glitch

  • Resolved lisaocchino

    (@lisaocchino)


    The YouTube social icon always links to whichever page of my website I’m on rather than linking to the URL I specified in Asteria Options –> Social. Is there a fix for this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Towfiq I.

    (@tislam100)

    yes. and will be fixed in the next version. This is how you can fix this:

    Go to Appearance> Editor and select footer.php and replace this:

    <?php if(!empty($asteria['gplus_field_id'])){ ?><a target="_blank" class="ast_ytb" href="<?php echo $asteria['youtube_field_id']; ?>"><i class="fa-youtube-play"></i></a><?php } ?>

    with:

    <?php if(!empty($asteria['youtube_field_id'])){ ?><a target="_blank" class="ast_ytb" href="<?php echo $asteria['youtube_field_id']; ?>"><i class="fa-youtube-play"></i></a><?php } ?>
    Thread Starter lisaocchino

    (@lisaocchino)

    Thanks so much!

    I have tried every suggestion I can find about blocks to try and link my Blocks.
    I have 4 & would like to link each one of them to my social networking sites. The coding above is correct & I have placed the link into the Block Links. However when I go & try it out. The blocks lead to nowhere when I click them.

    Theme Author Towfiq I.

    (@tislam100)

    whats your site address Karen?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘YouTube social icon glitch’ is closed to new replies.