Support » Plugin: Achievements for WordPress » Change Excerpt Length

  • Resolved thecorkboard



    In achievement-header.php, there is dpa_achievement_description_excerpt() to display the description of the achievement. Is there a simple way to change this from the default 225 of bp_create_excerpt that you invoke?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Gibbs


    BuddyPress Lead Developer

    For anyone following along at home, this relates to the old version 2.4 of Achievements. It doesn’t relate to the newer 3.x series.

    Kyle: as it just accesses the global, you can make your own function, something like this:

    That’s pretty simple 😉



    Thank you, Paul, for the example code to follow. It worked like a charm, and I’ll bookmark it for later projects.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Excerpt Length’ is closed to new replies.