Skip to:
Content
Pages
Categories
Search
Top
Bottom

Increase length of topic excerpts


  • kraigg
    Participant

    @kraigg

    Hi there,

    I am using bbp_topic_excerpt() inside loop-single-topic.php (in custom theme) to display excerpts in my forum topic listing page. The excerpt only displays 100 characters before it cuts off

    I was wondering if there’s a way to increase the excerpt length (to say, 200 characters), without hacking any of the core files?

    I’m using bbPress 2.1.2, Buddypress 1.6.1, WordPress 3.4.2

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

  • Michael
    Participant

    @michaelhpdx

    I am also interested in finding a reliable and simple way to display a post excerpt without having to hack the core files.

    Michael


    Michael
    Participant

    @michaelhpdx

    Checking the function code in bbp_topic_template.php, the call bbp_topic_excerpt() already accepts a $length argument; the default is 100, but it can be changed. Doh! It can be used as-is.

    Michael

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

You must be logged in to reply to this topic.