Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax Pro Search Issue › Reply To: Ajax Pro Search Issue
Hi Jonatan,
Thank you very much for all the details, it helps us a lot.
Unfortunately, this is not possible, at least not without major customizations or additional code. I will try to explain why:
Tabs on that page are actually not individual posts, but a single post, and the tabs are actually part of the post content, I am guessing via a shortcode. When the plugin finds a post/custom post type match, it requests the result URL from WordPress code, by the matched object ID. In this case, the match is the post itself, so WordPress returns the URL to it.
The tabbed structure is only a front-end feature to that post, the actualy post content in the database includes all of the tabs content, so it cannot be distinguished as separate tabs until it is visualized via the browser.
If all of the tabs were separate post objects (like product variations in WooCommerce), then those would be possible to return separately.
I usually suggest a quick workaround for customization requests, if it is possible, however in this case I can’t, as it is much more complicated to resolve. Most likely a combination of plugin modification (to pass the search query) and a custom made front-end javascript will be required to handle the tab switching.
For customizations, I usually recommend this service: wpkraken.io
They are a dedicated team of WordPress experts, and usually are able to help. If you want, you can ask them.