Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › i have a questions
This topic contains 16 replies, has 2 voices, and was last updated by musme 10 years ago.
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,OMG, amazing!!! Now i have categories names in search results) Thanks a lot)
You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |