Support » Plugin: Ocean Extra » Conflict with Anywhere Elementor

  • 1000camels

    (@1000camels)


    This bug has been reported before (https://wordpress.org/support/topic/conflict-between-oceanwp-and-anywhere-elementor-pro/), but no solutions were offered.

    Not reported was the fact that the Ocean Extras metabox gets duplicated on Anywhere Elementor template (ae_global_template). Searching in Ocean Extras I discovered that ae_global_template is actually coded to render the metabox, so I just used a filter to remove it.

    /**
     * Disable Ocean WP Extras for Anywhere Elementor Global Templates because there is a bug.
     */
    function remove_ocean_extras_for_ae($post_types) {
        unset($post_types['ae_global_templates']);
        return $post_types;
    }
    add_filter( 'ocean_main_metaboxes_post_types', 'remove_ocean_extras_for_ae' );
    • This topic was modified 2 years ago by 1000camels.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Conflict with Anywhere Elementor’ is closed to new replies.