Display results: display title only of result posts

Forums › Forums › Search & Filter Pro › Display results: display title only of result posts

Viewing 6 posts – 1 through 6 (of 6 total)
  • Anonymous
    #186697

    Hello, I have just purchased S&F, but I have been scanning the FAQs for a while in search for an answer to this one question: I need to display only the titles of result posts, instead of the full content of each. How can I do that?
    Many thanks, A.

    Trevor
    #186702

    Which of the Display results methods are you using, if it is the Shortcode method, you need to follow the guidance here:

    as per this documentation:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results

    and edit the results.php file to remove what you don’t want.

    Anonymous
    #186727

    Thank you, workin’ on it!

    Anonymous
    #186731

    Hi Trevor, how can I change the format of the format of the headings of search items? More exactly, I would like to reduce the size from h4 to h6… is there CSS? Thanks!

    Anonymous
    #186733

    Sorry for mixing topics. This can be considered solved, thanks.

    Trevor
    #186735

    In that same file, results.php, you should see the <h2>tag. Simply change that to a diiferent tag, or add a class to it, e.g.<h2 class=”myclass”>` and make some custom css for this (change the classname). It is possible you theme already has a suitable class for which CSS already exists.

Viewing 6 posts – 1 through 6 (of 6 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.