Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Show the categories selectors
- This topic has 15 replies, 2 voices, and was last updated 11 years, 5 months ago by
musme.
-
AuthorPosts
-
December 23, 2014 at 4:27 pm #3301
musme
ParticipantHello! Pleace see this page http://musme.ru/tutorials/kak-zapisat-pesnyu-v-domashnih-usloviyah-1.html
I have search form on sidebar.
“Frontend and search settings> Drag here the categories you want to exclude!”
Category is not needed, but keep appearing.
see attachmentspls, check search “sidebar”
Can you help me?
December 23, 2014 at 4:33 pm #3304Ernest Marcinko
KeymasterHi!
Please update your plugin to version 3.5. It is available for download on codecanyon.
Carefully follow the steps for updating, since you are using a hihgly outdated version: https://wp-dreams.com/knowledge-base/updating-from-older-versions/
Let me know if the problem persist after the successful update.
December 24, 2014 at 5:57 am #3305musme
ParticipantUpgrade is complete!
1) Genearal Options – Sources 2
Available taxonomies is empty! So i can`t include the taxonomies! see attachment12)is it possible to set an exclusive image for each returned category?
3) Frontend Search Settings options>Show the Suggested phrases
By clicking on the search phrase does not always work. why?4) Advanced Options – Exclude categories
why not in the list of all categories?5) “Frontend and search settings – Drag here the categories you want to exclude!”
Now i nave only needed categories! Ok! But if click on “uncheck” field of each category, result is not empty… is it possible to check some category and get search results this category posts only? see attachment2-
This reply was modified 11 years, 5 months ago by
musme.
December 26, 2014 at 4:27 am #3312musme
ParticipantCan you help me?
December 29, 2014 at 9:43 am #3316Ernest Marcinko
KeymasterHi!
1. Do you have any taxonomies? I can’t see any. This function uses the wordpress built in get_taxonomies function, so it should return the taxonomies if you have any registered.
2. Categories doesn’t have images by default. If the image is stored as some kind of custom field, it might be possible to retrieve it and create filtering function based on this article: https://wp-dreams.com/knowledge-base/showing-the-post-type-name-in-post-title/
3. I just tested, it works for me. Can you explain when it’s not working? I tried it several times on your frontpage, and it worked everytime.
4. It was because empty categories are hidden in wordpress by default. I made a quick modification, now all the 136 categories are visible. (even the empty ones)
5. You need to exclude all those categories which you don’t want to use on the “Advanced Options -> Exclude categories” as well.
January 7, 2015 at 12:49 pm #3391musme
ParticipantIm go to Ajax Search Pro/”home” search/ Frontend Search Settings options / Categories & Taxonomies/ Select which categories exclude
I have excluded category “Hidden category”.
Now i go to front page and type phrase “hidden”. And search return me category “Hidden category”. But this categody exluded. Why i can see this?See screenshots, please.
January 7, 2015 at 1:05 pm #3394musme
ParticipantAnd i can`t delete any keywords from the list(
January 7, 2015 at 1:06 pm #3395Ernest Marcinko
KeymasterHi!
It’s because that is only for the fronted search settings box, it does not actually exclude the category, it only makes it invisible on the frontend. To exclude the category go to the Advanced Option panel, and there you can do it. It’s all explained in the documentation.
I already excluded the Hidden Category so you should not see the posts from there now.
January 7, 2015 at 1:11 pm #3396Ernest Marcinko
KeymasterIdeed, there was something wrong. I activated/deactivated debug mode and now it works.
January 7, 2015 at 1:21 pm #3398musme
Participantoh(
Return categories as results is “on”. how i can exlude some categoryes?January 7, 2015 at 1:23 pm #3399musme
Participantwhy i don`t have returned categories now?
January 7, 2015 at 1:23 pm #3400Ernest Marcinko
KeymasterOn the “Advanced Options” panel, “Exclude categories” option: http://i.imgur.com/E4xdgaJ.png
January 7, 2015 at 1:27 pm #3401Ernest Marcinko
KeymasterIt should return categories, it must have been only the cache. Please try again.
January 7, 2015 at 1:34 pm #3402musme
ParticipantNOOOOOO!
OMG, my english is veeeery bad( SORY!
Ok! if i exclude categories in Advanced Options, search dont show posts from this category and dont return category. I need showing posts from this category but i dont need show this category!I need exclude some categories from returned, but not posts from this categories.
Do you understand me? please, sory.
-
This reply was modified 11 years, 5 months ago by
musme.
January 7, 2015 at 1:35 pm #3405Ernest Marcinko
KeymasterYes I do, but it’s not possible to do with the same search instance. By excluding a category will exclude both the category and the posts as well.
-
This reply was modified 11 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.