• Resolved Borko

    (@media-x)


    Hi Sudar,

    i’m satisfied with the plugin features. Could you just let me know how to limit the excerpt lenght and change the [...] string.
    In my theme’s functions.php is all set up to limit the excerpt to 22 words and add ... string but your plugin is bypassing it (in the widget).

    Thanks in advance!

    MX

    http://wordpress.org/extend/plugins/posts-by-tag/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sudar Muthu

    (@sudar)

    The Plugin is getting the excerpt by using WordPress’s excerpt function.

    Any idea how the excerpts are generated in your theme? Does it do it the WordPress way?

    If not, there are two way by which you can solve the problem

    – Change your theme, to generate excerpts the WordPress way (or)
    – My Plugin also provides a filter. You can use that filter to change the excerpts.

    Thread Starter Borko

    (@media-x)

    I changed the default excerpt lenght & the string in wp-included/formatting.php.
    I know it’s not the best way but it’s surely the quickest. It would be nice to add the excerpt lenght option to the plugin’s options in the future versions.
    Thank you!

    Plugin Author Sudar Muthu

    (@sudar)

    It would be nice to add the excerpt lenght option to the plugin’s options in the future versions.

    Would consider this feature request.

    But if you change the excerpts length by using the proper WordPress functions in your theme, then it will get automatically reflected in my Plugin as well.

    I also would like to have this features in the next version!

    – My Plugin also provides a filter. You can use that filter to change the excerpts

    Hi – first of all thanks for a great plugin. I’m having the same issue with very long excerpts. Any chance you can clarify how I use the filter?

    Plugin Author Sudar Muthu

    (@sudar)

    When you call the template function, enable the excerpt_filter options by setting it to true.

    Also checkout http://sudarmuthu.com/wordpress/posts-by-tag#example-template to find out how to enable individual options

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing the excerpt lenght & removing the […] string’ is closed to new replies.