Forums Forums Search & Filter Pro Showing full content rather than summary

Viewing 10 posts - 1 through 10 (of 19 total)
  • Anonymous
    #114777

    Search result shows as summary of posts. I would like to show full content of post. How can I change this?

    Osamu

    Trevor
    #114845

    Which Display Results method are you using?

    Anonymous
    #114856

    Shortcode.

    Trevor
    #114873

    You will need to follow these customisation instructions:

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

    Then you edit the results.php file you have copied, find this code block:

    <p><br /><?php the_excerpt(); ?></p>

    and replace it with this:

    <div><?php the_content(); ?></div>

    Note that you can edit this file quite extensively to add, modify PHP, HTML and CSS selectors.

    Anonymous
    #114928

    Hi Trevor,

    Thanks for your prompt response. Is there anywhere that I can overwrite CSS code?

    Trevor
    #114932

    Normally you can change the appearance by editing the results.php file and adding your own theme’s CSS selectors and HTML structure.

    What theme are you using?

    Trevor
    #114934

    Or, do you refer to the CSS of the form?

    If so, then you must write your own custom CSS. There are many such snippets on this forum.

    Anonymous
    #117721

    Hi Trever,

    For Display results, I am using Post Type Archive or Custom. How can I add a search form on the result page? Only way, I can display both result and search form was using the shortcode. I am sure I am missing something.

    Osamu

    Trevor
    #117770
    This reply has been marked as private.
    Anonymous
    #117785

    Hi Trever,

    The problem with using shortcode to display the result is that I get limited layout choice. See link below for a screenshot.
    https://www.dropbox.com/s/c87kt5fmusgfqqo/display%20using%20shortcode.jpg?dl=0

    When I change the display setting to “Post Type Archive”, I get the same layout for the theme (I am using Avada theme) and I prefer this layout. But as you can see the screenshot below link, I don’t know how to display the search form.
    https://www.dropbox.com/s/0p6ze6b00l6anj3/display%20post%20type%20archive.jpg?dl=0

    Osamu

Viewing 10 posts - 1 through 10 (of 19 total)