Support » Themes and Templates » Pages in footer with nofollow link

  • Hello,

    I believe widget that shows pages in footer is WP core.
    How can I edit it and make links nofollow.
    Or if you can suggest plugin but I prefer to change it manually.
    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    What do you want happen?

    I want page links in footer to be nofollow links. (sorry if it is not explained well)

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    What are nofollow links?

    nofollow is a value that can be assigned to the rel attribute of an HTML a element to instruct some search engines that a hyperlink should not influence the link target’s ranking in the search engine’s index. It is intended to reduce the effectiveness of certain types of search engine spam, thereby improving the quality of search engine results and preventing spamdexing from occurring

    Example
    Link text

    From
    http://en.wikipedia.org/wiki/Nofollow

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    If it’s a HTML element, it’s not going to be in your WP core. Try looking for footer.php or adding the rel attribute through jQuery .attr().

    I looked in footer. All I see is

    <div id=”footer-widget-1″>
    <?php if ( is_active_sidebar( ‘footer-widget-area-1’ ) ) : dynamic_sidebar( ‘footer-widget-area-1’); endif; ?>
    </div><!– #footer-widget-1 –>

    In widgets options that widget is translated in my language since all WP is translated so I thought it is core. I don’t know how widgets are created.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Does the HTML currently have the noFollow HTML rel attributes?

    I am not sure what you mean. Links in general acroess site don’t have nofollow.
    I just want those specific links in footer to be nofollow.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    It may then be easier to add them through jQuery than hard-code them in the widget’s template file (if there is one).

    OK. I am not programmer. I know just basics and looking was easy change. Tnx anyway.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Pages in footer with nofollow link’ is closed to new replies.