| 1 |
<?php |
| 2 |
/** |
| 3 |
* Register Custom Block Styles |
| 4 |
*/ |
| 5 |
|
| 6 |
function PatternsWPTestimonials_patterns_register_block_patterns() { |
| 7 |
if ( function_exists( 'register_block_pattern' ) ) { |
| 8 |
/** |
| 9 |
* Add your block patterns below |
| 10 |
*/ |
| 11 |
|
| 12 |
/* |
| 13 |
register_block_pattern( |
| 14 |
'PatternsWP-gutenberg-block-patterns/TITLE-OF-YOUR-BLOCK-PATTERN', # Add Hyphens between lowercase words |
| 15 |
array( |
| 16 |
'title' => __( 'TITLE_OF_YOUR_BLOCK_PATTERN', 'PatternsWP-gutenberg-block-patterns' ), |
| 17 |
'content' => "BLOCK_PATTERN_GOES_HERE", |
| 18 |
'categories' => array("CATEGORY"), # eg: columns, text ..etc |
| 19 |
) |
| 20 |
); |
| 21 |
*/ |
| 22 |
|
| 23 |
register_block_pattern( |
| 24 |
'PatternsWPTestimonials-gutenberg-block-patterns/testimonials-one', |
| 25 |
array( |
| 26 |
'title' => __( 'Testimonials Section One', 'PatternsWPTestimonials-gutenberg-block-patterns' ), |
| 27 |
'content' => "<!-- wp:group {\"align\":\"full\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"64px\",\"right\":\"20px\",\"bottom\":\"64px\",\"left\":\"20px\"},\"blockGap\":\"64px\"}},\"backgroundColor\":\"base\",\"layout\":{\"type\":\"constrained\",\"contentSize\":\"1280px\",\"wideSize\":\"1440px\"}} -->\r\n<div class=\"wp-block-group alignfull has-base-background-color has-background\" style=\"padding-top:64px;padding-right:20px;padding-bottom:64px;padding-left:20px\"><!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"16px\",\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"}}},\"layout\":{\"type\":\"constrained\"}} -->\r\n<div class=\"wp-block-group\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"36px\",\"fontStyle\":\"normal\",\"fontWeight\":\"800\",\"lineHeight\":1}},\"textColor\":\"contrast\"} -->\r\n<h2 class=\"wp-block-heading has-text-align-center has-contrast-color has-text-color\" style=\"font-size:36px;font-style:normal;font-weight:800;line-height:1\">Testimonials</h2>\r\n<!-- /wp:heading -->\r\n\r\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-align-center has-text-color\" style=\"color:#666666\">There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour.</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"padding\":{\"top\":\"0px\",\"right\":\"0px\",\"bottom\":\"0px\",\"left\":\"0px\"},\"blockGap\":\"64px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\",\"justifyContent\":\"center\"}} -->\r\n<div class=\"wp-block-group\" style=\"padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px\"><!-- wp:columns -->\r\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"33.34%\",\"style\":{\"spacing\":{\"blockGap\":\"32px\"}}} -->\r\n<div class=\"wp-block-column\" style=\"flex-basis:33.34%\"><!-- wp:group {\"style\":{\"spacing\":{\"padding\":{\"top\":\"24px\",\"right\":\"24px\",\"bottom\":\"24px\",\"left\":\"24px\"},\"blockGap\":\"20px\"},\"color\":{\"background\":\"#f7f7f7\"},\"border\":{\"radius\":\"8px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group has-background\" style=\"border-radius:8px;background-color:#f7f7f7;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\r\n<h2 class=\"wp-block-heading\" style=\"font-size:18px;font-style:normal;font-weight:600\"><strong>Simply fantastic!</strong></h2>\r\n<!-- /wp:heading -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.5,\"fontSize\":\"16px\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:16px;font-style:normal;font-weight:400;line-height:1.5\">\"It is a long established fact that a reader will be distracted by the readable content.”</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"14px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"left\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":1033,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\r\n<figure class=\"wp-block-image size-full is-style-rounded\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/06/Fram.svg\" alt=\"\" class=\"wp-image-1033\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"4px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"lineHeight\":1.3}}} -->\r\n<p style=\"font-size:16px;font-style:normal;font-weight:700;line-height:1.3\">Name Surname</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.1},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:14px;font-style:normal;font-weight:400;line-height:1.1\">Position @company</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"padding\":{\"top\":\"24px\",\"right\":\"24px\",\"bottom\":\"24px\",\"left\":\"24px\"},\"blockGap\":\"20px\"},\"color\":{\"background\":\"#f7f7f7\"},\"border\":{\"radius\":\"8px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group has-background\" style=\"border-radius:8px;background-color:#f7f7f7;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\r\n<h2 class=\"wp-block-heading\" style=\"font-size:18px;font-style:normal;font-weight:600\"><strong>Support is good</strong></h2>\r\n<!-- /wp:heading -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":\"1.5\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:16px;font-style:normal;font-weight:400;line-height:1.5\">\"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters.”</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"14px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"left\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":1033,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\r\n<figure class=\"wp-block-image size-full is-style-rounded\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/06/Fram.svg\" alt=\"\" class=\"wp-image-1033\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"4px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"lineHeight\":1.3}}} -->\r\n<p style=\"font-size:16px;font-style:normal;font-weight:700;line-height:1.3\">Name Surname</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.1},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:14px;font-style:normal;font-weight:400;line-height:1.1\">Position @company</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:column -->\r\n\r\n<!-- wp:column {\"width\":\"33.34%\",\"style\":{\"spacing\":{\"blockGap\":\"32px\"}}} -->\r\n<div class=\"wp-block-column\" style=\"flex-basis:33.34%\"><!-- wp:group {\"style\":{\"spacing\":{\"padding\":{\"top\":\"24px\",\"right\":\"24px\",\"bottom\":\"24px\",\"left\":\"24px\"},\"blockGap\":\"20px\"},\"color\":{\"background\":\"#f7f7f7\"},\"border\":{\"radius\":\"8px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group has-background\" style=\"border-radius:8px;background-color:#f7f7f7;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\r\n<h2 class=\"wp-block-heading\" style=\"font-size:18px;font-style:normal;font-weight:600\"><strong>Completely changed my workflow</strong></h2>\r\n<!-- /wp:heading -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":\"1.5\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:16px;font-style:normal;font-weight:400;line-height:1.5\">\"There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour.”</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"14px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"left\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":1033,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\r\n<figure class=\"wp-block-image size-full is-style-rounded\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/06/Fram.svg\" alt=\"\" class=\"wp-image-1033\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"4px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"lineHeight\":1.3}}} -->\r\n<p style=\"font-size:16px;font-style:normal;font-weight:700;line-height:1.3\">Name Surname</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.1},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:14px;font-style:normal;font-weight:400;line-height:1.1\">Position @company</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"padding\":{\"top\":\"24px\",\"right\":\"24px\",\"bottom\":\"24px\",\"left\":\"24px\"},\"blockGap\":\"20px\"},\"color\":{\"background\":\"#f7f7f7\"},\"border\":{\"radius\":\"8px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group has-background\" style=\"border-radius:8px;background-color:#f7f7f7;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\r\n<h2 class=\"wp-block-heading\" style=\"font-size:18px;font-style:normal;font-weight:600\"><strong>Nice tool for freelancers</strong></h2>\r\n<!-- /wp:heading -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":\"1.5\",\"fontSize\":\"16px\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:16px;font-style:normal;font-weight:400;line-height:1.5\">\"It is a long established fact that a reader will be distracted by the readable content.”</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"14px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"left\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":1033,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\r\n<figure class=\"wp-block-image size-full is-style-rounded\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/06/Fram.svg\" alt=\"\" class=\"wp-image-1033\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"4px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"lineHeight\":1.3}}} -->\r\n<p style=\"font-size:16px;font-style:normal;font-weight:700;line-height:1.3\">Name Surname</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.1},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:14px;font-style:normal;font-weight:400;line-height:1.1\">Position @company</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:column -->\r\n\r\n<!-- wp:column {\"width\":\"33.34%\",\"style\":{\"spacing\":{\"blockGap\":\"32px\"}}} -->\r\n<div class=\"wp-block-column\" style=\"flex-basis:33.34%\"><!-- wp:group {\"style\":{\"spacing\":{\"padding\":{\"top\":\"24px\",\"right\":\"24px\",\"bottom\":\"24px\",\"left\":\"24px\"},\"blockGap\":\"20px\"},\"color\":{\"background\":\"#f7f7f7\"},\"border\":{\"radius\":\"8px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group has-background\" style=\"border-radius:8px;background-color:#f7f7f7;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\r\n<h2 class=\"wp-block-heading\" style=\"font-size:18px;font-style:normal;font-weight:600\"><strong>Favorite timesaving tool</strong></h2>\r\n<!-- /wp:heading -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":\"1.5\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:16px;font-style:normal;font-weight:400;line-height:1.5\">\"It is a long established fact that a reader will be distracted by the readable content.”</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"14px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"left\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":1033,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\r\n<figure class=\"wp-block-image size-full is-style-rounded\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/06/Fram.svg\" alt=\"\" class=\"wp-image-1033\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"4px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"lineHeight\":1.3}}} -->\r\n<p style=\"font-size:16px;font-style:normal;font-weight:700;line-height:1.3\">Name Surname</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.1},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:14px;font-style:normal;font-weight:400;line-height:1.1\">Position @company</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"padding\":{\"top\":\"24px\",\"right\":\"24px\",\"bottom\":\"24px\",\"left\":\"24px\"},\"blockGap\":\"20px\"},\"color\":{\"background\":\"#f7f7f7\"},\"border\":{\"radius\":\"8px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group has-background\" style=\"border-radius:8px;background-color:#f7f7f7;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\r\n<h2 class=\"wp-block-heading\" style=\"font-size:18px;font-style:normal;font-weight:600\"><strong>I absolutely love</strong> it</h2>\r\n<!-- /wp:heading -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":\"1.5\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:16px;font-style:normal;font-weight:400;line-height:1.5\">\"This is a very complex and beautiful set of elements. Under the hood it comes with the best things from 2 different worlds: Figma and Tailwind.”</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"14px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"left\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":1033,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\r\n<figure class=\"wp-block-image size-full is-style-rounded\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/06/Fram.svg\" alt=\"\" class=\"wp-image-1033\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"4px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"lineHeight\":1.3}}} -->\r\n<p style=\"font-size:16px;font-style:normal;font-weight:700;line-height:1.3\">Name Surname</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.1},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#666666;font-size:14px;font-style:normal;font-weight:400;line-height:1.1\">Position @company</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:column --></div>\r\n<!-- /wp:columns --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group -->", |
| 28 |
'categories' => array("patternswp-testimonials"), |
| 29 |
) |
| 30 |
); |
| 31 |
|
| 32 |
register_block_pattern( |
| 33 |
'PatternsWPTestimonials-gutenberg-block-patterns/testimonials-two', |
| 34 |
array( |
| 35 |
'title' => __( 'Testimonials Section Two', 'PatternsWPTestimonials-gutenberg-block-patterns' ), |
| 36 |
'content' => "<!-- wp:group {\"align\":\"full\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"64px\",\"right\":\"20px\",\"bottom\":\"64px\",\"left\":\"20px\"},\"blockGap\":\"64px\"}},\"backgroundColor\":\"base\",\"layout\":{\"type\":\"constrained\",\"contentSize\":\"1000px\",\"wideSize\":\"1440px\"}} -->\r\n<div class=\"wp-block-group alignfull has-base-background-color has-background\" style=\"padding-top:64px;padding-right:20px;padding-bottom:64px;padding-left:20px\"><!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"32px\"}},\"layout\":{\"type\":\"flex\",\"orientation\":\"vertical\",\"justifyContent\":\"center\",\"verticalAlignment\":\"top\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":443,\"width\":68,\"height\":50,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\r\n<figure class=\"wp-block-image size-full is-resized\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/04/c.png\" alt=\"\" class=\"wp-image-443\" width=\"68\" height=\"50\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"24px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"lineHeight\":\"1.5\"}},\"textColor\":\"contrast\"} -->\r\n<p class=\"has-text-align-center has-contrast-color has-text-color\" style=\"font-size:24px;font-style:normal;font-weight:500;line-height:1.5\">“Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed convallis odio turpis. Aenean vitae sollicitudin justo, eu rhoncus tellus. Praesent semper id risus et dignissim. Nunc dictum nulla et facilisis blandit. Aliquam eget erat augue.”</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"14px\"}},\"layout\":{\"type\":\"flex\",\"orientation\":\"vertical\",\"justifyContent\":\"center\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":1033,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\r\n<figure class=\"wp-block-image size-full is-style-rounded\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/06/Fram.svg\" alt=\"\" class=\"wp-image-1033\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"4px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\",\"justifyContent\":\"center\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\",\"lineHeight\":1.3}}} -->\r\n<p class=\"has-text-align-center\" style=\"font-size:16px;font-style:normal;font-weight:600;line-height:1.3\">Name Surname</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.1},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-align-center has-text-color\" style=\"color:#666666;font-size:14px;font-style:normal;font-weight:400;line-height:1.1\">Position @company</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group -->", |
| 37 |
'categories' => array("patternswp-testimonials"), |
| 38 |
) |
| 39 |
); |
| 40 |
|
| 41 |
register_block_pattern( |
| 42 |
'PatternsWPTestimonials-gutenberg-block-patterns/testimonials-three', |
| 43 |
array( |
| 44 |
'title' => __( 'Testimonials Section Three', 'PatternsWPTestimonials-gutenberg-block-patterns' ), |
| 45 |
'content' => "<!-- wp:group {\"align\":\"full\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"64px\",\"right\":\"20px\",\"bottom\":\"64px\",\"left\":\"20px\"},\"blockGap\":\"64px\"}},\"backgroundColor\":\"base\",\"layout\":{\"type\":\"constrained\",\"contentSize\":\"1280px\",\"wideSize\":\"1440px\"}} -->\r\n<div class=\"wp-block-group alignfull has-base-background-color has-background\" style=\"padding-top:64px;padding-right:20px;padding-bottom:64px;padding-left:20px\"><!-- wp:columns {\"verticalAlignment\":\"center\",\"style\":{\"spacing\":{\"blockGap\":{\"top\":\"80px\",\"left\":\"80px\"}}}} -->\r\n<div class=\"wp-block-columns are-vertically-aligned-center\"><!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"50%\"} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:50%\"><!-- wp:image {\"id\":461,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\r\n<figure class=\"wp-block-image size-full\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/04/624.svg\" alt=\"\" class=\"wp-image-461\"/></figure>\r\n<!-- /wp:image --></div>\r\n<!-- /wp:column -->\r\n\r\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"50%\",\"style\":{\"spacing\":{\"blockGap\":\"32px\"}}} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:50%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"35px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"lineHeight\":\"1.2\",\"letterSpacing\":\"0.08em\"},\"color\":{\"text\":\"#686868\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#686868;font-size:35px;font-style:normal;font-weight:500;letter-spacing:0.08em;line-height:1.2\">� |
| 46 |
� |
| 47 |
� |
| 48 |
� |
| 49 |
� |
| 50 |
</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"16px\"}},\"layout\":{\"type\":\"flex\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"24px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\",\"lineHeight\":1.3}}} -->\r\n<p style=\"font-size:24px;font-style:normal;font-weight:600;line-height:1.3\">Lorem ipsum dolor sit amet</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontSize\":\"22px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":\"1.5\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-align-left has-text-color\" style=\"color:#666666;font-size:22px;font-style:normal;font-weight:400;line-height:1.5\">“Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed convallis odio turpis. Aenean vitae sollicitudin justo, eu rhoncus tellus.”</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"14px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":1033,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\r\n<figure class=\"wp-block-image size-full is-style-rounded\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/06/Fram.svg\" alt=\"\" class=\"wp-image-1033\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"4px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\",\"justifyContent\":\"left\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\",\"lineHeight\":1.3}}} -->\r\n<p class=\"has-text-align-left\" style=\"font-size:16px;font-style:normal;font-weight:600;line-height:1.3\">Name Surname</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.1},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-align-left has-text-color\" style=\"color:#666666;font-size:14px;font-style:normal;font-weight:400;line-height:1.1\">Position @company</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:column --></div>\r\n<!-- /wp:columns --></div>\r\n<!-- /wp:group -->", |
| 51 |
'categories' => array("patternswp-testimonials"), |
| 52 |
) |
| 53 |
); |
| 54 |
|
| 55 |
register_block_pattern( |
| 56 |
'PatternsWPTestimonials-gutenberg-block-patterns/testimonials-four', |
| 57 |
array( |
| 58 |
'title' => __( 'Testimonials Section Four', 'PatternsWPTestimonials-gutenberg-block-patterns' ), |
| 59 |
'content' => "<!-- wp:group {\"align\":\"full\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"64px\",\"right\":\"20px\",\"bottom\":\"64px\",\"left\":\"20px\"},\"blockGap\":\"64px\"}},\"backgroundColor\":\"base\",\"layout\":{\"type\":\"constrained\",\"contentSize\":\"1000px\",\"wideSize\":\"1440px\"}} -->\r\n<div class=\"wp-block-group alignfull has-base-background-color has-background\" style=\"padding-top:64px;padding-right:20px;padding-bottom:64px;padding-left:20px\"><!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"32px\"}},\"layout\":{\"type\":\"flex\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"35px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"lineHeight\":\"1.2\",\"letterSpacing\":\"0.08em\"},\"color\":{\"text\":\"#686868\"}}} -->\r\n<p class=\"has-text-color\" style=\"color:#686868;font-size:35px;font-style:normal;font-weight:500;letter-spacing:0.08em;line-height:1.2\">� |
| 60 |
� |
| 61 |
� |
| 62 |
� |
| 63 |
� |
| 64 |
</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"16px\"}},\"layout\":{\"type\":\"flex\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontSize\":\"32px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"lineHeight\":\"1.5\"}},\"textColor\":\"contrast\"} -->\r\n<p class=\"has-text-align-left has-contrast-color has-text-color\" style=\"font-size:32px;font-style:normal;font-weight:500;line-height:1.5\">“Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed convallis odio turpis. Aenean vitae sollicitudin justo, eu rhoncus tellus. Praesent semper id risus et dignissim. Nunc dictum nulla et facilisis blandit. Aliquam eget erat augue.”</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"14px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":1033,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\r\n<figure class=\"wp-block-image size-full is-style-rounded\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/06/Fram.svg\" alt=\"\" class=\"wp-image-1033\"/></figure>\r\n<!-- /wp:image -->\r\n\r\n<!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"4px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"orientation\":\"vertical\",\"justifyContent\":\"left\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\",\"lineHeight\":1.3}}} -->\r\n<p class=\"has-text-align-left\" style=\"font-size:16px;font-style:normal;font-weight:600;line-height:1.3\">Name</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"lineHeight\":1.1},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-align-left has-text-color\" style=\"color:#666666;font-size:14px;font-style:normal;font-weight:400;line-height:1.1\">Position @company</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group --></div>\r\n<!-- /wp:group -->", |
| 65 |
'categories' => array("patternswp-testimonials"), |
| 66 |
) |
| 67 |
); |
| 68 |
|
| 69 |
|
| 70 |
} |
| 71 |
} |
| 72 |
add_action( 'init', 'PatternsWPTestimonials_patterns_register_block_patterns' ); |
| 73 |
|
| 74 |
|