# "Elementor" Column in the Pages List

> Adds a column to the Pages screen that shows which pages are built with Elementor, so you know before you click whether to open Elementor or the block editor.

- Type: PHP
- Runs: Admin only
- Category: [Page Builders & Themes](https://wpide.com/library/category/page-builders/)
- Tags: elementor, admin, columns
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/elementor-built-with-column/

## Code

```php
// Post types that get the column.
$wpide_el_column_types = array( 'page' );

add_action( 'admin_init', function () use ( $wpide_el_column_types ) {
    foreach ( $wpide_el_column_types as $type ) {
        add_filter( "manage_{$type}_posts_columns", function ( $columns ) {
            $columns['wpide_elementor'] = 'Elementor';
            return $columns;
        } );

        add_action( "manage_{$type}_posts_custom_column", function ( $column, $post_id ) {
            if ( 'wpide_elementor' !== $column ) {
                return;
            }

            if ( 'builder' === get_post_meta( $post_id, '_elementor_edit_mode', true ) ) {
                echo '<span class="dashicons dashicons-yes" aria-hidden="true"></span><span class="screen-reader-text">Built with Elementor</span>';
            } else {
                echo '<span aria-hidden="true">&mdash;</span>';
            }
        }, 10, 2 );
    }
} );

add_action( 'admin_head', function () {
    echo '<style>.column-wpide_elementor{width:90px;text-align:center!important;}</style>';
} );
```

## Notes

Add post to $wpide_el_column_types to show the column on the Posts screen too.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find ""Elementor" Column in the Pages List" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
