| 1 |
<?php |
| 2 |
/** |
| 3 |
* Register Custom Block Styles |
| 4 |
*/ |
| 5 |
|
| 6 |
function PatternsWPCta_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 |
'PatternsWPCta-gutenberg-block-patterns/cta-one', |
| 25 |
array( |
| 26 |
'title' => __( 'CTA Section One', 'PatternsWPCta-gutenberg-block-patterns' ), |
| 27 |
'content' => "<!-- wp:group {\"align\":\"full\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"64px\",\"right\":\"20px\",\"bottom\":\"64px\",\"left\":\"20px\"},\"blockGap\":\"24px\"}},\"backgroundColor\":\"tertiary\",\"layout\":{\"type\":\"constrained\",\"contentSize\":\"1280px\",\"wideSize\":\"1440px\",\"justifyContent\":\"center\"}} -->\r\n<div class=\"wp-block-group alignfull has-tertiary-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\":\"var:preset|spacing|60\",\"left\":\"var:preset|spacing|60\"},\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"margin\":{\"top\":\"0\",\"bottom\":\"0\"}}}} -->\r\n<div class=\"wp-block-columns are-vertically-aligned-center\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><!-- wp:column {\"verticalAlignment\":\"center\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"blockGap\":\"8px\"}},\"layout\":{\"type\":\"constrained\",\"contentSize\":\"700px\"}} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"fontSize\":\"36px\",\"lineHeight\":1.3}},\"textColor\":\"contrast\"} -->\r\n<p class=\"has-text-align-center has-contrast-color has-text-color\" style=\"font-size:36px;font-style:normal;font-weight:700;line-height:1.3\">Take the First Step towards Success - Get Started on Your Journey!</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"fontSize\":\"18px\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-align-center has-text-color\" style=\"color:#666666;font-size:18px;font-style:normal;font-weight:400\">Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots.</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:column --></div>\r\n<!-- /wp:columns -->\r\n\r\n<!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"center\",\"orientation\":\"horizontal\"},\"style\":{\"spacing\":{\"blockGap\":\"16px\"}}} -->\r\n<div class=\"wp-block-buttons\"><!-- wp:button {\"backgroundColor\":\"black\",\"textColor\":\"white\",\"style\":{\"border\":{\"radius\":\"8px\"},\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"}}} -->\r\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:16px;font-style:normal;font-weight:500\"><a class=\"wp-block-button__link has-white-color has-black-background-color has-text-color has-background wp-element-button\" style=\"border-radius:8px\">Get Started for Free</a></div>\r\n<!-- /wp:button -->\r\n\r\n<!-- wp:button {\"textColor\":\"contrast\",\"style\":{\"border\":{\"radius\":\"8px\"},\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"}},\"className\":\"is-style-outline\"} -->\r\n<div class=\"wp-block-button has-custom-font-size is-style-outline\" style=\"font-size:16px;font-style:normal;font-weight:500\"><a class=\"wp-block-button__link has-contrast-color has-text-color wp-element-button\" style=\"border-radius:8px\">Get Started for Free</a></div>\r\n<!-- /wp:button --></div>\r\n<!-- /wp:buttons --></div>\r\n<!-- /wp:group -->", |
| 28 |
'categories' => array("patternswp-cta"), |
| 29 |
) |
| 30 |
); |
| 31 |
|
| 32 |
register_block_pattern( |
| 33 |
'PatternsWPCta-gutenberg-block-patterns/cta-two', |
| 34 |
array( |
| 35 |
'title' => __( 'CTA Section Two', 'PatternsWPCta-gutenberg-block-patterns' ), |
| 36 |
'content' => "<!-- wp:group {\"align\":\"full\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"64px\",\"right\":\"20px\",\"bottom\":\"64px\",\"left\":\"20px\"},\"blockGap\":\"36px\"}},\"backgroundColor\":\"tertiary\",\"layout\":{\"type\":\"constrained\",\"contentSize\":\"1280px\",\"wideSize\":\"1440px\",\"justifyContent\":\"center\"}} -->\r\n<div class=\"wp-block-group alignfull has-tertiary-background-color has-background\" style=\"padding-top:64px;padding-right:20px;padding-bottom:64px;padding-left:20px\"><!-- wp:columns {\"verticalAlignment\":\"center\",\"align\":\"wide\",\"style\":{\"spacing\":{\"blockGap\":{\"top\":\"24px\",\"left\":\"24px\"},\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"margin\":{\"top\":\"0\",\"bottom\":\"0\"}}}} -->\r\n<div class=\"wp-block-columns alignwide are-vertically-aligned-center\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"82%\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"blockGap\":\"12px\"}},\"layout\":{\"type\":\"default\"}} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;flex-basis:82%\"><!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"fontSize\":\"36px\",\"lineHeight\":\"1.2\"}},\"textColor\":\"contrast\"} -->\r\n<p class=\"has-text-align-left has-contrast-color has-text-color\" style=\"font-size:36px;font-style:normal;font-weight:700;line-height:1.2\">Unlock Exclusive Benefits by Joining Today!</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"fontSize\":\"18px\",\"lineHeight\":\"1.5\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-align-left has-text-color\" style=\"color:#666666;font-size:18px;font-style:normal;font-weight:400;line-height:1.5\">Contrary to popular belief, Lorem Ipsum is not simply random text.</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:column -->\r\n\r\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"18%\"} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:18%\"><!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"left\",\"orientation\":\"horizontal\"},\"style\":{\"spacing\":{\"blockGap\":\"16px\"}}} -->\r\n<div class=\"wp-block-buttons\"><!-- wp:button {\"backgroundColor\":\"black\",\"textColor\":\"white\",\"style\":{\"border\":{\"radius\":\"8px\"},\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"}}} -->\r\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:16px;font-style:normal;font-weight:500\"><a class=\"wp-block-button__link has-white-color has-black-background-color has-text-color has-background wp-element-button\" style=\"border-radius:8px\">Get Started for Free</a></div>\r\n<!-- /wp:button --></div>\r\n<!-- /wp:buttons --></div>\r\n<!-- /wp:column --></div>\r\n<!-- /wp:columns --></div>\r\n<!-- /wp:group -->", |
| 37 |
'categories' => array("patternswp-cta"), |
| 38 |
) |
| 39 |
); |
| 40 |
|
| 41 |
register_block_pattern( |
| 42 |
'PatternsWPCta-gutenberg-block-patterns/cta-three', |
| 43 |
array( |
| 44 |
'title' => __( 'CTA Section Three', 'PatternsWPCta-gutenberg-block-patterns' ), |
| 45 |
'content' => "<!-- wp:cover {\"url\":\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/05/2200_538.svg\",\"id\":617,\"dimRatio\":70,\"overlayColor\":\"contrast\",\"minHeight\":322,\"minHeightUnit\":\"px\",\"align\":\"full\"} -->\r\n<div class=\"wp-block-cover alignfull\" style=\"min-height:322px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-contrast-background-color has-background-dim-70 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-617\" alt=\"\" src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/05/2200_538.svg\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"align\":\"full\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"64px\",\"right\":\"20px\",\"bottom\":\"64px\",\"left\":\"20px\"},\"blockGap\":\"36px\"}},\"layout\":{\"type\":\"constrained\",\"contentSize\":\"1280px\",\"wideSize\":\"1440px\",\"justifyContent\":\"center\"}} -->\r\n<div class=\"wp-block-group alignfull\" style=\"padding-top:64px;padding-right:20px;padding-bottom:64px;padding-left:20px\"><!-- wp:columns {\"verticalAlignment\":\"center\",\"align\":\"wide\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"margin\":{\"top\":\"0\",\"bottom\":\"0\"},\"blockGap\":{\"top\":\"24px\",\"left\":\"24px\"}}}} -->\r\n<div class=\"wp-block-columns alignwide are-vertically-aligned-center\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"82%\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"blockGap\":\"12px\"}},\"layout\":{\"type\":\"default\"}} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;flex-basis:82%\"><!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"fontSize\":\"36px\",\"lineHeight\":1.3}},\"textColor\":\"base\"} -->\r\n<p class=\"has-text-align-left has-base-color has-text-color\" style=\"font-size:36px;font-style:normal;font-weight:700;line-height:1.3\">Unlock Exclusive Benefits by Joining Today!</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"fontSize\":\"18px\"}},\"textColor\":\"tertiary\"} -->\r\n<p class=\"has-text-align-left has-tertiary-color has-text-color\" style=\"font-size:18px;font-style:normal;font-weight:400\">Contrary to popular belief, Lorem Ipsum is not simply random text.</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:column -->\r\n\r\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"18%\",\"layout\":{\"type\":\"default\"}} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:18%\"><!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"space-between\",\"orientation\":\"horizontal\",\"flexWrap\":\"wrap\"},\"style\":{\"spacing\":{\"blockGap\":\"0\"}}} -->\r\n<div class=\"wp-block-buttons\"><!-- wp:button {\"backgroundColor\":\"base\",\"textColor\":\"contrast\",\"style\":{\"border\":{\"radius\":\"8px\"},\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"}}} -->\r\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:16px;font-style:normal;font-weight:500\"><a class=\"wp-block-button__link has-contrast-color has-base-background-color has-text-color has-background wp-element-button\" style=\"border-radius:8px\">Get Started for Free</a></div>\r\n<!-- /wp:button --></div>\r\n<!-- /wp:buttons --></div>\r\n<!-- /wp:column --></div>\r\n<!-- /wp:columns --></div>\r\n<!-- /wp:group --></div></div>\r\n<!-- /wp:cover -->", |
| 46 |
'categories' => array("patternswp-cta"), |
| 47 |
) |
| 48 |
); |
| 49 |
|
| 50 |
register_block_pattern( |
| 51 |
'PatternsWPCta-gutenberg-block-patterns/cta-four', |
| 52 |
array( |
| 53 |
'title' => __( 'CTA Section Four', 'PatternsWPCta-gutenberg-block-patterns' ), |
| 54 |
'content' => "<!-- wp:cover {\"url\":\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/05/2200_538-m.svg\",\"id\":619,\"dimRatio\":70,\"overlayColor\":\"contrast\",\"align\":\"full\"} -->\r\n<div class=\"wp-block-cover alignfull\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-contrast-background-color has-background-dim-70 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-619\" alt=\"\" src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/05/2200_538-m.svg\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"align\":\"full\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"64px\",\"right\":\"20px\",\"bottom\":\"64px\",\"left\":\"20px\"},\"blockGap\":\"24px\"}},\"layout\":{\"type\":\"constrained\",\"contentSize\":\"1280px\",\"wideSize\":\"1440px\",\"justifyContent\":\"center\"}} -->\r\n<div class=\"wp-block-group alignfull\" style=\"padding-top:64px;padding-right:20px;padding-bottom:64px;padding-left:20px\"><!-- wp:columns {\"verticalAlignment\":\"center\",\"style\":{\"spacing\":{\"blockGap\":{\"top\":\"var:preset|spacing|60\",\"left\":\"var:preset|spacing|60\"},\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"margin\":{\"top\":\"0\",\"bottom\":\"0\"}}}} -->\r\n<div class=\"wp-block-columns are-vertically-aligned-center\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><!-- wp:column {\"verticalAlignment\":\"center\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"blockGap\":\"8px\"}},\"layout\":{\"type\":\"constrained\",\"contentSize\":\"700px\"}} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"fontSize\":\"36px\",\"lineHeight\":1.3}},\"textColor\":\"base\"} -->\r\n<p class=\"has-text-align-center has-base-color has-text-color\" style=\"font-size:36px;font-style:normal;font-weight:700;line-height:1.3\">Start your free trial today!</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"fontSize\":\"18px\"}},\"textColor\":\"tertiary\"} -->\r\n<p class=\"has-text-align-center has-tertiary-color has-text-color\" style=\"font-size:18px;font-style:normal;font-weight:400\">Try PatternsWP Platform for 30 days. No credit card required.</p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:column --></div>\r\n<!-- /wp:columns -->\r\n\r\n<!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"center\",\"orientation\":\"horizontal\"},\"style\":{\"spacing\":{\"blockGap\":\"var:preset|spacing|30\"}}} -->\r\n<div class=\"wp-block-buttons\"><!-- wp:button {\"backgroundColor\":\"base\",\"textColor\":\"contrast\",\"style\":{\"border\":{\"radius\":\"8px\"},\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"}}} -->\r\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:16px;font-style:normal;font-weight:500\"><a class=\"wp-block-button__link has-contrast-color has-base-background-color has-text-color has-background wp-element-button\" style=\"border-radius:8px\">Get Started for Free</a></div>\r\n<!-- /wp:button --></div>\r\n<!-- /wp:buttons --></div>\r\n<!-- /wp:group --></div></div>\r\n<!-- /wp:cover -->", |
| 55 |
'categories' => array("patternswp-cta"), |
| 56 |
) |
| 57 |
); |
| 58 |
|
| 59 |
register_block_pattern( |
| 60 |
'PatternsWPCta-gutenberg-block-patterns/cta-five', |
| 61 |
array( |
| 62 |
'title' => __( 'CTA Section Five', 'PatternsWPCta-gutenberg-block-patterns' ), |
| 63 |
'content' => "<!-- wp:group {\"align\":\"full\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"64px\",\"right\":\"20px\",\"bottom\":\"64px\",\"left\":\"20px\"},\"blockGap\":\"36px\"}},\"backgroundColor\":\"tertiary\",\"layout\":{\"type\":\"constrained\",\"contentSize\":\"1280px\",\"wideSize\":\"1440px\",\"justifyContent\":\"center\"}} -->\r\n<div class=\"wp-block-group alignfull has-tertiary-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\":\"48px\",\"left\":\"48px\"},\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"margin\":{\"top\":\"0\",\"bottom\":\"0\"}}}} -->\r\n<div class=\"wp-block-columns are-vertically-aligned-center\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"55%\",\"style\":{\"spacing\":{\"padding\":{\"top\":\"0\",\"right\":\"0\",\"bottom\":\"0\",\"left\":\"0\"},\"blockGap\":\"24px\"}},\"layout\":{\"type\":\"constrained\",\"contentSize\":\"700px\",\"justifyContent\":\"left\"}} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;flex-basis:55%\"><!-- wp:group {\"style\":{\"spacing\":{\"blockGap\":\"12px\"}},\"layout\":{\"type\":\"flex\",\"orientation\":\"vertical\"}} -->\r\n<div class=\"wp-block-group\"><!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"700\",\"fontSize\":\"36px\",\"lineHeight\":\"1.2\"}},\"textColor\":\"contrast\"} -->\r\n<p class=\"has-text-align-left has-contrast-color has-text-color\" style=\"font-size:36px;font-style:normal;font-weight:700;line-height:1.2\">Unlock Exclusive Benefits by Joining Today!</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph {\"align\":\"left\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"fontSize\":\"18px\"},\"color\":{\"text\":\"#666666\"}}} -->\r\n<p class=\"has-text-align-left has-text-color\" style=\"color:#666666;font-size:18px;font-style:normal;font-weight:400\">Contrary to popular belief, Lorem Ipsum is not simply random text. </p>\r\n<!-- /wp:paragraph --></div>\r\n<!-- /wp:group -->\r\n\r\n<!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"left\",\"orientation\":\"horizontal\"},\"style\":{\"spacing\":{\"blockGap\":\"16px\"}}} -->\r\n<div class=\"wp-block-buttons\"><!-- wp:button {\"backgroundColor\":\"black\",\"textColor\":\"white\",\"style\":{\"border\":{\"radius\":\"8px\"},\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"}}} -->\r\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:16px;font-style:normal;font-weight:500\"><a class=\"wp-block-button__link has-white-color has-black-background-color has-text-color has-background wp-element-button\" style=\"border-radius:8px\">Get Started for Free</a></div>\r\n<!-- /wp:button -->\r\n\r\n<!-- wp:button {\"textColor\":\"contrast\",\"style\":{\"border\":{\"radius\":\"8px\"},\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"}},\"className\":\"is-style-outline\"} -->\r\n<div class=\"wp-block-button has-custom-font-size is-style-outline\" style=\"font-size:16px;font-style:normal;font-weight:500\"><a class=\"wp-block-button__link has-contrast-color has-text-color wp-element-button\" style=\"border-radius:8px\">Get Started for Free</a></div>\r\n<!-- /wp:button --></div>\r\n<!-- /wp:buttons --></div>\r\n<!-- /wp:column -->\r\n\r\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"45%\"} -->\r\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:45%\"><!-- wp:image {\"id\":454,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"style\":{\"border\":{\"radius\":\"8px\"}}} -->\r\n<figure class=\"wp-block-image size-full has-custom-border\"><img src=\"https://nce-studio-muki.instawp.xyz/wp-content/uploads/2023/04/1920_1080-1.svg\" alt=\"\" class=\"wp-image-454\" style=\"border-radius:8px\"/></figure>\r\n<!-- /wp:image --></div>\r\n<!-- /wp:column --></div>\r\n<!-- /wp:columns --></div>\r\n<!-- /wp:group -->", |
| 64 |
'categories' => array("patternswp-cta"), |
| 65 |
) |
| 66 |
); |
| 67 |
|
| 68 |
} |
| 69 |
} |
| 70 |
add_action( 'init', 'PatternsWPCta_patterns_register_block_patterns' ); |
| 71 |
|
| 72 |
|