WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads Search Widget
"x + 1 hits" (2 posts)

  1. dalmas
    Member
    Posted 7 months ago #

    In the shop page of my website when a search is made, the search page with the results appear but... It's counting wrong. When there's one result, it appears the phrase "2 hits for__". When there are two, the phrase is "3 hits for__". The page is http://cartunesco.com/shop/ . You can try searching for "cow" (one result) or for "pig" (two results). Please, help me to fix this. Thank you in advance.

    http://wordpress.org/plugins/edd-search-widget/

  2. daveshine (David Decker)
    Member
    Plugin Author

    Posted 7 months ago #

    @dalmas:
    Hi there!
    Thanks for your feedback!

    The search results and display of them are NOT controlled by my plugin. My plugin "only" provides the widget with the search form and that searches within the post type. That is all you can do for search forms for custom post types.

    I don't know your setup, which search.php or searchform.php your theme uses and how this works with custom post types. Also, there might be other plugins that maybe tweak anything to do with search...?

    Are your download products that you want to search are all published? WordPress only searches within title and content (not in taxonomies or custom fields or whatever...).

    You could test if your issue is still there when using other plugins that handle search control and display, like Relevanssi: http://wordpress.org/plugins/relevanssi/ --- let my search widget be active but install Relevanssi, configure it and see what happens.

    Maybe that could help?

    Thanks, Dave :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags