• Resolved Thomas Maier

    (@webzunft)


    Hi there,

    I am the author of the Advanced Ads plugin and have found a conflict with Modern Events Calendar Lite.

    Advanced Ads comes with a condition to show ads based on Specific Pages. You can install the plugin, create a new ad, then choose “Specific Pages” in the Display Conditions section, and search for a post.

    That search is broken as soon as MECL is enabled.

    Advanced Ads uses the wp_link_query WP core function within wp-includes/class-wp-editor.php when looking for posts in an AJAX request. When I log the query at the end of that function, it includes advads_posts.post_type = 'mec-events' which breaks the search for all other post types.

    Please check where you hook into WP_Query and make sure that you only add or change the post_type attribute where needed.

    Thanks,
    Thomas

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor webnus

    (@webnus)

    Hi @webzunft,

    Thanks for contacting us,

    This issue is forwarded to the developer team, it will be checked and we will let you know the result.

    Best Regards

    Plugin Contributor webnus

    (@webnus)

    Hi @webzunft,

    Thank you for your report,
    It will be fixed in the next updates.

    Best Regard

    Thread Starter Thomas Maier

    (@webzunft)

    I wanted to confirm that the issue is fixed. Thanks!

    Thomas

    Plugin Contributor webnus

    (@webnus)

    You’re welcome,

    We are glad it’s fixed 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Issue with WP_Query’ is closed to new replies.