This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Suggested Keywords

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5889
    Glyn HopkinsGlyn Hopkins
    Participant

    FRONTENDSETTINGS
    —–> SUGGESTED KEYWORDS

    I 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 mins

    How 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

    #5890
    Glyn HopkinsGlyn Hopkins
    Participant

    Screen shot attached.

    #5892
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    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.

    #5895
    Glyn HopkinsGlyn Hopkins
    Participant

    That’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.

    #5896
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Sure 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 🙂

    #5897
    Glyn HopkinsGlyn Hopkins
    Participant

    Thanks Ernest. This is such a great piece of tech & it all worked. Thanks this tickets is now closed.

    #5898
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You 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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Suggested Keywords’ is closed to new replies.