dtbaker / stylepress

StylePress is a WordPress plugin that lets you design your entire website quickly and easily.
https://stylepress.org
GNU General Public License v3.0
33 stars 17 forks source link

When I choose Stylepress template for post - Elementor stops working #20

Open samitec-dev opened 7 years ago

samitec-dev commented 7 years ago

When I choose custom Stylepress template for post - Elementor stops working.

When I click on "Edit with Elementor" for edited post Chrome console outputs: JQMIGRATE: Migrate is installed, version 1.4.1 Welcome to StylePress Love using Elementor? Join our growing community of Elementor developers:

Uncaught TypeError: elementorFrontend.getScopeWindow(...).jQuery is not a function
    at g(/wp-content/plugins/elementor/assets/js/frontend.min.js?ver=1.4.7:2)

I checked place with error:(wp-content\plugins\elementor\assets\js\frontend.js) line 41

if ( elementorFrontend.isEditMode() ) { // Elements outside from the Preview $elements = elementorFrontend.getScopeWindow().jQuery( '.elementor-element', '.elementor:not(.elementor-edit-mode)' ); } else {

and Elementor not shown. When I choose "Original Theme Output" for "Outer Style" in StylePress Metabox + Update post(for apply settings) . Elementor works right. I found solution - I have created Inner style with only one section in it - inner content and if I choose this Inner Output - works fine. If choose 'Use Theme Default Inner Output' - got error and Elementor not shown. i.e. Style outer style works only with Style inner output.

P.S. I use last versions of ocean wp theme + elementor pro

samitec-dev commented 6 years ago

Problem fixed after update ocean wp theme to new version. It was theme related problem.