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

i have a questions

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #2225
    Ernest MarcinkoErnest 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.

    #2226
    musmemusme
    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.