[Resolved] Separate form from search results using shortcode
-
Hello everyone,
I’m using some custom code to add a search functionality in my buddypress site. I’m done with the code that does the actual searching and its working well. However, I want the results of the search to be in a different section of the page from the Form, so I thought I would use two different shortcodes for the search form and for the search results, like this,
Some Page content
[search_form] //the text boxes and submit button
Some Page content
[search_results] //the resulting membersI tried making two functions with different shortcodes in the functions.php and I added them in the page with some content between them but the content is always pushed to the bottom so the form and the results are always in the top of the page and follow each other.
Any thoughts on what is causing this or how this is done?
- The topic ‘[Resolved] Separate form from search results using shortcode’ is closed to new replies.