Forums Forums Search & Filter Pro Results Shortcode

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

    Hello, “Results Shortcode” shows me the results but includes tags, categories and date. Can I configure it to only show me the title and the extract of the posts? can it show in 2 columns?

    Trevor
    #201942

    To show them in columns (effectively a grid, would mean you would need to code the template to have HTML and CSS to make this happen.

    As you are using our shortcode method the display of the results comes from our results.php file. You would need to customise it as described (in basic form) here:

    https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results

    You need to remove the lines::

    <p><?php the_category(); ?></p>
    <p><?php the_tags(); ?></p>
    <p><small><?php the_date(); ?></small></p>

    To remove the featured image, remove these lines:

    <?php
    if ( has_post_thumbnail() ) {
      echo '<p>';
      the_post_thumbnail("small");
      echo '</p>';
    }
    ?>
Viewing 2 posts - 1 through 2 (of 2 total)