This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 5 years, 4 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › toggle search
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 5 years, 4 months ago.
I would like the search box to be in my submenu (which is hard coded in the header.php file) and just show the magnifying glass and toggle search bar when clicked (just like on the top of your home page). How do I accomplish this?
I also want the search results to show up in a page.
Hi,
If the menu with the items is hard coded, you will likely have to use the php shortcode to place it to the desired position. It is possible to use the search shortcode as a menu element as well.
You can enable the compact box layout for the pop-out search bar under the Layout Options -> Compact box layout panel, that is probably what you are looking for.
The live search results can be moved on the current page using the results shortcode. The regular search results layout is controlled by the theme, within the search.php file in the theme directory. It cannot be moved, as WordPress core automatically resolves to that page.
I hope this helps!
Best,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |