| Server IP : 185.11.201.71 / Your IP : 192.168.7.18 Web Server : Apache/2.4.29 (Ubuntu) System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : tech ( 1000) PHP Version : 7.4.28 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/wordpress/wp-content/plugins/yith-proteo-toolkit/block-patterns/ |
Upload File : |
<?php
/**
* A file containing and registering block patterns
*
* @package YITH_Proteo_tookit
*/
if ( ! function_exists( 'yith_proteo_register_block_patterns' ) ) {
/**
* Register block patterns
*/
function yith_proteo_register_block_patterns() {
register_block_pattern(
'yith-proteo/1-3-2-3-image-banner',
array(
'title' => esc_html_x( '1/3 2/3 Image banner', 'Block patterns title', 'yith-proteo-toolkit' ),
'description' => esc_html_x( 'Two cover blocks configured in 2 columns of equel height.', 'Block pattern description', 'yith-proteo-toolkit' ),
'content' => "<!-- wp:columns {\"className\":\"has-2-columns\"} -->\n<div class=\"wp-block-columns has-2-columns\"><!-- wp:column {\"width\":\"34%\",\"className\":\"animate-fade-right\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<div class=\"wp-block-column animate-fade-right\" style=\"flex-basis:34%\"><!-- wp:cover {\"url\":\"http://proteo.test/classic-shop/wp-content/uploads/sites/2/2019/08/glass@2x.png\",\"id\":2952,\"dimRatio\":100,\"customOverlayColor\":\"#f0f0f0\"} -->\n<div class=\"wp-block-cover has-background-dim-100 has-background-dim\" style=\"background-image:url(http://proteo.test/classic-shop/wp-content/uploads/sites/2/2019/08/glass@2x.png);background-color:#f0f0f0\"><div class=\"wp-block-cover__inner-container\"><!-- wp:image {\"id\":2952,\"sizeSlug\":\"large\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"http://proteo.test/classic-shop/wp-content/uploads/sites/2/2019/08/glass@2x.png\" alt=\"\" class=\"wp-image-2952\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"textColor\":\"very-dark-gray\"} -->\n<p class=\"has-text-align-center has-very-dark-gray-color has-text-color\">DISCOVERY THE TREND OF</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"textColor\":\"very-dark-gray\",\"style\":{\"typography\":{\"fontSize\":50}}} -->\n<p class=\"has-text-align-center has-very-dark-gray-color has-text-color\" style=\"font-size:50px\"><strong>GLASSES</strong></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"66%\",\"className\":\"animate-fade-left\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<div class=\"wp-block-column animate-fade-left\" style=\"flex-basis:66%\"><!-- wp:cover {\"url\":\"http://proteo.test/classic-shop/wp-content/uploads/sites/2/2019/08/Intersection-1@2x.jpg\",\"id\":2953} -->\n<div class=\"wp-block-cover has-background-dim\" style=\"background-image:url(http://proteo.test/classic-shop/wp-content/uploads/sites/2/2019/08/Intersection-1@2x.jpg)\"><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":50}}} -->\n<p class=\"has-text-align-center\" style=\"font-size:50px\"><strong>SAVE 20% IN MAN CLOTHING</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":18}}} -->\n<p class=\"has-text-align-center\" style=\"font-size:18px\">Enjoy a special -20% discount on man category</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
'categories' => array( 'proteo-classic-shop' ),
)
);
register_block_pattern(
'yith-proteo/classic-shop-home-1',
array(
'title' => esc_html_x( 'Proteo Classic shop homepage', 'Block patterns title', 'yith-proteo-toolkit' ),
'description' => esc_html_x( 'The complete Proteo Classic Shop homepage design.', 'Block pattern description', 'yith-proteo-toolkit' ),
'content' => "<!-- wp:heading {\"textAlign\":\"center\"} -->\n<h2 class=\"has-text-align-center\"> Summer 20/21 Collection </h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":18}}} -->\n<p class=\"has-text-align-center\" style=\"font-size:18px\">\n\nDiscovery the new winter trends and be inspired about our outfit suggestions.\n\n</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:shortcode -->\n[product_category category=\"tshirts,clothing\" per_page=\"6\" columns=\"6\" orderby=\"title\" order=\"asc\"]\n<!-- /wp:shortcode -->\n\n<!-- wp:heading {\"textAlign\":\"center\"} -->\n<h2 class=\"has-text-align-center\"> Our hot sales in 2020</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":18}}} -->\n<p class=\"has-text-align-center\" style=\"font-size:18px\"> A list of our best seller in the last year. You can buy all of them with a special -20% discount </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:group {\"className\":\"animate-fade-up\"} -->\n<div class=\"wp-block-group animate-fade-up\"><div class=\"wp-block-group__inner-container\"><!-- wp:yith/yith-wc-productslider {\"className\":\"animate-fade-up\"} -->\n<div class=\"wp-block-yith-yith-wc-productslider animate-fade-up\"><span class=\"yith_block_8b586e42449906212dfb1d15a4b22895\">[yith_wc_productslider id=\"3073\"]</span></div>\n<!-- /wp:yith/yith-wc-productslider --></div></div>\n<!-- /wp:group -->\n\n<!-- wp:spacer {\"height\":20} -->\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:columns {\"className\":\"has-2-columns\"} -->\n<div class=\"wp-block-columns has-2-columns\"><!-- wp:column {\"width\":\"34%\",\"className\":\"animate-fade-right\"} -->\n<div class=\"wp-block-column animate-fade-right\" style=\"flex-basis:34%\"><!-- wp:cover {\"url\":\"https://proteo.yithemes.com/classic-shop/wp-content/uploads/sites/2/2019/08/glass@2x.png\",\"id\":2952,\"dimRatio\":100,\"customOverlayColor\":\"#f0f0f0\"} -->\n<div class=\"wp-block-cover has-background-dim-100 has-background-dim\" style=\"background-image:url(https://proteo.yithemes.com/classic-shop/wp-content/uploads/sites/2/2019/08/glass@2x.png);background-color:#f0f0f0\"><div class=\"wp-block-cover__inner-container\"><!-- wp:image {\"id\":2952,\"sizeSlug\":\"large\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https://proteo.yithemes.com/classic-shop/wp-content/uploads/sites/2/2019/08/glass@2x.png\" alt=\"\" class=\"wp-image-2952\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"textColor\":\"very-dark-gray\"} -->\n<p class=\"has-text-align-center has-very-dark-gray-color has-text-color\">DISCOVERY THE TREND OF</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"textColor\":\"very-dark-gray\",\"style\":{\"typography\":{\"fontSize\":50}}} -->\n<p class=\"has-text-align-center has-very-dark-gray-color has-text-color\" style=\"font-size:50px\"><strong>GLASSES</strong></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"66%\",\"className\":\"animate-fade-left\"} -->\n<div class=\"wp-block-column animate-fade-left\" style=\"flex-basis:66%\"><!-- wp:cover {\"url\":\"https://proteo.yithemes.com/classic-shop/wp-content/uploads/sites/2/2019/08/Intersection-1@2x.jpg\",\"id\":2953} -->\n<div class=\"wp-block-cover has-background-dim\" style=\"background-image:url(https://proteo.yithemes.com/classic-shop/wp-content/uploads/sites/2/2019/08/Intersection-1@2x.jpg)\"><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":50}}} -->\n<p class=\"has-text-align-center\" style=\"font-size:50px\"><strong>SAVE 20% IN MAN CLOTHING</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":18}}} -->\n<p class=\"has-text-align-center\" style=\"font-size:18px\">Enjoy a special -20% discount on man category</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:spacer {\"height\":50} -->\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"className\":\"animate-fade\"} -->\n<h2 class=\"has-text-align-center animate-fade\"> Browse our categories</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"animate-fade\"} -->\n<p class=\"has-text-align-center animate-fade\"> A list of our product categories</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:group {\"className\":\"animate-fade-up\"} -->\n<div class=\"wp-block-group animate-fade-up\"><div class=\"wp-block-group__inner-container\"><!-- wp:shortcode -->\n[product_categories ids=\"204,221,231,207\" columns=\"4\" orderby=\"include\"]\n<!-- /wp:shortcode --></div></div>\n<!-- /wp:group -->",
'categories' => array( 'proteo-homepages' ),
)
);
register_block_pattern(
'yith-proteo/3-columns-image-banner',
array(
'title' => esc_html_x( '3 columns image banner', 'Block patterns title', 'yith-proteo-toolkit' ),
'description' => esc_html_x( 'Three cover blocks configured in 3 columns of equel height.', 'Block pattern description', 'yith-proteo-toolkit' ),
'content' => "<!-- wp:columns {\"className\":\"animate-fade-up\"} -->\n<div class=\"wp-block-columns animate-fade-up\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/bread-salad.jpg\",\"id\":165,\"dimRatio\":0,\"minHeight\":240,\"href\":\"https://proteo.yithemes.com/food/product-category/gift-boxes/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-cover ek-linked-block ek-linked-block-animate\" style=\"background-image:url(https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/bread-salad.jpg);min-height:240px\"><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"animate-fade\",\"style\":{\"color\":{\"gradient\":\"linear-gradient(135deg,rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.7) 100%)\"}}} -->\n<div class=\"wp-block-group animate-fade has-background\" style=\"background:linear-gradient(135deg,rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.7) 100%)\"><div class=\"wp-block-group__inner-container\"><!-- wp:spacer {\"height\":20} -->\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"style\":{\"color\":{\"text\":\"#709422\"}},\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h3 class=\"has-text-align-center has-text-color\" style=\"color:#709422\">Special gift box</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"textColor\":\"black\",\"style\":{\"typography\":{\"fontSize\":18}}} -->\n<p class=\"has-text-align-center has-black-color has-text-color\" style=\"font-size:18px\">Compose your gift box and choose the best<br>delivery date.<br>We will take care of everything</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:spacer {\"height\":30} -->\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:group -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/kaboompics_Pasta_-_tomatoes__garlic.jpg\",\"id\":166,\"dimRatio\":0,\"minHeight\":240,\"href\":\"https://proteo.yithemes.com/food/product-category/pasta/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-cover ek-linked-block ek-linked-block-animate\" style=\"background-image:url(https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/kaboompics_Pasta_-_tomatoes__garlic.jpg);min-height:240px\"><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"animate-fade\",\"style\":{\"color\":{\"gradient\":\"linear-gradient(135deg,rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.7) 100%)\"}}} -->\n<div class=\"wp-block-group animate-fade has-background\" style=\"background:linear-gradient(135deg,rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.7) 100%)\"><div class=\"wp-block-group__inner-container\"><!-- wp:spacer {\"height\":20} -->\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"style\":{\"color\":{\"text\":\"#709422\"}},\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h3 class=\"has-text-align-center has-text-color\" style=\"color:#709422\">Pasta collection</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"textColor\":\"black\",\"style\":{\"typography\":{\"fontSize\":18}}} -->\n<p class=\"has-text-align-center has-black-color has-text-color\" style=\"font-size:18px\">Tasteful, just like the grandma pasta.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:spacer {\"height\":30} -->\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div></div>\n<!-- /wp:group -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/wine-541922_1280.jpg\",\"id\":167,\"dimRatio\":0,\"minHeight\":240,\"contentPosition\":\"bottom center\",\"href\":\"https://proteo.yithemes.com/food/product-category/wine/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-cover has-custom-content-position is-position-bottom-center ek-linked-block ek-linked-block-animate\" style=\"background-image:url(https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/wine-541922_1280.jpg);min-height:240px\"><div class=\"wp-block-cover__inner-container\"><!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h3 class=\"has-text-align-center\">Italian wines</h3>\n<!-- /wp:heading --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
'categories' => array( 'proteo-food' ),
)
);
register_block_pattern(
'yith-proteo/full-width-image-and-text',
array(
'title' => esc_html_x( 'Full width image and text', 'Block patterns title', 'yith-proteo-toolkit' ),
'description' => esc_html_x( 'Image with text block configured to be full width.', 'Block pattern description', 'yith-proteo-toolkit' ),
'content' => "<!-- wp:group {\"align\":\"full\",\"style\":{\"color\":{\"background\":\"#faf1e0\"}}} -->\n<div class=\"wp-block-group alignfull has-background\" style=\"background-color:#faf1e0\"><div class=\"wp-block-group__inner-container\"><!-- wp:media-text {\"align\":\"\",\"mediaPosition\":\"right\",\"mediaId\":229,\"mediaType\":\"image\",\"mediaWidth\":53,\"className\":\"animate-fade\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<div class=\"wp-block-media-text has-media-on-the-right is-stacked-on-mobile animate-fade\" style=\"grid-template-columns:auto 53%\"><figure class=\"wp-block-media-text__media\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/olive-oil-1024x742.jpg\" alt=\"\" class=\"wp-image-229 size-full\"/></figure><div class=\"wp-block-media-text__content\"><!-- wp:spacer {\"height\":50} -->\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"className\":\"animate-fade-right\"} -->\n<h2 class=\"animate-fade-right\">Certified and trusted oil producer</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"placeholder\":\"Content…\",\"className\":\"animate-fade-right\"} -->\n<p class=\"animate-fade-right\">In order to promote and protect the names of quality agricultural products such as olive oil, the European Union has established the PDO and PGI certification schemes which ensure that only products genuinely originating in the particular certified region are allowed to be identified as such in commerce.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"className\":\"animate-fade-right\"} -->\n<p class=\"animate-fade-right\"><a href=\"https://proteo.yithemes.com/food/shop/\" data-type=\"page\" data-id=\"28\">Buy our Italian virgin oil ⟶</a></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:spacer {\"height\":50} -->\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div></div>\n<!-- /wp:media-text --></div></div>\n<!-- /wp:group -->",
'categories' => array( 'proteo-food' ),
)
);
register_block_pattern(
'yith-proteo/five-columns-with-background-color',
array(
'title' => esc_html_x( 'Five columns with background color', 'Block patterns title', 'yith-proteo-toolkit' ),
'description' => esc_html_x( 'Five columns with background color and image on each column.', 'Block pattern description', 'yith-proteo-toolkit' ),
'content' => "<!-- wp:group {\"className\":\"animate-fade-top top-negative-margin-50\",\"textColor\":\"white\",\"style\":{\"color\":{\"background\":\"#66482c\"}}} -->\n<div class=\"wp-block-group animate-fade-top top-negative-margin-50 has-white-color has-text-color has-background\" style=\"background-color:#66482c\"><div class=\"wp-block-group__inner-container\"><!-- wp:spacer {\"height\":90} -->\n<div style=\"height:90px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"className\":\"animate-fade-down\",\"textColor\":\"white\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h2 class=\"has-text-align-center animate-fade-down has-white-color has-text-color\">OUR PRODUCTS</h2>\n<!-- /wp:heading -->\n\n<!-- wp:spacer {\"height\":80} -->\n<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/pasta/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":363,\"width\":98,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-right\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-right\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/Risorsa_4-1.png\" alt=\"\" class=\"wp-image-363\" width=\"98\" height=\"114\"/><figcaption>Pasta</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/vegetables/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":364,\"width\":113,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-right\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-right\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/Risorsa_5-1.png\" alt=\"\" class=\"wp-image-364\" width=\"113\" height=\"114\"/><figcaption>Vegetables</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/meat/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":365,\"width\":123,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-up\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-up\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/Risorsa_6-1.png\" alt=\"\" class=\"wp-image-365\" width=\"123\" height=\"114\"/><figcaption>Meat</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/wine/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":366,\"width\":71,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-left\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-left\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/Risorsa_3-1.png\" alt=\"\" class=\"wp-image-366\" width=\"71\" height=\"114\"/><figcaption>Wine</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/fruits/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":367,\"width\":119,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-left\",\"captionAlignment\":\"center\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-left\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/fruit.png\" alt=\"\" class=\"wp-image-367\" width=\"119\" height=\"114\"/><figcaption>Fruit</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:spacer {\"height\":20} -->\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:group -->",
'categories' => array( 'proteo-food' ),
)
);
register_block_pattern(
'yith-proteo/food-home',
array(
'title' => esc_html_x( 'Proteo Food homepage', 'Block patterns title', 'yith-proteo-toolkit' ),
'description' => esc_html_x( 'The complete Proteo Food homepage design.', 'Block pattern description', 'yith-proteo-toolkit' ),
'content' => "<!-- wp:columns {\"className\":\"animate-fade-up\"} -->\n<div class=\"wp-block-columns animate-fade-up\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/bread-salad.jpg\",\"id\":165,\"dimRatio\":0,\"minHeight\":240,\"href\":\"https://proteo.yithemes.com/food/product-category/gift-boxes/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-cover ek-linked-block ek-linked-block-animate\" style=\"background-image:url(https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/bread-salad.jpg);min-height:240px\"><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"animate-fade\",\"style\":{\"color\":{\"gradient\":\"linear-gradient(135deg,rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.7) 100%)\"}}} -->\n<div class=\"wp-block-group animate-fade has-background\" style=\"background:linear-gradient(135deg,rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.7) 100%)\"><div class=\"wp-block-group__inner-container\"><!-- wp:spacer {\"height\":20} -->\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"style\":{\"color\":{\"text\":\"#709422\"}},\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h3 class=\"has-text-align-center has-text-color\" style=\"color:#709422\">Special gift box</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"textColor\":\"black\",\"style\":{\"typography\":{\"fontSize\":18}}} -->\n<p class=\"has-text-align-center has-black-color has-text-color\" style=\"font-size:18px\">Compose your gift box and choose the best<br>delivery date.<br>We will take care of everything</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:spacer {\"height\":30} -->\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:group -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/kaboompics_Pasta_-_tomatoes__garlic.jpg\",\"id\":166,\"dimRatio\":0,\"minHeight\":240,\"href\":\"https://proteo.yithemes.com/food/product-category/pasta/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-cover ek-linked-block ek-linked-block-animate\" style=\"background-image:url(https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/kaboompics_Pasta_-_tomatoes__garlic.jpg);min-height:240px\"><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"animate-fade\",\"style\":{\"color\":{\"gradient\":\"linear-gradient(135deg,rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.7) 100%)\"}}} -->\n<div class=\"wp-block-group animate-fade has-background\" style=\"background:linear-gradient(135deg,rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.7) 100%)\"><div class=\"wp-block-group__inner-container\"><!-- wp:spacer {\"height\":20} -->\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"style\":{\"color\":{\"text\":\"#709422\"}},\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h3 class=\"has-text-align-center has-text-color\" style=\"color:#709422\">Pasta collection</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"textColor\":\"black\",\"style\":{\"typography\":{\"fontSize\":18}}} -->\n<p class=\"has-text-align-center has-black-color has-text-color\" style=\"font-size:18px\">Tasteful, just like the grandma pasta.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:spacer {\"height\":30} -->\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div></div>\n<!-- /wp:group -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/wine-541922_1280.jpg\",\"id\":167,\"dimRatio\":0,\"minHeight\":240,\"contentPosition\":\"bottom center\",\"href\":\"https://proteo.yithemes.com/food/product-category/wine/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-cover has-custom-content-position is-position-bottom-center ek-linked-block ek-linked-block-animate\" style=\"background-image:url(https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/wine-541922_1280.jpg);min-height:240px\"><div class=\"wp-block-cover__inner-container\"><!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h3 class=\"has-text-align-center\">Italian wines</h3>\n<!-- /wp:heading --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"className\":\"animate-fade-up\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h2 class=\"has-text-align-center animate-fade-up\">Best seller you can’t miss</h2>\n<!-- /wp:heading -->\n\n<!-- wp:spacer {\"height\":50} -->\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:yith/yith-wc-productslider {\"className\":\"animate-fade-up\"} -->\n<div class=\"wp-block-yith-yith-wc-productslider animate-fade-up\"><span class=\"yith_block_e6b986bd6c1f8bfa94544d41af558d7a\">[yith_wc_productslider id=\"268\"]</span></div>\n<!-- /wp:yith/yith-wc-productslider -->\n\n<!-- wp:spacer {\"height\":50} -->\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:group {\"align\":\"full\",\"style\":{\"color\":{\"background\":\"#faf1e0\"}}} -->\n<div class=\"wp-block-group alignfull has-background\" style=\"background-color:#faf1e0\"><div class=\"wp-block-group__inner-container\"><!-- wp:media-text {\"align\":\"\",\"mediaPosition\":\"right\",\"mediaId\":229,\"mediaType\":\"image\",\"mediaWidth\":53,\"className\":\"animate-fade\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<div class=\"wp-block-media-text has-media-on-the-right is-stacked-on-mobile animate-fade\" style=\"grid-template-columns:auto 53%\"><figure class=\"wp-block-media-text__media\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/olive-oil-1024x742.jpg\" alt=\"\" class=\"wp-image-229 size-full\"/></figure><div class=\"wp-block-media-text__content\"><!-- wp:spacer {\"height\":50} -->\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"className\":\"animate-fade-right\"} -->\n<h2 class=\"animate-fade-right\">Certified and trusted oil producer</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"placeholder\":\"Content…\",\"className\":\"animate-fade-right\"} -->\n<p class=\"animate-fade-right\">In order to promote and protect the names of quality agricultural products such as olive oil, the European Union has established the PDO and PGI certification schemes which ensure that only products genuinely originating in the particular certified region are allowed to be identified as such in commerce.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"className\":\"animate-fade-right\"} -->\n<p class=\"animate-fade-right\"><a href=\"https://proteo.yithemes.com/food/shop/\" data-type=\"page\" data-id=\"28\">Buy our Italian virgin oil ⟶</a></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:spacer {\"height\":50} -->\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div></div>\n<!-- /wp:media-text --></div></div>\n<!-- /wp:group -->\n\n<!-- wp:media-text {\"align\":\"\",\"mediaId\":326,\"mediaType\":\"image\",\"className\":\"animate-fade-right left-negative-margin-full-width\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<div class=\"wp-block-media-text is-stacked-on-mobile animate-fade-right left-negative-margin-full-width\"><figure class=\"wp-block-media-text__media\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/foodiesfeed.com_pasta-tomatoes-and-other-italian-ingredients.jpg\" alt=\"\" class=\"wp-image-326 size-full\"/></figure><div class=\"wp-block-media-text__content\"><!-- wp:heading -->\n<h2>From our farms to your table</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"animate-fade\"} -->\n<p class=\"animate-fade\">Gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":10,\"style\":{\"color\":{\"text\":\"#709422\"}},\"className\":\"is-style-outline animate-fade-up\"} -->\n<div class=\"wp-block-button is-style-outline animate-fade-up\"><a class=\"wp-block-button__link has-text-color\" href=\"https://proteo.yithemes.com/food/shop/\" style=\"border-radius:10px;color:#709422\">READ MORE</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div></div>\n<!-- /wp:media-text -->\n\n<!-- wp:media-text {\"align\":\"\",\"mediaPosition\":\"right\",\"mediaId\":327,\"mediaType\":\"image\",\"className\":\"animate-fade-left right-negative-margin-full-width\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<div class=\"wp-block-media-text has-media-on-the-right is-stacked-on-mobile animate-fade-left right-negative-margin-full-width\"><figure class=\"wp-block-media-text__media\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/foodiesfeed.com_seafood-spaghetti.jpg\" alt=\"\" class=\"wp-image-327 size-full\"/></figure><div class=\"wp-block-media-text__content\"><!-- wp:heading -->\n<h2>High quality ingredients for your Italian recipes.</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"animate-fade\"} -->\n<p class=\"animate-fade\">Celery quandong swiss chard chicory earthnut pea potato. Salsify taro catsear garlic gram celery bitterleaf wattle seed collard greens nori. Grape wattle seed kombu beetroot horseradish carrot squash brussels sprout chard.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":10,\"style\":{\"color\":{\"text\":\"#709422\"}},\"className\":\"is-style-outline animate-fade-up\"} -->\n<div class=\"wp-block-button is-style-outline animate-fade-up\"><a class=\"wp-block-button__link has-text-color\" href=\"https://proteo.yithemes.com/food/shop/\" style=\"border-radius:10px;color:#709422\">READ MORE</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div></div>\n<!-- /wp:media-text -->\n\n<!-- wp:group {\"className\":\"animate-fade-top top-negative-margin-50\",\"textColor\":\"white\",\"style\":{\"color\":{\"background\":\"#66482c\"}}} -->\n<div class=\"wp-block-group animate-fade-top top-negative-margin-50 has-white-color has-text-color has-background\" style=\"background-color:#66482c\"><div class=\"wp-block-group__inner-container\"><!-- wp:spacer {\"height\":90} -->\n<div style=\"height:90px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"className\":\"animate-fade-down\",\"textColor\":\"white\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h2 class=\"has-text-align-center animate-fade-down has-white-color has-text-color\">OUR PRODUCTS</h2>\n<!-- /wp:heading -->\n\n<!-- wp:spacer {\"height\":80} -->\n<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/pasta/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":363,\"width\":98,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-right\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-right\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/Risorsa_4-1.png\" alt=\"\" class=\"wp-image-363\" width=\"98\" height=\"114\"/><figcaption>Pasta</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/vegetables/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":364,\"width\":113,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-right\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-right\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/Risorsa_5-1.png\" alt=\"\" class=\"wp-image-364\" width=\"113\" height=\"114\"/><figcaption>Vegetables</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/meat/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":365,\"width\":123,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-up\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-up\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/Risorsa_6-1.png\" alt=\"\" class=\"wp-image-365\" width=\"123\" height=\"114\"/><figcaption>Meat</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/wine/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":366,\"width\":71,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-left\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-left\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/Risorsa_3-1.png\" alt=\"\" class=\"wp-image-366\" width=\"71\" height=\"114\"/><figcaption>Wine</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"href\":\"https://proteo.yithemes.com/food/product-category/fruits/\",\"hasAnimation\":true} -->\n<div class=\"wp-block-column ek-linked-block ek-linked-block-animate\"><!-- wp:image {\"align\":\"center\",\"id\":367,\"width\":119,\"height\":114,\"sizeSlug\":\"large\",\"className\":\"caption-align-center animate-fade-left\",\"captionAlignment\":\"center\"} -->\n<div class=\"wp-block-image caption-align-center animate-fade-left\"><figure class=\"aligncenter size-large is-resized\"><img src=\"https://proteo.yithemes.com/food/wp-content/uploads/sites/271/2020/09/fruit.png\" alt=\"\" class=\"wp-image-367\" width=\"119\" height=\"114\"/><figcaption>Fruit</figcaption></figure></div>\n<!-- /wp:image -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:spacer {\"height\":20} -->\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:group -->\n\n<!-- wp:spacer {\"height\":90} -->\n<div style=\"height:90px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"className\":\"animate-fade-up\",\"editorskit\":{\"devices\":false,\"desktop\":true,\"tablet\":true,\"mobile\":true,\"loggedin\":true,\"loggedout\":true,\"acf_visibility\":\"\",\"acf_field\":\"\",\"acf_condition\":\"\",\"acf_value\":\"\",\"migrated\":false,\"unit_test\":false}} -->\n<h2 class=\"has-text-align-center animate-fade-up\">Our news</h2>\n<!-- /wp:heading -->\n\n<!-- wp:spacer {\"height\":70} -->\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:latest-posts {\"postsToShow\":2,\"displayPostContent\":true,\"displayAuthor\":true,\"displayPostDate\":true,\"postLayout\":\"grid\",\"columns\":2,\"displayFeaturedImage\":true,\"featuredImageAlign\":\"center\",\"featuredImageSizeSlug\":\"large\",\"className\":\"animate-fade-up\"} /-->",
'categories' => array( 'proteo-homepages' ),
)
);
}
}
add_action( 'init', 'yith_proteo_register_block_patterns' );
if ( ! function_exists( 'yith_proteo_register_block_patterns_categories' ) ) {
/**
* Register block pattern categories to group patterns
*
* @return void
*/
function yith_proteo_register_block_patterns_categories() {
register_block_pattern_category(
'proteo-classic-shop',
array( 'label' => esc_html__( 'Proteo Classic Shop', 'yith-proteo-toolkit' ) )
);
register_block_pattern_category(
'proteo-food',
array( 'label' => esc_html__( 'Proteo Food', 'yith-proteo-toolkit' ) )
);
register_block_pattern_category(
'proteo-homepages',
array( 'label' => esc_html__( 'Proteo Homepages', 'yith-proteo-toolkit' ) )
);
}
}
add_action( 'init', 'yith_proteo_register_block_patterns_categories' );