New Landing How can we help? Themeforest Theme Support Dante Adding RSS icon to header or menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #87912
    cliffdugan
    Member
    Post count: 8

    Hello,

    I’m a developer and I’m currently using the Dante theme on 2 different sites (separate registrations) – first of all – great job on the theme it has been a pleasure to work with.

    On one of the sites I’m trying to get an RSS icon in the header next to the social icons or second choice in the menu next to the search icon. So far I have avoided modifying the theme itself and I would think what I’m trying to do should be simple.

    I migrated this site from http://newsite.pollycastor.com/ to a temp domain http://hedgehog.arvixe.com/~jaearly/ and convinced my client to purchase the Dante theme and they are dead-set on having that RSS icon.

    Any help would be appreciated – thanks.

    #87952
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit shortcodes.php and insert given below code :
    $social_icons .= '<li class="rss"><a href="YOUR_SITE_FEED_URL" target="_blank"><i class="fa-rss"></i><i class="fa-rss"></i></a></li>'."\n";

    just before this line of code
    $output = '<ul class="social-icons '.$size.' '.$style.'">'."\n";

    Final code will look :

    $social_icons .= '<li class="rss"><a href="YOUR_SITE_FEED_URL" target="_blank"><i class="fa-rss"></i><i class="fa-rss"></i></a></li>'."\n";
    $output = '<ul class="social-icons '.$size.' '.$style.'">'."\n";

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #88119
    cliffdugan
    Member
    Post count: 8

    That’s great – it worked perfectly. I was also able to use a shortcode to add social buttons with the RSS icon in the copyright area as well.

    I would think that many people would want the RSS icon and it’s very common to put it with social buttons – maybe you could add this as a standard feature in a future release.

    Is there a way to control highlight color? I was able to use style=”light” in the copyright area to get the buttons visible. Is there more detailed doc available on shortcodes and their parameters?

    Thanks.

    #88257
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please check doc here http://dante.swiftideas.net/documentation/#social.
    Thanks

    #88267
    cliffdugan
    Member
    Post count: 8

    Thanks again.

    #88268
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. I’m glad that issue resolved .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register