Skip to:
Content
Pages
Categories
Search
Top
Bottom

need help on some idea!

  • Avatar of noyzen
    noyzen
    Participant

    @noyzen

    Hi bp people

    i want some plugin or hack which automatically make a copy of any activity stream, which have length more than 300 words (good for SEO) as a post.

    is there any plugin to do this?

    hope you got it…
    thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of danbp
    danbp
    Moderator

    @danbp

    @noyzen,
    If i follow correctly what you’re saying, a post of 1000 words, is good for SEO and that’s why you want an activity feed with over 300 char posts excerpts. But this is practically duplicate content, which is absolutely not good at all (seo or not seo) :-;
    That said, the default post excerpt length is 250. And if it’s default, it’s probably also the default best practice value.

    But you’re the boss…
    Add this to fuctions.php or bp-custom.php to get your activity stream exerpts longer without duplicating it.

    
    function bpfr_custom_length( $excerpt_length) {
    	$excerpt_length = '200'; // change value to your need	
    		return $excerpt_length;  
    
    } 
    add_filter( 'bp_activity_excerpt_length', 'bpfr_custom_length', 10, 1);
    Avatar of noyzen
    noyzen
    Participant

    @noyzen

    thanks for useful info and help about excerpt!

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

You must be logged in to reply to this topic.