Closed brunocerq closed 6 years ago
Duplicate of #4493
Thanks for reporting, Please follow guidelines for opening a new issue report, so we can help you better. This report is missing key information:
According to plugin developer this is not a duplicate of #4493, here are the notes I have received from the developer of Ad Inserter regarding what is said in the other thread:
Not applicable to this case.
The filter is registered with default Ad Inserter priority which is 99999 (it can be changed in general plugin settings, tab ⚙). That means that Ad Inserter is called last.
The problem in your case is that the_content filter is not called by Elementor on that particular page (using single post template).
I have tested free Elemetor and insertion works normally on posts and pages. In this case the_content filter is called.
Therefore I believe that reported issue https://github.com/pojome/elementor/issues/5800 is not a duplicate of issue https://github.com/pojome/elementor/issues/4493
I know this ticket is closed but I am encountering the very same issue now and looking for any tips on how to solve it. I have tried all the options for plugin priority, output buffering and dynamic blocks settings. Nothing helps. All tips appreciated.
Prerequisites
I have searched for similar issues in both open and closed tickets and cannot find a duplicate. (there is a similar one but the issue is diferent, according to plugin developer) The issue still exists against the latest stable version of Elementor.
Description
We use "AdsPro" or "Ad inserter" to dynamically display ads in content after X paragraphs, since we switched from the default theme post template to elementor single post template all ad injection/hooks fails to function and no ads are displayed this way.
Isolating the problem
This bug happens with only Elementor plugin active (and Elementor Pro). This bug happens with a default WordPress theme active. I can reproduce this bug consistently using the steps above.
Environment
== Server Environment == Operating System: Linux Software: Apache MySQL version: 5.5.5 PHP Version: 7.0.32 PHP Max Input Vars: 1000 PHP Max Post Size: 256M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected
== WordPress Environment == Version: 4.9.8 Site URL: https://www.cryptocurrencyguide.org Home URL: https://www.cryptocurrencyguide.org WP Multisite: No Max Upload Size: 256 MB Memory limit: 192M Permalink Structure: /%postname%/ Language: en-US Timezone: 1 Debug Mode: Inactive
== Theme == Name: Buzz Version: 5.0.1 Author: Pojo Team Child Theme: No
== User == Role: administrator WP Profile lang: en_US User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
== Active Plugins == Ad Inserter Version: 2.3.21 Author: Igor Funa
== Debug == Errors: ReferenceError: imagesLoaded is not defined at https://www.cryptocurrencyguide.org/wp-content/plugins/elementor-pro/assets/js/frontend.js?ver=2.1.7 - 1653:3 2018-09-08 22:27 +00:00