Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Suggested Keywords
This topic contains 6 replies, has 2 voices, and was last updated by Ernest Marcinko 8 years, 12 months ago.
- AuthorPosts
- September 11, 2015 at 1:47 pm #5889
FRONTENDSETTINGS
—–> 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 #5890Screen shot attached.
Attachments:
You must be logged in to view attached files.September 11, 2015 at 2:09 pm #5892Hi!
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:
$s_phrases = str_replace(array(' ,', ' , ', ', ', ' ,'), '</a>, <a href="#">', $style['frontend_suggestions_keywords']);
change that line to:
$s_phrases = str_replace(array(' ,', ' , ', ', ', ' ,'), '</a> <a href="#">', $style['frontend_suggestions_keywords']);
That should do the trick.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 11, 2015 at 2:16 pm #5895That’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 #5896Sure 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: https://i.imgur.com/9fva4I3.png
p.asp-try a { color: #FFB556 !important; }
Don’t forget to change the “#FFB556” color to your needs 🙂
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 11, 2015 at 2:25 pm #5897Thanks 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 #5898You 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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
The topic ‘Suggested Keywords’ is closed to new replies.