Figured out the issue on my end, maybe it will help you. I’m using a child theme and had this code in my functions.php file. I was testing something out and left the code in there. Removing it allowed me to insert galleries into a page with options under Display Type.
function callback($buffer) {
// Remove the Form from the main Shop page
$contents = $buffer;
$pattern = '#\<form class="woocommerce-ordering" method="get"\>\s*(.+?)\s*\<\/form\>#s';
$contents = preg_replace_callback(
$pattern,
create_function(
'$matches',
'return "<!--<form class=woocommerce-ordering method=get>$matches[1]</form>-->";'
),
$contents
);
$buffer = $contents;
return $buffer;
}
function buffer_start() { ob_start("callback"); }
function buffer_end() { ob_end_flush(); }
//only load on Woocommerce
add_action('woocommerce_init', 'buffer_start');
add_action('wp_footer', 'buffer_end');