• 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)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What do you want happen?

    Thread Starter crodexter

    (@crodexter)

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

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What are nofollow links?

    Thread Starter crodexter

    (@crodexter)

    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
    https://en.wikipedia.org/wiki/Nofollow

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Thread Starter crodexter

    (@crodexter)

    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.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Does the HTML currently have the noFollow HTML rel attributes?

    Thread Starter crodexter

    (@crodexter)

    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.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Thread Starter crodexter

    (@crodexter)

    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.