Schaum (@schaum)

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • @schaum

    Participant

    I think it must be possible to set a “filter” in the functions.php, but I don´t know how…

    @schaum

    Participant

    Thank you!
    This works, but how can I save the code before an update?

    @schaum

    Participant

    Do 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 } ?>

    @schaum

    Participant

    Thank 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?

    @schaum

    Participant

    I 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_nofollow

    @schaum

    Participant

    Uff, I don´t how I can do it…

    In reply to: bbp_rel_nofollow

    @schaum

    Participant

    Thank 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.

    @schaum

    Participant

    Do you try to exclude the code in WordPress Minify 1.2.2?

Viewing 8 replies - 1 through 8 (of 8 total)