Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #265296

    Hi Guys, awesome theme,

    Although I did ask this question a few days ago, I can see all the other questions around mine have been answered, if its not relevant or obvious or ‘below you’ then please say so, so I can search for support else where, hopefully you just missed it so I’ll post it again.

    1.***To my original question below I would also like to ask, How to add a rel=’nofollow’ tag to the widget “enfold advertising area’, as I’m sure you are aware Google is very hot on this since recent updates, and now clearly states all paid advertising should be ‘nofollow.’ ***

    2. I want to nofollow the footer link, when I insert rel=’nofollow’ into the footer.php it crashes the entire footer.

    this link is the one

    Thank You.

    // you can filter and remove the backlink with an add_filter function
    // from your themes (or child themes) functions.php file if you dont want to edit this file
    // you can also just keep that link. I really do appreciate it ;)
    $kriesi_at_backlink = apply_filters(“kriesi_backlink”, ” – Enfold Theme by Kriesi“);

    #265596

    Hi!

    Please don’t create duplicates.

    1. Advertising Widget:

    Open /framework/php/class-framework-widgets.php and look for lines 822-823:

    echo '<a target="_blank" href="'.$ref_url.'" class="preloading_background  avia_partner1 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url.'</a>';
    if($this->add_cont == 2) echo '<a target="_blank" href="'.$ref_url2.'" class="preloading_background avia_partner2 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url2.'</a>';

    Replace them by:

    echo '<a target="_blank" rel="nofollow" href="'.$ref_url.'" class="preloading_background  avia_partner1 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url.'</a>';
    if($this->add_cont == 2) echo '<a target="_blank" rel="nofollow" href="'.$ref_url2.'" class="preloading_background avia_partner2 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url2.'</a>';

    2. Footer:

    Open footer.php and look for line 82:

    $kriesi_at_backlink =	apply_filters("kriesi_backlink", " - <a href='http://kriesi.at'>Enfold Theme by Kriesi</a>");
    

    Replace it by:

    $kriesi_at_backlink =	apply_filters("kriesi_backlink", " - <a href='http://kriesi.at'  rel='nofollow'>Enfold Theme by Kriesi</a>");
    

    Regards,
    Josue

    • This reply was modified 11 years, 1 month ago by Josue.
    #265820

    Hi Josue,

    That is awesome, thank you so much, I appreciate you taking the time to help.

    Have a great weekend. Ian

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Nofollow links’ is closed to new replies.