Forums

Pages in footer with nofollow link (11 posts)

  1. crodexter
    Member
    Posted 4 months ago #

    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

  2. Andrew Nevins
    Volunteer Moderator
    Posted 4 months ago #

    What do you want happen?

  3. crodexter
    Member
    Posted 4 months ago #

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

  4. Andrew Nevins
    Volunteer Moderator
    Posted 4 months ago #

    What are nofollow links?

  5. crodexter
    Member
    Posted 4 months ago #

    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

  6. Andrew Nevins
    Volunteer Moderator
    Posted 4 months ago #

    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().

  7. crodexter
    Member
    Posted 4 months ago #

    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.

  8. Andrew Nevins
    Volunteer Moderator
    Posted 4 months ago #

    Does the HTML currently have the noFollow HTML rel attributes?

  9. crodexter
    Member
    Posted 4 months ago #

    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.

  10. Andrew Nevins
    Volunteer Moderator
    Posted 4 months ago #

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

  11. crodexter
    Member
    Posted 4 months ago #

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

Reply

You must log in to post.

About this Topic