How to add rel=”nofollow” to wp_list_pages?

use wordpress build in funcion for that “wp_rel_nofollow” with a hook to wp_list_pages. paste this code in your theme’s functions.php file and you are set. function add_no_follow($output){ return wp_rel_nofollow($output); } add_filter(‘wp_list_pages”https://wordpress.stackexchange.com/questions/7688/,”add_no_follow’); hope this helps.

How to automatically nofollow a set domains? (I seem to have half of the answer)

Instead of the linked option you could just go with something using jQuery. Try adding something like this to your primary theme or plugin javascript file. (Usually something like main.js.) jQuery( document ).ready( function($) { $( ‘a[href^=”https://google.com”], a[href^=”https://yahoo.com”]’ ).each( function() { $( this ).attr( ‘rel’, ‘nofollow’ ); } ); } ); For any additional URLs … Read more

Removing rel=”nofollow” from links posted in Post Content

These links are generated by alx_social_links() function. So in your theme’s functions.php file, search for alx_social_links() function and this link specifically. echo ‘<li><a rel=”nofollow” class=”social-tooltip” ‘.$title.’ ‘.$link.’ ‘.$target.’><i ‘.$icon.’ ‘.$color.’></i></a></li>’; and remove rel=”nofollow” from it. So this will be the new link. echo ‘<li><a class=”social-tooltip” ‘.$title.’ ‘.$link.’ ‘.$target.’><i ‘.$icon.’ ‘.$color.’></i></a></li>’; It will remove nofollow tag … Read more

Remove “nofollow” from widget_text

It sounds as though a plugin or theme function is already adding ‘nofollow’ to the widget, so it might be a case of needing to remove a plugin not add one. It might be being added in your Theme’s functions file with the following function: wp_rel_nofollow You could try searching for that function thought your … Read more

How to add rel nofollow to this?

not sure but try this echo ” <a href=””; the_permalink(); echo “” rel=”nofollow”>”.”(…)”.”</a>”; also have a look on this <a href=”https://wordpress.stackexchange.com/questions/6077/<?php the_permalink(); ?>” rel=”nofollow”>(…)</a>

breadcrumbs & rel=”nofollow”

I think it depends what your goal is and what the breadcrumbs represent. I would say that for most wordpress sites nofollow on breadcrumbs is probably a nonissue. Let’s start with nofollow. Nofollow says you don’t want a search engine to pass on page rank to this link. So if you had comment links and … Read more

How to make “more” or “continue reading” links on excerpts nofollow?

In your theme’s functions.php: /* Returns a “Continue Reading” link for excerpts, with ‘nofollow’ set */ function your_theme_continue_reading_link() { return ‘ <a href=”‘. get_permalink() . ‘” rel=”nofollow”>’ . ‘<span class=”meta-nav”>&rarr;</span> Continue reading</a>’; } /* Replaces “[…]” (appended to automatically generated excerpts) */ function your_theme_auto_excerpt_more( $more ) { return ‘ &hellip;’ . your_theme_continue_reading_link(); } add_filter( ‘excerpt_more’, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)