• Hello,

    I have problems with this plugin together with the use of Elementor. On my buddypress pages the header and footer are made with Elementor and that works fine, because I just insert these two areas on any page. But with your plugin and the blocked page some header colors and other variables (mostly global variables) not been loaded by Elementor.

    I tested and reduced the code from the blocked.php page just to call “get_header()” and “get_footer()” without any body text but no difference.
    Then I went to the page.php Astra fallback template and also reduced the code to just call the header and footer. Then the header/footer looks correct!

    So there must be the wrong time or the wrong place where this file is called to make the elementor header mess up.

    How can I fix this? Am I able to call the blocked.php in a shortcode for example which I then can insert into a page made in the editor? Or maybe call other functions which been missed in this file to make it work well?

    Or, third thought, call your blocked.php with the correct page template loaded?

    Thanks for help in advance. I would like to stay with your plugin and fix this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @locker17,

    Thanks for your question! This is a tough one, because (as you found it when you swapped to Astra) we are technically providing a template done in the ‘WordPress way’ (https://developer.www.ads-software.com/themes/basics/template-files/). It sounds as if Elementor does some sort of magic that changes things.

    Have you contacted Elementor about this? You can say that the template works great with other themes, but not with theirs. It may be that they have a workaround (after all, this must affect lots of plugins). They may also say that we would need to make our plugin compatible with Elementor, which is something we can consider for the future and if enough of the community feel that it would be useful.

    Let me know how you get on!

    Ben Roberts

    Thread Starter locker17

    (@locker17)

    Thanks, for your answer. Unfortunately you won’t get any help from Elementor about this. For them the problem is always made by others. In this case your plugin.

    I copied the code from the basic Astra fallback template page.php where I dont have this issue to your template with no effect. So could it be that the call of this plugin template is too early/late or that its inherited by the wrong basic template?

    It must be such kind of reason why especially the global elementor css variables been missing when I call the header with your plugin but be available on all other pages.

    • This reply was modified 1 month, 4 weeks ago by locker17.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.