Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Use Ajax search results as category
This topic contains 2 replies, has 2 voices, and was last updated by weitzwa24 3 years, 6 months ago.
- AuthorPosts
- November 26, 2019 at 6:30 pm #24755
Hi,
I want to store the ACF Ajax search results as categories in the main menu.
I tried this with a category and put the url of the ajax result in the category in the menu.
Unfortunately the url of the ajax search result is very long(https://website.de/?post_type=product&s=&asp_active=1&p_asid=2&p_asp_data=Y3VycmVudF9wYWdlX2lkPTMwNzE3Jndvb19jdXJyZW5jeT1FVVImcXRyYW5zbGF0ZV9sYW5nPTAmZmlsdGVyc19jaGFuZ2VkPTAmZmlsdGVyc19pbml0aWFsPTEmYXNwX2dlbiU1QiU1RD10aXRsZSZhc3BfZ2VuJTVCJTVEPWNvbnRlbnQmYXNwX2dlbiU1QiU1RD1leGNlcnB0JmN1c3RvbXNldCU1QiU1RD1wcm9kdWN0JmFzcGYlNUJ0eXBfXzUlNUQlNUIwJTVEPUNocm9ub2dyYXBoJmFzcGYlNUJfcmVndWxhcl9wcmljZV9fNiU1RCU1Qmxvd2VyJTVEPTAuMDAmYXNwZiU1Ql9yZWd1bGFyX3ByaWNlX182JTVEJTVCdXBwZXIlNUQ9NzQ5NS4wMA==)
can I do something?November 27, 2019 at 8:45 am #24767Hi,
Well, the URL must contain that information – as it stores the post types, filters, page URLs, exceptions etc.. I think the best solution would be to use a redirection plugin. You could create shorter URLs, which are then redirected to the longer URLs, when clicked. In the menu they would appear as the short URLs.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 27, 2019 at 6:44 pm #24780Hi Ernest,
thanks for the great hint, i will trie this.
Thanks in andvance.
BR
Nicklas - AuthorPosts
You must be logged in to reply to this topic.