How to trim the title of results at a specific length

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)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.