Forums Forums Search & Filter Pro How to trim the title of results at a specific length

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #272221

    Hi all is there a way of filtering the results so that you can apply a trim to the title that’s returned, effectively like this:
    mb_strimwidth($result_title, 0, 25, ‘[…]’))

    Thanks,
    Alwyn

    Trevor
    #272222

    The display (content, layout and style) of results is not controlled by our plugin – our plugin only controls which posts are displayed. If the results are output from a PHP template, you could likely apply some PHP to the title to do this, but it is something you or a third party coder would have to do. If it is not a simple to edit template creating the output, it might be harder to modify.

Viewing 2 posts - 1 through 2 (of 2 total)