• Resolved TheFactorySlc

    (@thefactoryslc)


    This recently started happening with search results on this website. I am not sure how to fix this issue and I haven’t found anyone else posting about a similar problem. If you search for terms found on the sites different pages for example “federal” or “governance” you’ll get results but some of the results have the html coding including padding, columns, importance etc…

    Any idea how to fix this?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Vinod Dalvi

    (@vinod-dalvi)

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

    The search results page is displayed by the search.php file of the Kunco theme that you are using on your site so the plugin doesn’t control how the pages and its content will be displayed on the search results page but your site Kunco theme controls it.

    You can contact the theme author to resolve it.

    For a quick fix, you can just add content in the excerpt field of those posts or pages as described in the below page.

    https://www.wpbeginner.com/glossary/excerpt/

    Best regards,

    Thread Starter TheFactorySlc

    (@thefactoryslc)

    First of all, thank you for the response this is somewhat helpful. The reason I say somewhat is because there is no “excerpt” field to enable under the screen options. I am fairly new to WP so your help is much appreciated.

    I will also contact the theme creator and see if there is a fix through them while I continue to attempt to do this quick fix you suggested.

    Thank you.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    Are you checking the excerpt field in the edit post or edit page screen?

    You have to use it in the edit post screen.

    Thread Starter TheFactorySlc

    (@thefactoryslc)

    While there are some posts on the site, the search results that contain the html code so far are for pages. I am attempting to get the Team page results fixed so I am using the edit page not the edit post option. I checked a post for the site in the edit post screen and I do see the excerpt field is available. So if there are posts that have this issue I can fix those, now I need to figure out how to fix the pages.

    I’ve also contacted the theme author for assistance and am waiting for a response.

    Thanks again for your help Vinod.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    For pages, the excerpt is not enabled by default so you have to enable it as described in the below pages.

    https://www.ostraining.com/blog/wordpress/add-excerpts-to-wordpress-pages/
    https://www.wpbeginner.com/plugins/add-excerpts-to-your-pages-in-wordpress/

    Thread Starter TheFactorySlc

    (@thefactoryslc)

    I can’t thank you enough Vinod. This was the fix I was looking for. I am now able to create an excerpt for each page that will show up in the search results.

    Thank you!

    Thread Starter TheFactorySlc

    (@thefactoryslc)

    Replying to mark as resolved.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    You are most welcome, I’m glad I was able to help you in this matter. There is no obligation but by your kind words I wonder if I could trouble you to leave a review based on this experience here:

    https://ww.wp.xz.cn/support/plugin/add-search-to-menu/reviews/

    I’d really appreciate that. 🙂

    And if I can be of any further assistance please don’t hesitate to ask.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Search results return with html code’ is closed to new replies.