skip to Main Content

Enable Card Settings Metabox for Pages

By default the card meta settings aren't available for standard pages as you would generally not display pages as "entries" but if you really wanted to you can enable the Card meta settings box for pages using the following snippet.

 * Enale the card settings metabox for pages.
 * @link
add_filter( 'wpex_card_metabox_post_types', function( $types ) {
	$types[] = 'page';
	return $types;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top