WordPress plugin wp-chunk shorten URLs within posts and pages

wp-chunk is a WordPress plugin to gracefully shorten URLs within submitted comments. It does not affect urls within posts and pages, just comments. But if you want that it affects within posts and pages open the file wp-chunk.php from the plugin directory and add this lines just after the line 72 (add_filter(‘comment_text’, ‘make_chunky’);):

add_filter(‘the_excerpt’, ‘make_chunky’);
add_filter(‘the_content’, ‘make_chunky’);

  • Share/Bookmark
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

Leave a Reply