diff --git a/includes/admin/class-rop-admin.php b/includes/admin/class-rop-admin.php index 14862f12..769dc731 100644 --- a/includes/admin/class-rop-admin.php +++ b/includes/admin/class-rop-admin.php @@ -308,6 +308,7 @@ public function enqueue_scripts() { if ( empty( $page ) ) { return; } + wp_enqueue_media(); wp_register_script( $this->plugin_name . '-dashboard', ROP_LITE_URL . 'assets/js/build/dashboard.js', array('wp-url'), ( ROP_DEBUG ) ? time() : $this->version, false ); wp_register_script( $this->plugin_name . '-exclude', ROP_LITE_URL . 'assets/js/build/exclude.js', array(), ( ROP_DEBUG ) ? time() : $this->version, false ); @@ -421,6 +422,9 @@ public function enqueue_scripts() { } $this->register_survey(); + if ( ! defined( 'ROP_PRO_VERSION' ) ) { + do_action( 'themeisle_sdk_load_banner', 'rop' ); + } } /** diff --git a/vue/src/vue-elements/main-page-panel.vue b/vue/src/vue-elements/main-page-panel.vue index 1a966b27..159d1f83 100644 --- a/vue/src/vue-elements/main-page-panel.vue +++ b/vue/src/vue-elements/main-page-panel.vue @@ -15,6 +15,10 @@ +