Search bar in header not referencing whole website

Home Forums Jevelin Theme Search bar in header not referencing whole website

Home Forums Jevelin Theme Search bar in header not referencing whole website

This topic contains 5 replies, has 2 voices, and was last updated by  Shufflehound Support 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Hi guys

     

    The search bar at the top right of the header is not referencing my whole website, it only pulls product and portfolio pages.

    https://obscape.com/site/

     

    You’ll see different results in both screenshots attached.

    • How can I index all main website content in all search options?
    • Is there a way to display a snippet of text in the search results? At the moment it is just a page name.
    • Can I remove the widget column (displays on the left in header search results, displays on the right in page search results – see screenshots)

    Many thanks

    Attachments:
    You must be logged in to view attached files.

    HI @shelly,

     

    I hope you are well today and thank you for your questions.

     

    How can I index all main website content in all search options?

    Are you using any search plugin or custom code that changed this behavior causing the issue?

     

    Is there a way to display a snippet of text in the search results? At the moment it is just a page name.

    To display it, please update the theme on your site to the below latest version as described here https://support.shufflehound.com/updating-theme/

     


    Please login to access this file

    Can I remove the widget column (displays on the left in header search results, displays on the right in page search results – see screenshots)

    .search-results #content,
    .search #content {
    width: 100%;
    padding: 0;
    }
    .search-results #sidebar,
    .search #sidebar {
    display: none;
    }

     

    Best regards,
    Shufflehound team

    Hi team

     

    Thank you for your responses.

    Are you using any search plugin or custom code that changed this behavior causing the issue?

    I am using the standard search option found here:

    Appearance > Theme settings > Header elements.

    Since updating the theme, I see an option to include pages in the results so this issue is fixed.

     

    Thank you for the custom code to remove the side bars – this works.  It does however leave a blank space rather than the search result content filling this space.

     

    Just one issue not resolved: Is there a way to display a snippet of text in the search results? I have the new theme but can’t see where to edit this.

     

    Thank you

    Just one issue not resolved: Is there a way to display a snippet of text in the search results? I have the new theme but can’t see where to edit this.

    It automatically displays an excerpt of the content added in the post / page content are but if there isn’t any content then you can add it in the excerpt field of post / page as described in the below page.

     

    https://wordpress.org/support/article/excerpt/

    Shelly
    Participant

    Thank you.

     

    I don’t have the Excerpts field displaying when editing Pages, and there is no option under Screen Settings either.

     

    It is in the Blog posts though, in the right hand column.

    For the pages, it is not enabled by default and you have to develop custom code to enable it as described below.

     

    https://www.wpentire.com/excerpt-field-in-wordpress-post-page/

Viewing 6 posts - 1 through 6 (of 6 total)