[Support request] Show preview text searching for sites

Home Forums Support [Support request] Show preview text searching for sites

Home Forums Support Show preview text searching for sites

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1821568
    Karsten

    Dear Support,

    if a visitor searches on our website, sites (no text, just h1, date, creator & pic) and article (+ text) have a different preview. We would like to have a text shown in the site preview [1], so we can inform visitors about our products, so they view the product site.

    Alternatively, we would like to rescale the preview pic of this site [2] (as it’s a product pic), so they don’t need a text to decide. The pic is currently right-sided and does not look that great (see https://www.kagels-trading.de/?s=dax+future+daytrading+signale).

    Where do we find the configuration for this feature?

    Thanks & Cheers

    #1821882
    Ying
    Staff
    Customer Support

    Hi Karsten,

    I’m not sure I fully understand your question, are you trying to customize the search result page?

    If so, you can try using block element- content template, and assign it to search results.
    https://docs.generatepress.com/article/block-element-content-template/

    Let me know if this helps 🙂

    #1837148
    Karsten

    Hi Ying,

    thank you for your response.

    The preview of pages does only show the page image but no text as you see here here:

    https://www.kagels-trading.de/?s=dax+future+daytrading+signale

    Is it possible to show also description in this search results?

    Thank you

    Karsten

    #1837317
    David
    Staff
    Customer Support

    Hi there,

    the Excerpt ( summary ) is only displayed if WordPress can parse the content and generate an excerpt.
    But WordPress will not parse content that is nested inside another Block – whether that be a GB Container Block, a core Group Block or any other plugin.

    To get around that you would need to create a Manual Excerpt for those posts / pages.

    To add the manual excerpt field to a Page you can add this PHP Snippet to your site:

    add_post_type_support( 'page', 'excerpt' );

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