-
Author
-
November 16, 2016 at 19:29 #144429linkpoin2Participant
I would like to add the search form to the body of a single page vs. just the header menu (I can still leave it there). I am using the buddyapp theme. I need it to work same as the search in the header showing dropdown of groups, forums, etc. but need to add to a page.
is there a specific shortcode I can use or like Kleo insert a php string or something using visual composer?
thanks
November 17, 2016 at 08:40 #144505LauraModeratorHello, i do not understand what do you mean, can you share a screenshot of the element you want to add? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
November 17, 2016 at 15:56 #144571linkpoin2Participantsorry, I thought it was pretty clear. i would like to have the theme ajax search bar #main-search (the one in the top of the theme) in the center of one of my pages and in kleo there is a shortcode to do that?
Easiest way to explain is to add the standard ajax search in a page… kinda like you have here http://seventhqueen.com/themes/kleo/get-connected/ (but in my request, not with the fields from bpsearch… just the standard one from the theme)
in the BuddyApp theme you have this code below in the header for the AJAX search and I would like to place that in a page so the functionality works.
<form id=”searchform” class=”search-form kleo-search-wrap kleo-search-form ” method=”get” action=”http://dugoodr.com/” data-context=”members,groups”><input id=”main-search” class=”header-search ajax_s” autocomplete=”off” type=”text” name=”s” value=”” placeholder=”Search”><button type=”submit” class=”header-search-button”></button></form>
November 17, 2016 at 17:01 #144587linkpoin2Participantexample attached. it would be middle of a blank template page though (like the Contact Us or About Us page). Just need shortcode or other option of code for the ajax search bar to work in teh site
Attachments:
You must be logged in to view attached files.November 19, 2016 at 12:27 #144791LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
November 21, 2016 at 18:00 #144901RaduModeratorHi,
That it’s not really possible because if you will have the breadcrumb structure longer that example photo those will overlap over the search form.
That space it’s destinated to the title area and breadcrumbs.
If you want to use to render that search form somewhere else add this function to wp-content/themes/buddyapp-child/functions.php
COPY CODEfunction buddyapp_search_shortcode() { $context = sq_option( 'search_context', '' ); echo kleo_search_form(array('context' => $context)); } add_shortcode('buddyapp_search_shortcode','buddyapp_search_shortcode');
Then use this shortcode [buddyapp_search_shortcode] to render it
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.