function load_post_type_patterns() {
// Define an initial pattern for the 'Book' post type
$post_type_object = get_post_type_object( 'book' );
$post_type_object->template = array(
array(
'core/block',
array(
'ref' => 2603, // The ID of my custom pattern
),
),
);
}
add_action( 'init', 'load_post_type_patterns' );
This works, but I have to manually select the pattern and select “Detach”. Otherwise, my edits on the page will update the pattern (even though I have “Sync” disabled). This is too counterintuitive for my editors.
Anyone solve for this?
]]>I would like to change the position of the cart, from its current location in the center of the screen, below the logo, to the top left corner, opposite and aligned to the hamburger menu, with the wish list icon (heart) appearing on its right side, as shown in the image: https://snipboard.io/AYqxlL.jpg
Thanks in advance!
]]>I would like to add a custom icon in addition to the ones in the Default and Font Awesome libraries.
Like the icons created through fontello, for example. I’ve already managed to insert custom icons to WordPress and use them in Elementor, but I can’t select these icons when selecting icons, from the cart, for example.
Thanks in advance!
]]>I would like to add a custom icon in addition to the ones in the Default and Font Awesome libraries.
Like the icons created through fontello, for example. I’ve already managed to insert custom icons to WordPress and use them in Elementor, but I can’t select these icons when selecting icons, from the cart, for example, in BeTheme’s options.
Thanks in advance!
]]>I would like to change the position of the cart, from its current location in the center of the screen, below the logo, to the top left corner, opposite and aligned to the hamburger menu, with the wish list icon (heart) appearing on its right side, as shown in the image: https://snipboard.io/AYqxlL.jpg
Thanks in advance!
]]>How can I close this tip forever and don’t auto change to full screan?
]]>Maybe you guys can integrate WooCommerce as well? That would be even more awesome!
]]>