Forum Replies Created
-
In reply to: previous/next thread/forum navigation
I think it must be possible to set a “filter” in the functions.php, but I don´t know how…
In reply to: previous/next thread/forum navigationThank you!
This works, but how can I save the code before an update?In reply to: previous/next thread/forum navigationDo anybody know where I add these in bbpress:
<?php $prev = get_permalink(get_adjacent_post(false,'',true)); if ($prev != get_permalink()) { ?><a href="<?php echo $prev; ?>">Vorheriger Artikel</a><?php } ?> <?php $next = get_permalink(get_adjacent_post(false,'',false)); if ($next != get_permalink()) { ?><a href="<?php echo $next; ?>">Nächster Artikel</a><?php } ?>
In reply to: previous/next thread/forum navigationThank you for the link, but this plugin give´s an error:
Parse error: syntax error, unexpected ‘;’, expecting ‘)’ in *********/wp-content/plugins/tp-navs/tp-navs.php on line 14
I think the newer bbress will not work.
Any other idea´s?
In reply to: Reply pages & SEO issuesI have the same problem with “Google (XML) Sitemaps Generator for WordPress” .
A rule in the robots.txt is very bad idea. You got a lot of errors in the WMT…In reply to: bbp_rel_nofollowUff, I don´t how I can do it…
In reply to: bbp_rel_nofollowThank you, these work for the _blank:
add_filter( 'bbp_get_reply_content','links_blank_follow', 90 ); add_filter( 'bbp_get_topic_content','links_blank_follow', 90 ); function links_blank_follow($text) { if( strpos( $text, $_SERVER['HTTP_HOST'] ) === false ) return str_replace('<a', '<a target="_blank"', $text); return $text; }
But I don´t know really: how I can use no nofollow, if the link is set to your own site.
In reply to: Better WordPress Minify breaks fancy editorDo you try to exclude the code in WordPress Minify 1.2.2?