After reading the recent change that Google and other search engines changed the ability of nofollow to "PR shape" your site, I like to disable nofollow. Anyone know how I can do it? I broke my site when I tried editing functions.php by adding "/*", "*/", " in front of <a and after href="'; surrounding the nofollows
Code:
if (strlen($_GET['p']) > 0) {
echo "
";
echo $content;
echo "<a rel='nofollow' href='";
the_permalink();
echo "'>".__('Read More', 'studiopress')." →</a>";
echo "</p>";
}
else if ((strlen($content)>$max_char) && ($espacio = strpos($content, " ", $max_char ))) {
$content = substr($content, 0, $espacio);
$content = $content;
echo "
";
echo $content;
echo "...";
echo "<a rel='nofollow' href='";
the_permalink();
echo "'>".$more_link_text."</a>";
echo "</p>";
}
else {
echo "
";
echo $content;
echo "<a rel='nofollow' href='";
the_permalink();
echo "'>".__('Read More', 'studiopress')." →</a>";
echo "</p>";
}