Search options below bar
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search options below bar
- This topic has 9 replies, 2 voices, and was last updated 7 years, 8 months ago by
Ernest Marcinko.
-
AuthorPosts
-
November 5, 2018 at 2:34 pm #19766
custompczone
ParticipantIs it possible to put the category search options directly below the search bar as checkboxes? See attachment for rough idea of what I am describing.
Thank you!
November 5, 2018 at 2:42 pm #19768Ernest Marcinko
KeymasterHi,
Well, possibly, I am not sure.
1. You will have to use either the settings shortcode, or switch to block settings layout.
2. + using this custom CSS:
[html].asp_w fieldset.asp_tax_filter {
min-width: 100% !important;
width: 100% !important;
}.asp_tax_filter .asp_option {
float: left;
margin-left: 10px !important;
}[/html]This should result is something like this: https://i.imgur.com/obbe3x5.png
Hopefully it will do the trick on your environment as well.November 5, 2018 at 2:50 pm #19769custompczone
ParticipantThanks for your quick reply 🙂
They’re now aligned horizontally instead of vertically which is good. How can I put them below the search bar (see attachment)?
November 5, 2018 at 2:51 pm #19771custompczone
ParticipantI used the block settings layout, by the way.
November 5, 2018 at 2:53 pm #19774Ernest Marcinko
KeymasterHi,
Either use the search box and the settings shortcode one after another, like so:
[php][wpdreams_ajaxsearchpro id=1]
[wpdreams_asp_settings id=1element='div'][/php]..or a shortcode generator shortcode:
[php][wd_asp elements='search,settings' ratio='100%,100%' id=1][/php]
Just don’t forget to replace the id in the shortcodes with your own.
November 5, 2018 at 2:55 pm #19777custompczone
ParticipantI have it configured with a php shortcode in my content-single.php file. How would I apply that code there?
Here’s the code I’m using: [code]<?php
echo do_shortcode(‘[wpdreams_ajaxsearchpro id=3]‘);
?>[/code]Thanks
November 5, 2018 at 2:56 pm #19778custompczone
Participant<?php
echo do_shortcode(‘[wpdreams_ajaxsearchpro id=3]‘);
?>Not sure why the <> broke there.
November 5, 2018 at 4:27 pm #19782Ernest Marcinko
KeymasterHi,
Either like this:
..or this:
These should do the trick.
November 5, 2018 at 4:56 pm #19783custompczone
ParticipantPerfect! Works great. You may close this case.
Thanks for your help!
November 5, 2018 at 5:01 pm #19784Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- The topic ‘Search options below bar’ is closed to new replies.