Supless_filter / Wp_query / get_posts / Elementor button / Loop / geotargeting


I have the following problem

Got geotargeting and custom post type (Jetengine)

I then inserted everything into Elementor that I have a list with the posts with a "Load more" button (where a few should not be visible in Germany)

But if you click on "Load More" they still appear in the loop

According to GEOWP you should set wp_query / get_posts "supress_filter => False" or add this argument to the button.

Does anyone know how to do this? Or can something like that be applied to an Elementor button? Or do I have to change any files?

Mike B 8 months 2020-11-25T08:10:30-05:00 0 Answers 12 views 0

Leave an answer