Post__not_in doesn't work, orderby 'distance'
Hi, I bought your plugin and I have a question: I would have liked to turn on displaying listings of the same author in function query_near_ads() and in function query_related_ads(), so I delete this line from a code:
‘author__not_in’ => array( $post->post_author )
I still need to turn off displaying the same post in the slider of both widgets. The line:
‘post__not_in’ => array( $post->ID )
is working in function query_related_ads() but not in query_near_ads()
Do you know how to fix it near_ads widget?
I also think that orderby ‘distance’ is not working in near_ads widget.
Thanks in advance,