Compare commits
36 Commits
5780ee2c01
...
main
Author | SHA1 | Date | |
---|---|---|---|
22b585503a | |||
a61f6e096e | |||
98f1d6c25e | |||
1ec1dc6117 | |||
8db504c6d3 | |||
5b12d00cbc | |||
740cd651f9 | |||
1462c1e917 | |||
b7a8bbe890 | |||
8603bfa01c | |||
c4708d38fd | |||
7131f5e15a | |||
916df0991d | |||
b82454087e | |||
2332fd7707 | |||
bdde45886e | |||
3b6e32a9f4 | |||
19037858b9 | |||
3481e1dd40 | |||
c6fba96a3e | |||
5530baf87f | |||
2d7210e352 | |||
0ed8cab0ff | |||
960ba34458 | |||
663935dd51 | |||
ec5a317ed8 | |||
ca117ebed7 | |||
2f8e7a7b93 | |||
d833bf811e | |||
7bdf0ea3db | |||
71ed072f7c | |||
ef9cdf7439 | |||
f3e9f9a000 | |||
ff12b669cd | |||
a514a66e4e | |||
a27d0a9f17 |
@ -20,3 +20,90 @@ function cmt_pattern_categories() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
add_action( 'init', 'cmt_pattern_categories' );
|
add_action( 'init', 'cmt_pattern_categories' );
|
||||||
|
|
||||||
|
|
||||||
|
/*== DISABLE COMMENTS ==*/
|
||||||
|
add_action('admin_init', function () {
|
||||||
|
// Redirect any user trying to access comments page
|
||||||
|
global $pagenow;
|
||||||
|
|
||||||
|
if ($pagenow === 'edit-comments.php') {
|
||||||
|
wp_safe_redirect(admin_url());
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Remove comments metabox from dashboard
|
||||||
|
remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal');
|
||||||
|
|
||||||
|
// Disable support for comments and trackbacks in post types
|
||||||
|
foreach (get_post_types() as $post_type) {
|
||||||
|
if (post_type_supports($post_type, 'comments')) {
|
||||||
|
remove_post_type_support($post_type, 'comments');
|
||||||
|
remove_post_type_support($post_type, 'trackbacks');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Close comments on the front-end
|
||||||
|
add_filter('comments_open', '__return_false', 20, 2);
|
||||||
|
add_filter('pings_open', '__return_false', 20, 2);
|
||||||
|
|
||||||
|
// Hide existing comments
|
||||||
|
add_filter('comments_array', '__return_empty_array', 10, 2);
|
||||||
|
|
||||||
|
// Remove comments page in menu
|
||||||
|
add_action('admin_menu', function () {
|
||||||
|
remove_menu_page('edit-comments.php');
|
||||||
|
});
|
||||||
|
|
||||||
|
// Remove comments links from admin bar
|
||||||
|
add_action('init', function () {
|
||||||
|
if (is_admin_bar_showing()) {
|
||||||
|
remove_action('admin_bar_menu', 'wp_admin_bar_comments_menu', 60);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/*== END DISABLE COMMENTS ==*/
|
||||||
|
|
||||||
|
/*== ENABLE SVG UPLOADS ==*/
|
||||||
|
// Allow SVG
|
||||||
|
add_filter( 'wp_check_filetype_and_ext', function($data, $file, $filename, $mimes) {
|
||||||
|
|
||||||
|
global $wp_version;
|
||||||
|
if ( $wp_version !== '4.7.1' ) {
|
||||||
|
return $data;
|
||||||
|
}
|
||||||
|
|
||||||
|
$filetype = wp_check_filetype( $filename, $mimes );
|
||||||
|
|
||||||
|
return [
|
||||||
|
'ext' => $filetype['ext'],
|
||||||
|
'type' => $filetype['type'],
|
||||||
|
'proper_filename' => $data['proper_filename']
|
||||||
|
];
|
||||||
|
|
||||||
|
}, 10, 4 );
|
||||||
|
|
||||||
|
function cc_mime_types( $mimes ){
|
||||||
|
$mimes['svg'] = 'image/svg+xml';
|
||||||
|
return $mimes;
|
||||||
|
}
|
||||||
|
add_filter( 'upload_mimes', 'cc_mime_types' );
|
||||||
|
|
||||||
|
function fix_svg() {
|
||||||
|
echo '<style type="text/css">
|
||||||
|
.attachment-266x266, .thumbnail img {
|
||||||
|
width: 100% !important;
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
|
</style>';
|
||||||
|
}
|
||||||
|
add_action( 'admin_head', 'fix_svg' );
|
||||||
|
|
||||||
|
/*== END ENABLE SVG UPLOADS ==*/
|
||||||
|
|
||||||
|
// remove stock wordpress patterns
|
||||||
|
function remove_core_patterns() {
|
||||||
|
remove_theme_support('core-block-patterns');
|
||||||
|
}
|
||||||
|
add_action('after_setup_theme', 'remove_core_patterns');
|
||||||
|
@ -28,8 +28,7 @@
|
|||||||
<!-- wp:html {"metadata":{"name":"google-map"}} -->
|
<!-- wp:html {"metadata":{"name":"google-map"}} -->
|
||||||
<iframe
|
<iframe
|
||||||
src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d4861.401919479944!2d-2.076866!3d52.466443!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x487096d46a6c5a4d%3A0xfbb033fe40d15d07!2sCMT%20Engineering%20LTD!5e0!3m2!1sen!2sus!4v1714038134763!5m2!1sen!2sus"
|
src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d4861.401919479944!2d-2.076866!3d52.466443!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x487096d46a6c5a4d%3A0xfbb033fe40d15d07!2sCMT%20Engineering%20LTD!5e0!3m2!1sen!2sus!4v1714038134763!5m2!1sen!2sus"
|
||||||
class="google-map"
|
class="google-map" width="100%" height="336" style="border:0;" allowfullscreen="" loading="lazy"
|
||||||
width="100%" height="336" style="border:0;" allowfullscreen="" loading="lazy"
|
|
||||||
referrerpolicy="no-referrer-when-downgrade"></iframe>
|
referrerpolicy="no-referrer-when-downgrade"></iframe>
|
||||||
<!-- /wp:html -->
|
<!-- /wp:html -->
|
||||||
</div>
|
</div>
|
||||||
@ -134,9 +133,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
|
|
||||||
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"right":"0","left":"0","top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"backgroundColor":"secondary","textColor":"white","fontSize":"small"} -->
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"right":"0","left":"0","top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"fontStyle":"normal","fontWeight":"400"}},"backgroundColor":"secondary","textColor":"white","fontSize":"small"} -->
|
||||||
<p class="has-text-align-center has-white-color has-secondary-background-color has-text-color has-background has-link-color has-small-font-size"
|
<p class="has-text-align-center has-white-color has-secondary-background-color has-text-color has-background has-link-color has-small-font-size"
|
||||||
style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
|
style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);font-style:normal;font-weight:400">
|
||||||
©2024 CMT Engineering Ltd | Company No. 09920464 |
|
©2024 CMT Engineering Ltd | Company No. 09920464 |
|
||||||
<a href="https://www.cmt-engineering.co.uk/privacy-policy/">Privacy Policy</a> | <a
|
<a href="https://www.cmt-engineering.co.uk/privacy-policy/">Privacy Policy</a> | <a
|
||||||
href="https://www.cmt-engineering.co.uk/sitemap/">Sitemap</a> | Website by <a
|
href="https://www.cmt-engineering.co.uk/sitemap/">Sitemap</a> | Website by <a
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"backgroundColor":"base-2","layout":{"type":"constrained","contentSize":"","wideSize":""}} -->
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|30","left":"0","right":"0"},"margin":{"bottom":"0"}}},"backgroundColor":"white","layout":{"type":"constrained","contentSize":"","wideSize":""}} -->
|
||||||
<div class="wp-block-group has-base-2-background-color has-background"
|
<div class="wp-block-group has-white-background-color has-background"
|
||||||
style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"><!-- wp:columns -->
|
style="margin-bottom:0;padding-top:var(--wp--preset--spacing--20);padding-right:0;padding-bottom:var(--wp--preset--spacing--30);padding-left:0">
|
||||||
|
<!-- wp:columns -->
|
||||||
<div class="wp-block-columns"><!-- wp:column {"width":"25%"} -->
|
<div class="wp-block-columns"><!-- wp:column {"width":"25%"} -->
|
||||||
<div class="wp-block-column" style="flex-basis:25%">
|
<div class="wp-block-column" style="flex-basis:25%">
|
||||||
<!-- wp:image {"id":2132,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
|
<!-- wp:image {"lightbox":{"enabled":false},"id":2132,"width":"275px","sizeSlug":"full","linkDestination":"custom","align":"center"} -->
|
||||||
<figure class="wp-block-image aligncenter size-full"><img
|
<figure class="wp-block-image aligncenter size-full is-resized"><a href="/"><img
|
||||||
src="http://www.cmt.localhost/wp-content/uploads/2024/04/cmt-engineering-logo.png" alt=""
|
src="http://www.cmt.localhost/wp-content/uploads/2024/04/cmt-engineering-logo.png" alt=""
|
||||||
class="wp-image-2132" /></figure>
|
class="wp-image-2132" style="width:275px" /></a></figure>
|
||||||
<!-- /wp:image -->
|
<!-- /wp:image -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:column -->
|
<!-- /wp:column -->
|
||||||
@ -15,17 +16,21 @@
|
|||||||
<div class="wp-block-column hide-on-mobile" style="flex-basis:50%"></div>
|
<div class="wp-block-column hide-on-mobile" style="flex-basis:50%"></div>
|
||||||
<!-- /wp:column -->
|
<!-- /wp:column -->
|
||||||
|
|
||||||
<!-- wp:column {"width":"25%","className":"hide-on-mobile"} -->
|
<!-- wp:column {"verticalAlignment":"bottom","width":"25%","className":"hide-on-mobile"} -->
|
||||||
<div class="wp-block-column hide-on-mobile" style="flex-basis:25%"><!-- wp:columns -->
|
<div class="wp-block-column is-vertically-aligned-bottom hide-on-mobile" style="flex-basis:25%">
|
||||||
<div class="wp-block-columns"><!-- wp:column {"layout":{"type":"constrained","justifyContent":"right"}} -->
|
<!-- wp:columns {"verticalAlignment":"bottom"} -->
|
||||||
<div class="wp-block-column">
|
<div class="wp-block-columns are-vertically-aligned-bottom">
|
||||||
<!-- wp:paragraph {"align":"right","style":{"color":{"text":"#344c81"},"elements":{"link":{"color":{"text":"#344c81"}}}},"fontSize":"large"} -->
|
<!-- wp:column {"verticalAlignment":"bottom","style":{"spacing":{"blockGap":"var:preset|spacing|20","padding":{"bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained","justifyContent":"right"}} -->
|
||||||
<p class="has-text-align-right has-text-color has-link-color has-large-font-size" style="color:#344c81">Call
|
<div class="wp-block-column is-vertically-aligned-bottom" style="padding-bottom:var(--wp--preset--spacing--30)">
|
||||||
|
<!-- wp:paragraph {"align":"right","style":{"color":{"text":"#344c81"},"elements":{"link":{"color":{"text":"#344c81"}}},"typography":{"fontStyle":"normal","fontWeight":"400","fontSize":"30px"}}} -->
|
||||||
|
<p class="has-text-align-right has-text-color has-link-color"
|
||||||
|
style="color:#344c81;font-size:30px;font-style:normal;font-weight:400">Call
|
||||||
01384 563 200</p>
|
01384 563 200</p>
|
||||||
<!-- /wp:paragraph -->
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
<!-- wp:paragraph {"align":"right","style":{"color":{"text":"#777777"},"elements":{"link":{"color":{"text":"#777777"}}},"typography":{"fontSize":"0.9rem"}}} -->
|
<!-- wp:paragraph {"align":"right","style":{"color":{"text":"#777777"},"elements":{"link":{"color":{"text":"#777777"}}},"typography":{"fontStyle":"normal","fontWeight":"400","fontSize":"14px","lineHeight":"1.5"}}} -->
|
||||||
<p class="has-text-align-right has-text-color has-link-color" style="color:#777777;font-size:0.9rem">CMT
|
<p class="has-text-align-right has-text-color has-link-color"
|
||||||
|
style="color:#777777;font-size:14px;font-style:normal;font-weight:400;line-height:1.5">CMT
|
||||||
Engineering Ltd, Corngreaves Road<br>Cradley Heath, West Midlands<br>B64 7DG, United Kingdom</p>
|
Engineering Ltd, Corngreaves Road<br>Cradley Heath, West Midlands<br>B64 7DG, United Kingdom</p>
|
||||||
<!-- /wp:paragraph -->
|
<!-- /wp:paragraph -->
|
||||||
</div>
|
</div>
|
||||||
@ -39,13 +44,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
|
|
||||||
<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"0","bottom":"0"}}},"backgroundColor":"primary","textColor":"white","className":"main-navigation","layout":{"type":"constrained","wideSize":"1300px","contentSize":"1300px"}} -->
|
<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"0","bottom":"0","left":"var:preset|spacing|60"},"margin":{"top":"0"}}},"backgroundColor":"primary","textColor":"white","className":"main-navigation","layout":{"type":"constrained","wideSize":"1300px","contentSize":"1300px"}} -->
|
||||||
<div
|
<div
|
||||||
class="wp-block-group main-navigation has-white-color has-primary-background-color has-text-color has-background has-link-color"
|
class="wp-block-group main-navigation has-white-color has-primary-background-color has-text-color has-background has-link-color"
|
||||||
style="padding-top:0;padding-bottom:0">
|
style="margin-top:0;padding-top:0;padding-bottom:0;padding-left:var(--wp--preset--spacing--60)">
|
||||||
<!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
<!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||||
<div class="wp-block-group alignwide">
|
<div class="wp-block-group alignwide">
|
||||||
<!-- wp:navigation {"ref":2119,"icon":"menu","overlayBackgroundColor":"primary","overlayTextColor":"white","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left"},"style":{"typography":{"fontSize":"0.9rem"}}} /-->
|
<!-- wp:navigation {"ref":2119,"icon":"menu","overlayBackgroundColor":"primary","overlayTextColor":"white","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left"},"style":{"typography":{"fontSize":"0.9rem","fontStyle":"normal","fontWeight":"400"}}} /-->
|
||||||
|
|
||||||
<!-- wp:search {"label":"Search","showLabel":false,"placeholder":"Search..","widthUnit":"px","buttonText":"Search","buttonUseIcon":true,"style":{"layout":{"selfStretch":"fit","flexSize":null}},"backgroundColor":"primary"} /-->
|
<!-- wp:search {"label":"Search","showLabel":false,"placeholder":"Search..","widthUnit":"px","buttonText":"Search","buttonUseIcon":true,"style":{"layout":{"selfStretch":"fit","flexSize":null}},"backgroundColor":"primary"} /-->
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,13 +8,6 @@
|
|||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
|
||||||
<div class="wp-block-group"><!-- wp:spacer {"height":"14px"} -->
|
|
||||||
<div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
||||||
<!-- /wp:spacer -->
|
|
||||||
|
|
||||||
<!-- wp:post-title {"style":{"typography":{"fontSize":"30px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /-->
|
|
||||||
|
|
||||||
<!-- wp:paragraph -->
|
<!-- wp:paragraph -->
|
||||||
<p>CMT Engineering is an independent company owned by Anjali Agrawal with two divisions. Anjali is a chartered accountant; she has experience of working in various locations worldwide, giving her the opportunity to build a network of international relationships.</p>
|
<p>CMT Engineering is an independent company owned by Anjali Agrawal with two divisions. Anjali is a chartered accountant; she has experience of working in various locations worldwide, giving her the opportunity to build a network of international relationships.</p>
|
||||||
<!-- /wp:paragraph -->
|
<!-- /wp:paragraph -->
|
||||||
@ -101,9 +94,3 @@
|
|||||||
<!-- /wp:column -->
|
<!-- /wp:column -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:columns -->
|
<!-- /wp:columns -->
|
||||||
|
|
||||||
<!-- wp:spacer {"height":"42px"} -->
|
|
||||||
<div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
||||||
<!-- /wp:spacer -->
|
|
||||||
</div>
|
|
||||||
<!-- /wp:group -->
|
|
216
patterns/history.php
Normal file
216
patterns/history.php
Normal file
@ -0,0 +1,216 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Title: Our History page
|
||||||
|
* Slug: cmt/history
|
||||||
|
* Description: Default content for the Our History page
|
||||||
|
* Categories: cmt, featured
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:paragraph -->
|
||||||
|
<p>CMT Engineering Ltd. has a long history stretching back over 100 years on its site in Cradley Heath.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}}} -->
|
||||||
|
<p style="margin-bottom:var(--wp--preset--spacing--60)">It is an independent company owned by Anjali Agrawal with two divisions. Anjali is a chartered accountant; she has experience of working in various locations worldwide, giving her the opportunity to build a network of international relationships.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:group {"metadata":{"name":"Timeline"},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:image {"id":76,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-head.png" alt="" class="wp-image-76" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">2017</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">CMT Engineering bought by Anjali Agrawal from Liberty House and incorporated as an independent company.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">2015</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Caparo’s UK businesses go into administration; bought by Liberty House Group.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">2004</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Nupac Clamps moves from Tewkesbury to become part of CMT Engineering; further development of product range and investment in new injection moulding machinery.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1997</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Major investment in semi-automatic rotary transfer machines for barrel nipple production.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1993</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Spartan is bought by Caparo; company name changed to Nupac.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1990</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Spartan Fixtures buys Spartan Plastics in Tewkesbury to produce G clamps.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1982</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Unicone transferred to CMT Engineering in Cradley Heath.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1981</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">CMT Group bought by Caparo.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1977</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Spartan Fixtures established in Martley, Worcestershire , by David Ecclestone to market his patented 40mm plastic Spartan G Clamp.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1976</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Tube Fittings moves into new premises in Cradley heath, built on the site of the original Cradley Heath Manufacturing Company.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1968</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Midland Iron Group acquired by Central Manufacturing and Trading - the reason we are still called CMT.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1960</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Midland Iron and Hardware Company formed. Cradley Heath Manufacturing and Tube Fittings become part of Midland Iron Group; close association with the Unicone Company.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1930</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Unicone Company formed in Glasgow by George Richard Inshaw. Patent application filed for Unicone system.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1924</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Tube Fittings founded. Factory in Old Hill, specialising in forged threaded mild steel elbows and tees.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1907</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Cradley Heath Manufacturing Company established, making wrought iron fittings for the gas, water and steam industries.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":84,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-stem.png" alt="" class="wp-image-84" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"className":"wp-block-heading"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-center">1811</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--50)">Wrought iron pipe fittings first produced by John Russell, landlord of the Turks Head Inn in Wednesbury. Over the next century the Black Country becomes the centre of the world’s steel tube-making industry.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:image {"id":98,"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="http://www.cmt.localhost/wp-content/uploads/2018/07/timeline-arrow-head-flipped.png" alt="" class="wp-image-98" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
50
patterns/news.php
Normal file
50
patterns/news.php
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Title: News
|
||||||
|
* Slug: cmt/news
|
||||||
|
* Description: Default content for the Latest News page
|
||||||
|
* Categories: cmt, featured
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:query {"queryId":9,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":{"category":[7]}}} -->
|
||||||
|
<div class="wp-block-query"><!-- wp:post-template -->
|
||||||
|
<!-- wp:columns -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"10%"} -->
|
||||||
|
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:10%"><!-- wp:post-date {"textAlign":"center","format":"F j, Y","style":{"typography":{"fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"textColor":"primary","fontSize":"medium"} /--></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column {"width":"80%"} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:80%"><!-- wp:post-title /-->
|
||||||
|
|
||||||
|
<!-- wp:post-excerpt {"moreText":"Read more","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:spacer {"height":"11px"} -->
|
||||||
|
<div style="height:11px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
|
||||||
|
<!-- wp:separator {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","className":"is-style-wide"} -->
|
||||||
|
<hr class="wp-block-separator has-text-color has-primary-color has-alpha-channel-opacity has-primary-background-color has-background is-style-wide" style="margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)" />
|
||||||
|
<!-- /wp:separator -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination {"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"layout":{"type":"flex","justifyContent":"center"}} -->
|
||||||
|
<!-- wp:query-pagination-previous /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-numbers /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-next /-->
|
||||||
|
<!-- /wp:query-pagination -->
|
||||||
|
|
||||||
|
<!-- wp:query-no-results -->
|
||||||
|
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
|
||||||
|
<p></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
<!-- /wp:query-no-results -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
197
patterns/product-grid.php
Normal file
197
patterns/product-grid.php
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Title: Products grid
|
||||||
|
* Slug: cmt/product-grid
|
||||||
|
* Description: Grid of products
|
||||||
|
* Categories: cmt, featured
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|70","padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:columns -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"18px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","textColor":"white"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);font-size:18px;font-style:normal;font-weight:400">Standard Spartan® G clamps</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:image {"id":2247,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter size-full"><img src="http://www.cmt.localhost/wp-content/uploads/2024/04/image-7.png" alt="" class="wp-image-2247" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:buttons {"layout":{"type":"flex","verticalAlignment":"stretch","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-buttons"><!-- wp:button {"width":100,"style":{"color":{"gradient":"linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%)"},"spacing":{"padding":{"left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}}} -->
|
||||||
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-background wp-element-button" style="background:linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%);padding-right:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">View Products</a></div>
|
||||||
|
<!-- /wp:button -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:buttons -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"18px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","textColor":"white"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);font-size:18px;font-style:normal;font-weight:400">Spartan® Wedge Clamp</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:image {"id":2248,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter size-full"><img src="http://www.cmt.localhost/wp-content/uploads/2024/04/image-8.png" alt="" class="wp-image-2248" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:buttons {"layout":{"type":"flex","verticalAlignment":"stretch","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-buttons"><!-- wp:button {"width":100,"style":{"color":{"gradient":"linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%)"},"spacing":{"padding":{"left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}}} -->
|
||||||
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-background wp-element-button" style="background:linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%);padding-right:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">View Products</a></div>
|
||||||
|
<!-- /wp:button -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:buttons -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"18px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","textColor":"white"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);font-size:18px;font-style:normal;font-weight:400">Spartan® plier clamps</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:image {"id":2249,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter size-full"><img src="http://www.cmt.localhost/wp-content/uploads/2024/04/image-9.png" alt="" class="wp-image-2249" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:buttons {"layout":{"type":"flex","verticalAlignment":"stretch","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-buttons"><!-- wp:button {"width":100,"style":{"color":{"gradient":"linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%)"},"spacing":{"padding":{"left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}}} -->
|
||||||
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-background wp-element-button" style="background:linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%);padding-right:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">View Products</a></div>
|
||||||
|
<!-- /wp:button -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:buttons -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
|
||||||
|
<!-- wp:columns -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"18px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","textColor":"white"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);font-size:18px;font-style:normal;font-weight:400">Spartan® Euro clamps</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:image {"id":2250,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter size-full"><img src="http://www.cmt.localhost/wp-content/uploads/2024/04/image-10.png" alt="" class="wp-image-2250" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:buttons {"layout":{"type":"flex","verticalAlignment":"stretch","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-buttons"><!-- wp:button {"width":100,"style":{"color":{"gradient":"linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%)"},"spacing":{"padding":{"left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}}} -->
|
||||||
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-background wp-element-button" style="background:linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%);padding-right:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">View Products</a></div>
|
||||||
|
<!-- /wp:button -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:buttons -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"18px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","textColor":"white"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);font-size:18px;font-style:normal;font-weight:400">Spartan® box clamp</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:image {"id":2251,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter size-full"><img src="http://www.cmt.localhost/wp-content/uploads/2024/04/image-11.png" alt="" class="wp-image-2251" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:buttons {"layout":{"type":"flex","verticalAlignment":"stretch","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-buttons"><!-- wp:button {"width":100,"style":{"color":{"gradient":"linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%)"},"spacing":{"padding":{"left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}}} -->
|
||||||
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-background wp-element-button" style="background:linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%);padding-right:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">View Products</a></div>
|
||||||
|
<!-- /wp:button -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:buttons -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"18px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","textColor":"white"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);font-size:18px;font-style:normal;font-weight:400">Instructions for use of Spartan® clamps</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:image {"id":2252,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter size-full"><img src="http://www.cmt.localhost/wp-content/uploads/2024/04/image-12.png" alt="" class="wp-image-2252" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:buttons {"layout":{"type":"flex","verticalAlignment":"stretch","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-buttons"><!-- wp:button {"width":100,"style":{"color":{"gradient":"linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%)"},"spacing":{"padding":{"left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}}} -->
|
||||||
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-background wp-element-button" style="background:linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%);padding-right:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">View Products</a></div>
|
||||||
|
<!-- /wp:button -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:buttons -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
|
||||||
|
<!-- wp:columns -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"18px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","textColor":"white"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);font-size:18px;font-style:normal;font-weight:400">Hexagonal floats</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:image {"id":2253,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter size-full"><img src="http://www.cmt.localhost/wp-content/uploads/2024/04/image-13.png" alt="" class="wp-image-2253" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:buttons {"layout":{"type":"flex","verticalAlignment":"stretch","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-buttons"><!-- wp:button {"width":100,"style":{"color":{"gradient":"linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%)"},"spacing":{"padding":{"left":"var:preset|spacing|80","right":"var:preset|spacing|80"}}}} -->
|
||||||
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-background wp-element-button" style="background:linear-gradient(180deg,rgb(19,93,136) 0%,rgb(107,161,227) 100%);padding-right:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">View Products</a></div>
|
||||||
|
<!-- /wp:button -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:buttons -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
109
patterns/team.php
Normal file
109
patterns/team.php
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Title: Team page
|
||||||
|
* Slug: cmt/team
|
||||||
|
* Description: Default content for the Our Team page
|
||||||
|
* Categories: cmt, featured
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:paragraph -->
|
||||||
|
<p><strong>At CMT Engineering our primary aim is always to offer outstanding customer service to our customers each and every time they deal with our company. Our team has many years of experience and can use its wide ranging product knowledge to help meet your requirements.</strong></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"0","right":"0"},"margin":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"backgroundColor":"primary","textColor":"white","fontSize":"medium"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color has-medium-font-size" style="margin-right:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20);padding-top:var(--wp--preset--spacing--20);padding-right:0;padding-bottom:var(--wp--preset--spacing--20);padding-left:0">Anjali Agrawal</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:image {"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="https://www.cmt-engineering.co.uk/wp-content/uploads/2018/07/Anjali-Agrawal.png" alt="Anjali Agrawal - Owner and CEO" title="Anjali Agrawal - Owner and CEO" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","style":{"color":{"background":"#646464"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"},"margin":{"right":"0","left":"0"}}},"textColor":"white","fontSize":"medium"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-text-color has-background has-link-color has-medium-font-size" style="background-color:#646464;margin-right:0;margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">Owner and CEO</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph -->
|
||||||
|
<p><strong>Anjali is a Chartered Accountant; she has experience of working in various locations worldwide, giving her the opportunity to build a network of international relationships.</strong></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|70"}},"layout":{"type":"constrained","contentSize":"900px","justifyContent":"left","wideSize":"1300px"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:columns {"style":{"spacing":{"blockGap":{"left":"var:preset|spacing|60"}}}} -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:heading {"textAlign":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"backgroundColor":"primary","textColor":"white","fontSize":"medium"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color has-medium-font-size" style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">Steve Pickett</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:image {"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="https://www.cmt-engineering.co.uk/wp-content/uploads/2018/07/Steve-Pickett.png" alt="Steve Pickett – Sales Manager" title="Steve Pickett – Sales Manager" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":4,"style":{"typography":{"fontSize":"18px"},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}},"color":{"background":"#646464"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white"} -->
|
||||||
|
<h4 class="wp-block-heading has-text-align-center has-white-color has-text-color has-background has-link-color" style="background-color:#646464;padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);font-size:18px">Sales Manager</h4>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph -->
|
||||||
|
<p><strong>Steve has worked in the trade for over 30 years and brings a wealth of experience to the business.</strong></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:heading {"textAlign":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"backgroundColor":"primary","textColor":"white","fontSize":"medium"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color has-medium-font-size" style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">Jon Smout</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:image {"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="https://www.cmt-engineering.co.uk/wp-content/uploads/2018/07/Jon-Smout.png" alt="Jon Smout- Works Manger" title="Jon Smout- Works Manger" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":4,"style":{"typography":{"fontSize":"18px"},"color":{"background":"#646464"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"textColor":"white"} -->
|
||||||
|
<h4 class="wp-block-heading has-text-align-center has-white-color has-text-color has-background has-link-color" style="background-color:#646464;padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);font-size:18px">Operations Manager</h4>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph -->
|
||||||
|
<p><strong>Jon has been at CMT for over 20 years, he has a deep knowledge of engineering processes and is invaluable to the company’s development.</strong></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
|
||||||
|
<!-- wp:columns {"style":{"spacing":{"blockGap":{"left":"var:preset|spacing|60"}}}} -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:heading {"textAlign":"center","style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"backgroundColor":"primary","textColor":"white","fontSize":"medium"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color has-medium-font-size" style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">Ben Whale</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:image {"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="https://www.cmt-engineering.co.uk/wp-content/uploads/2018/07/Ben-Whale.png" alt="Ben Whale - Sales Administrator" title="Ben Whale - Sales Administrator" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":4,"style":{"typography":{"fontSize":"18px"},"color":{"background":"#646464"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"textColor":"white"} -->
|
||||||
|
<h4 class="wp-block-heading has-text-align-center has-white-color has-text-color has-background has-link-color" style="background-color:#646464;padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);font-size:18px">Sales Administrator</h4>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:heading {"textAlign":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"backgroundColor":"primary","textColor":"white","fontSize":"medium"} -->
|
||||||
|
<h2 class="wp-block-heading has-text-align-center has-white-color has-primary-background-color has-text-color has-background has-link-color has-medium-font-size" style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">Sharon Sahota</h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:image {"align":"center"} -->
|
||||||
|
<figure class="wp-block-image aligncenter"><img src="https://www.cmt-engineering.co.uk/wp-content/uploads/2018/07/Sharon-Sahota.png" alt="Sharon Sahota - Sales Administrator" title="Sharon Sahota - Sales Administrator" /></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":5,"style":{"typography":{"fontSize":"18px"},"color":{"background":"#646464"},"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"textColor":"white"} -->
|
||||||
|
<h5 class="wp-block-heading has-text-align-center has-white-color has-text-color has-background has-link-color" style="background-color:#646464;padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);font-size:18px">Sales Administrator</h5>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
50
style.css
50
style.css
@ -19,6 +19,12 @@ Version: 0.1
|
|||||||
.wp-block-navigation .wp-block-navigation-item:focus-visible {
|
.wp-block-navigation .wp-block-navigation-item:focus-visible {
|
||||||
background: var(--wp--preset--color--secondary);
|
background: var(--wp--preset--color--secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* fix weird padding and font weight on header nav dropdown items */
|
||||||
|
ul.wp-block-navigation__submenu-container.has-background {
|
||||||
|
padding: 0;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 786px) {
|
@media screen and (max-width: 786px) {
|
||||||
@ -44,3 +50,47 @@ Version: 0.1
|
|||||||
width: 32px;
|
width: 32px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* style contact form */
|
||||||
|
.visual-form-builder label, label.vfb-desc {
|
||||||
|
color: #055CAD;
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 0 0 13px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vfb-legend {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
form.visual-form-builder {
|
||||||
|
position: relative;
|
||||||
|
margin: 20px 0;
|
||||||
|
background: 0;
|
||||||
|
list-style: none;
|
||||||
|
list-style-type: none;
|
||||||
|
list-style-image: none;
|
||||||
|
text-shadow: none;
|
||||||
|
font-family: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.visual-form-builder fieldset {
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: 0px solid #d3d3d3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.visual-form-builder input[type="submit"] {
|
||||||
|
background: #055CAD;
|
||||||
|
outline: none;
|
||||||
|
border-bottom: 3px solid #055CAD;
|
||||||
|
|
||||||
|
border: none;
|
||||||
|
border-bottom-width: medium;
|
||||||
|
border-bottom-style: none;
|
||||||
|
border-bottom-color: currentcolor;
|
||||||
|
border-bottom: 3px solid #055CAD;
|
||||||
|
border-radius: 2px;
|
||||||
|
color: #fff;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 11px 24px 10px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
@ -1,45 +1,57 @@
|
|||||||
<!-- wp:template-part {"slug":"header","theme":"twentytwentyfour-child","tagName":"header","area":"header"} /-->
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"base","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group has-base-background-color has-background"
|
||||||
|
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||||||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignwide has-white-background-color has-background"
|
||||||
|
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||||||
|
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
|
||||||
|
|
||||||
<!-- wp:group {"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
|
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
|
||||||
<main class="wp-block-group alignfull"><!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50"}}}} -->
|
<div class="wp-block-group"
|
||||||
<h1 class="wp-block-heading alignwide" style="padding-top:var(--wp--preset--spacing--50)">Posts</h1>
|
style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
|
||||||
<!-- /wp:heading -->
|
<!-- wp:spacer {"height":"14px"} -->
|
||||||
|
<div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
<!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} -->
|
|
||||||
<div class="wp-block-query alignwide"><!-- wp:query-no-results -->
|
|
||||||
<!-- wp:paragraph -->
|
|
||||||
<p>No posts were found.</p>
|
|
||||||
<!-- /wp:paragraph -->
|
|
||||||
<!-- /wp:query-no-results -->
|
|
||||||
|
|
||||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
|
|
||||||
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0"><!-- wp:post-template {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"grid","columnCount":3}} -->
|
|
||||||
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/4","style":{"spacing":{"margin":{"bottom":"0"},"padding":{"bottom":"var:preset|spacing|20"}}}} /-->
|
|
||||||
|
|
||||||
<!-- wp:group {"style":{"spacing":{"blockGap":"10px","margin":{"top":"var:preset|spacing|20"},"padding":{"top":"0"}}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
|
|
||||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--20);padding-top:0"><!-- wp:post-title {"isLink":true,"style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}},"fontSize":"large"} /-->
|
|
||||||
|
|
||||||
<!-- wp:template-part {"slug":"post-meta","theme":"twentytwentyfour-child"} /-->
|
|
||||||
|
|
||||||
<!-- wp:post-excerpt {"style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}},"textColor":"contrast-2","fontSize":"small"} /-->
|
|
||||||
|
|
||||||
<!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}}} -->
|
|
||||||
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
||||||
<!-- /wp:spacer --></div>
|
|
||||||
<!-- /wp:group -->
|
|
||||||
<!-- /wp:post-template -->
|
|
||||||
|
|
||||||
<!-- wp:spacer {"height":"var:preset|spacing|40","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
|
|
||||||
<div style="margin-top:0;margin-bottom:0;height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
|
|
||||||
<!-- /wp:spacer -->
|
<!-- /wp:spacer -->
|
||||||
|
|
||||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
<!-- wp:post-title {"style":{"typography":{"fontSize":"30px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /-->
|
||||||
<!-- wp:query-pagination-previous /-->
|
|
||||||
|
|
||||||
<!-- wp:query-pagination-next /-->
|
<!-- wp:query {"queryId":13,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||||
<!-- /wp:query-pagination --></div>
|
<div class="wp-block-query"><!-- wp:post-template -->
|
||||||
<!-- /wp:group --></div>
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||||
<!-- /wp:query --></main>
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-date /-->
|
||||||
|
</div>
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
|
|
||||||
<!-- wp:template-part {"slug":"footer","theme":"twentytwentyfour-child","tagName":"footer","area":"footer"} /-->
|
<!-- wp:post-excerpt {"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}}} /-->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination {"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}}} -->
|
||||||
|
<!-- wp:query-pagination-previous /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-numbers /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-next /-->
|
||||||
|
<!-- /wp:query-pagination -->
|
||||||
|
|
||||||
|
<!-- wp:query-no-results -->
|
||||||
|
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
|
||||||
|
<p></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
<!-- /wp:query-no-results -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
|
||||||
|
<!-- wp:spacer {"height":"42px"} -->
|
||||||
|
<div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer","align":"wide"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
15
templates/page-no-title.html
Normal file
15
templates/page-no-title.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"base","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group has-base-background-color has-background"
|
||||||
|
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||||||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0","padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignwide has-white-background-color has-background"
|
||||||
|
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||||||
|
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-content {"align":"wide","backgroundColor":"base-2"} /-->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer","align":"wide"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
@ -1,10 +1,27 @@
|
|||||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"base","layout":{"type":"constrained"}} -->
|
||||||
<div class="wp-block-group">
|
<div class="wp-block-group has-base-background-color has-background"
|
||||||
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||||||
<div class="wp-block-group alignwide">
|
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignwide has-white-background-color has-background"
|
||||||
|
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||||||
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
|
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
|
||||||
|
|
||||||
<!-- wp:post-content {"align":"wide","backgroundColor":"base-2"} /-->
|
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"
|
||||||
|
style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
|
||||||
|
<!-- wp:spacer {"height":"14px"} -->
|
||||||
|
<div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"level":1,"style":{"typography":{"fontSize":"30px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-content /-->
|
||||||
|
|
||||||
|
<!-- wp:spacer {"height":"42px"} -->
|
||||||
|
<div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer","align":"wide"} /-->
|
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer","align":"wide"} /-->
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
<!-- wp:template-part {"slug":"header","tagName":"header","area":"header"} /-->
|
|
||||||
|
|
||||||
<!-- wp:group {"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
|
|
||||||
<main class="wp-block-group alignfull"><!-- wp:spacer {"height":"var:preset|spacing|40"} -->
|
|
||||||
<div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
|
|
||||||
<!-- /wp:spacer -->
|
|
||||||
|
|
||||||
<!-- wp:post-featured-image {"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}}} /-->
|
|
||||||
|
|
||||||
<!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} -->
|
|
||||||
<div class="wp-block-group alignwide"></div>
|
|
||||||
<!-- /wp:group -->
|
|
||||||
|
|
||||||
<!-- wp:spacer {"height":"var:preset|spacing|40"} -->
|
|
||||||
<div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
|
|
||||||
<!-- /wp:spacer --></main>
|
|
||||||
<!-- /wp:group -->
|
|
||||||
|
|
||||||
<!-- wp:template-part {"slug":"footer","tagName":"footer","area":"footer"} /-->
|
|
@ -1,15 +1,40 @@
|
|||||||
<!-- wp:template-part {"slug":"header","tagName":"header","area":"header"} /-->
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"base","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group has-base-background-color has-background"
|
||||||
|
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||||||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignwide has-white-background-color has-background"
|
||||||
|
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||||||
|
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
|
||||||
|
|
||||||
<!-- wp:heading -->
|
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained","contentSize":"1000px","wideSize":"1300px"}} -->
|
||||||
<h2 class="wp-block-heading"></h2>
|
<div class="wp-block-group"
|
||||||
<!-- /wp:heading -->
|
style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
|
||||||
|
<!-- wp:spacer {"height":"14px"} -->
|
||||||
|
<div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
|
||||||
|
<!-- wp:group {"metadata":{"name":"Post metadata"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-title {"style":{"typography":{"fontSize":"30px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"padding":{"bottom":"0"},"margin":{"bottom":"0"}}},"textColor":"primary"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-date {"style":{"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"padding":{"top":"0"}}},"textColor":"primary"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
<!-- wp:post-content /-->
|
<!-- wp:post-content /-->
|
||||||
|
|
||||||
<!-- wp:query {"queryId":70,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
<!-- wp:separator {"className":"is-style-dots"} -->
|
||||||
<div class="wp-block-query"><!-- wp:post-template -->
|
<hr class="wp-block-separator has-alpha-channel-opacity is-style-dots" />
|
||||||
<!-- wp:post-featured-image /-->
|
<!-- /wp:separator -->
|
||||||
<!-- /wp:post-template --></div>
|
|
||||||
<!-- /wp:query -->
|
|
||||||
|
|
||||||
<!-- wp:template-part {"slug":"footer","tagName":"footer","area":"footer"} /-->
|
<!-- wp:spacer {"height":"42px"} -->
|
||||||
|
<div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer","align":"wide"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
17
theme.json
17
theme.json
@ -30,6 +30,11 @@
|
|||||||
"color": "#FFF",
|
"color": "#FFF",
|
||||||
"name": "White",
|
"name": "White",
|
||||||
"slug": "white"
|
"slug": "white"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "#F2F2F2",
|
||||||
|
"name": "Base",
|
||||||
|
"slug": "base"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -55,7 +60,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fontFamily": "Lato",
|
"fontFamily": "Lato",
|
||||||
"fontStyle": "normal",
|
"fontStyle": "bold",
|
||||||
"fontWeight": "700",
|
"fontWeight": "700",
|
||||||
"src": "file:./assets/fonts/Lato-Bold.ttf"
|
"src": "file:./assets/fonts/Lato-Bold.ttf"
|
||||||
},
|
},
|
||||||
@ -110,6 +115,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"styles": {
|
"styles": {
|
||||||
|
"color": {
|
||||||
|
"background": "var(--wp--preset--color--white)"
|
||||||
|
},
|
||||||
"blocks": {
|
"blocks": {
|
||||||
"core/button": {
|
"core/button": {
|
||||||
"border": {
|
"border": {
|
||||||
@ -136,6 +144,13 @@
|
|||||||
"fontFamily": "var(--wp--preset--font-family--lato)"
|
"fontFamily": "var(--wp--preset--font-family--lato)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"customTemplates": [
|
||||||
|
{
|
||||||
|
"name": "page-no-title",
|
||||||
|
"postTypes": ["page"],
|
||||||
|
"title": "Page No Title"
|
||||||
|
}
|
||||||
|
],
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
|
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
|
||||||
}
|
}
|
Reference in New Issue
Block a user