This topic has 3 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author

    Tagged: 

  • #46959
     mcperly
    Participant

    The search form in visual composer says it should show all content such as members, posts, groups etc if left blank but it does not work. I only will show posts. Or if I checkmark members, posts, and groups and then search for something it still will only show posts. So if I have posts , members, and groups and type in a member, it will only show posts still but not the member profile. Thought it was supposed to do all.

    Or even better, here is a suggestion that would be AWESOME!!!

    To have a dropdown next to/part of the search form that would allow a member to choose for themeelves if they want to search for members, posts, groups etc, or even custom taxonomies etc.

    Anyway – That would be a very powerful search tool. Something to make search more advanced and powerful.

    #46979
     sharmstr
    Moderator

    Leaving everything unchecked works fine on my sites. Maybe you have a plugin thats overriding the wp_query results. See attached from my site.

    You can already give users the option to search in different context. See this: https://archived.seventhqueen.com/ All you need to do is use the tabs shortcode an put a search box in every tab.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #47013
     mcperly
    Participant

    Yes correct. But they only show up in AJAX. They all do not show up when they hit enter. That works only OK but is not the best option. Perhaps if Ajax was a little quicker. It’s not horribly slow but most users wont wait a few seconds – they are used to just typing and then hitting enter immediately. But only posts show up when enter is hit. It won’t show everything.

    The tabs idea is somewhat cool yes. It’s still not optimal to me but it’s not a bad option either. I guess another thing is it would be great if the results would show up on the same page below or something instead of taking someone to a whole other search results page without the search bard – can’t even find a way to customize the search results page. So they have to get back to that page again to do another search. So the results are still not bad – jsus not the best yet and wanted to offer some suggestions. Unless I am still missing something and a way to do what I want to do and just haven’t found it yet.

    Thanks

    #47014
     sharmstr
    Moderator

    But those options are ONLY for ajax. Its not broken and works as designed. Only posts show up when you hit enter because that’s how wordpress works. If you want a results page that shows results from every possible context, you’ll need to find a plugin. That’s why there are options in the ajax results to take you to the results for a specific context.

    Ajax is slow because your site is slow. Its fast on my sites. Also, kleo gives you the option to disable submit on enter by changing the value of Form Type.

    Copy /kleo/search.php to your child theme and add the following right after get_template_part(‘page-parts-general-before-wrap’);

    COPY CODE
    
    <div class="widget_search">
    <?php echo get_search_form( $echo ); ?>
    </div>
    

    All the other results pages have a search form.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?