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)