[Support request] Search page “posts”

Home Forums Support Search page “posts”

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1426275
    Eaydman

    Hi,

    Why do the posts that show up in the search page look so diffrent, some with image, other with only a heading, and others with images and excerpt ?

    Is it not possible to show it more clearly what you have searched ?

    See page screenshot: https://share.getcloudapp.com/jkuZAmY8

    #1426307
    David
    Staff
    Customer Support

    Hi there,

    those are pages which do not have the Featured Image, Excerpt or Post Meta.
    Do you want to remove them from the Search results ? Or do you want to display additional page content in the Search results ?

    #1426987
    Eaydman

    Ehmm It would be nice if the word that people are searching for somehow showed up in the excerpt or something.

    When there just show a page title, and an empty white box, it’s not really clickable.

    Is it not possible someway of making the search result more userfriendly?
    Is it need for some search plugins or how to people do ?

    #1427423
    David
    Staff
    Customer Support

    OK – so a couple of things

    1. You can enable Manual Excerpts for pages by adding this PHP snippet to your site:

    add_post_type_support( 'page', 'excerpt' );

    https://docs.generatepress.com/article/adding-php/

    That will provide the Excerpt meta field on Pages. Which will be displayed in Search results.

    2. You can add a Featured Image to your Pages and choose not to display them using the Disable Elements meta. This will remove it from the single page but should still display them in your search results:

    https://docs.generatepress.com/article/disable-elements-overview/

    For more advanced search function you would need a plugin like Relevannsi.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.