Skip to content

Commit

Permalink
Update readme.txt
Browse files Browse the repository at this point in the history
Fix backticks for add_filter (reversion in previous commit). Required for correct formatting on worpress.org
  • Loading branch information
andykeith authored Aug 23, 2023
1 parent 3d7c8cf commit b41ac28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ There is no built-in option for this, but you can set the length of the comments

In the code below change '10' to the number of words you would like. If you are using the `[better_recent_comments]` shortcode, make sure to add the `excerpts="true"` option.

```
`
add_filter( 'comment_excerpt_length', function( $number_of_words ) {
return 10;
} );
```
`

= Can I see a demo of the plugin? =
Yes, please visit http://barn2.com/better-recent-comments-demo/ to see Better Recent Comments in action.
Expand Down

0 comments on commit b41ac28

Please sign in to comment.