Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Suggested Keywords
- This topic has 6 replies, 2 voices, and was last updated 10 years, 8 months ago by
Ernest Marcinko.
-
AuthorPosts
-
September 11, 2015 at 1:47 pm #5889
Glyn Hopkins
ParticipantFRONTENDSETTINGS
—–> SUGGESTED KEYWORDSI enter
Apple, Pay Monthly, All you can eat, 2GB, 8GB, 15GB, 300 mins, 600 mins
The output on front end shows:
Try these: Apple, Pay Monthly, All you can eat, 2GB, 8GB, 15GB, 300 mins, 600 minsHow can I remove the “comma’s” so it just says:
Try these: Apple Pay Monthly All you can eat 2GB 8GB, 15GB 300 mins 600 mins
September 11, 2015 at 1:47 pm #5890Glyn Hopkins
ParticipantScreen shot attached.
September 11, 2015 at 2:09 pm #5892Ernest Marcinko
KeymasterHi!
It’s kind of hard-coded, but a simple 1 line modification to the code will help.
Open up the /wp-content/plugins/ajax-search-pro/includes/views/asp.shortcode.php via FTP and go to line 51, where you should see this:
[code]$s_phrases = str_replace(array(‘ ,’, ‘ , ‘, ‘, ‘, ‘ ,’), ‘</a>, <a href="#">’, $style[‘frontend_suggestions_keywords’]);[/code]
change that line to:
[code]$s_phrases = str_replace(array(‘ ,’, ‘ , ‘, ‘, ‘, ‘ ,’), ‘</a> <a href="#">’, $style[‘frontend_suggestions_keywords’]);[/code]
That should do the trick.
September 11, 2015 at 2:16 pm #5895Glyn Hopkins
ParticipantThat’s amazing.
Can you tell me also how to change the “suggested search keywords” colour
I can hack any example you give me to working.
Thanks
Glyn.
September 11, 2015 at 2:21 pm #5896Ernest Marcinko
KeymasterSure thing. Actually a simple CSS is enough for that 🙂
Use this custom CSS rule, you can put it into the search instance settings Theme Options -> Custom CSS panel: http://i.imgur.com/9fva4I3.png
[html]
p.asp-try a {
color: #FFB556 !important;
}
[/html]Don’t forget to change the “#FFB556” color to your needs 🙂
September 11, 2015 at 2:25 pm #5897Glyn Hopkins
ParticipantThanks Ernest. This is such a great piece of tech & it all worked. Thanks this tickets is now closed.
September 11, 2015 at 2:33 pm #5898Ernest Marcinko
KeymasterYou are welcome and thank you for the kind words!
Feel free to rate the plugin if you want to on your codecanyon downloads dashboard: http://codecanyon.net/downloads
I’m closing this ticket, if you have any other issues, feel free to open a new one.
-
AuthorPosts
- The topic ‘Suggested Keywords’ is closed to new replies.