Hi there,
one method i use is the following PHP Snippet:
// Generate custom taxonomy for Element Display Rules
function element_control_custom_tax() {
register_taxonomy(
'element-controls',
array( 'post', 'page' ),
array(
'label' => __( 'Element Controls' ),
'rewrite' => array( 'slug' => 'element-controls' ),
'hierarchical' => true,
'show_in_rest' => true,
)
);
}
add_action( 'init', 'element_control_custom_tax' );
// Exclude custom taxonomy from wp_sitemaps
add_filter('wp_sitemaps_taxonomies', function( $taxonomies ) {
unset( $taxonomies['element-controls'] );
return $taxonomies;
}
);
What it does is register a Custom Taxonomy called Element Controls
for Posts and Pages.
Its only visible on the backend.
With it you can create your own custom Terms, eg. Full Width Pagebuilder layout
And you can use the Element Control terms for your Element Display Rule Locations and Exclusions.
Added bonus is that the Element Control admin view will allow you to see all terms and the posts / pages that are using them.