Increase description length step in learning path

Home Forums WPLMS AddOns Custom Learning Paths Increase description length step in learning path

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #177621
    dantwah
    Spectator
    Hi! I would like to increase the amount of words that are shown before the read more tag in the description of custom learning path steps. It seems to use a different setting than the one found in WPLMS > miscelanous. Could you let me know how to? Or even better, disable the read more tag by default in custom learning paths, it is messing a bit with the buttons I use in it. Kind regards
    #177760
    Diana
    Participant
    This reply has been marked as private.
    #177809
    dantwah
    Spectator
    thanks for pointing this out. I wrote I tiny bit of code to overcome it.   function longer_desc_clp() { return 500; } add_filter( 'wplms_clp_step_description_length', 'longer_desc_clp' );  
    #177932
    Diana
    Participant
    @dantwah, Really, appreciate your effort. Closing this topic
    #197714
    MeesterGijs
    Spectator
    Great, Dantwat! This worked for me as well. Was looking for this :)
    #197752
    Scott Lang
    Moderator
    Thanks for confirming..
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Increase description length step in learning path’ is closed to new replies.