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 https://total.wpexplorer.com/docs/snippets/enable-card-settings-metabox-for-pages/
 */
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 the Code Snippets Plugin (or alternative plugin)
Back To Top