i have a questions

This topic contains 16 replies, has 2 voices, and was last updated by musme musme 8 years ago.

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #2225
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    1. It’s not possible with the advanced fields option, it only works with the custom fields. However you can do a quick hack to achieve this. Open up the plugins/ajax-search-pro/includes/search_content.class.php file and go to line 345. That should be an empty line. Put these lines there:

    $_cats = get_the_category( $v->id );
    if (isset($_cats[0]))
      $r->title = $_cats[0]->name.' - '.$r->title;
    

    You should then see the first assigned category name to each post.

    2. It’s because of preventing infinite loops in the javascript code. This would cause other issues in the plugins current state. I will try to implement something similar to the next version, but I can’t promise anything.

    3. Not yet. The plugin uses a non-HTML5 placeholder for older mobile support, but it will get removed and replaced with a HTML5 placeholder in the next version, so this issue will disappear soon.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #2226
    musme
    musme
    Participant

    OMG, amazing!!! Now i have categories names in search results) Thanks a lot)

Viewing 2 posts - 16 through 17 (of 17 total)

You must be logged in to reply to this topic.