So, you only want to display the root post, if there are results in non root posts as well. Good.
But what do you want to do, if the post is not a root post? Display this post? Or its root post?
You would have to look up the root post for every results, which might make it slower....
Just trying to understand more clearly....
Ivan
-----
Iyengar Yoga Resources / GT Plugins
But what do you want to do, if the post is not a root post? Display this post? Or its root post?
You would have to look up the root post for every results, which might make it slower....
Just trying to understand more clearly....
Ivan
-----
Iyengar Yoga Resources / GT Plugins