Elementor – if the page is_elementor

Elementor – if the page is_elementor

You can use the following code to check Elementor Builder has used for a page.
if ( Elementor\Plugin::instance()->db->is_built_with_elementor( get_the_ID()) ) {
    //page is build with elementor
}

// or by checking directly
$elementor_page = get_post_meta( get_the_ID(), '_elementor_edit_mode', true );
if ( ! ! $elementor_page ) {
    //page is build with elementor
}

If you have any questions about this article or other topics, please click the button below. Your questions will be answered soon.

To see all our themes and experiences, you can go to our themeforest profile by clicking the button below. Click and see now.

Leave a Reply

Your email address will not be published.