Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef0b542e9d | ||
|
|
8f9fd8bf4c |
+5
-1
@@ -19,11 +19,15 @@ $locations = get_nav_menu_locations();
|
||||
$footerNav = ! empty( $locations['footer_navigation'] )
|
||||
? ( wp_get_nav_menu_items( (int) $locations['footer_navigation'] ) ? wp_get_nav_menu_items( (int) $locations['footer_navigation'] ) : array() )
|
||||
: array();
|
||||
|
||||
if ( ! is_page( 'contact' ) ) {
|
||||
$marginClass = 'mt-20';
|
||||
}
|
||||
?>
|
||||
|
||||
</main>
|
||||
|
||||
<footer role="contentinfo" class="site-footer bg-cwc-blue-02 text-white pt-16 pb-12 text-base">
|
||||
<footer role="contentinfo" class="site-footer bg-cwc-blue-02 text-white pt-16 pb-12 text-base <?php echo esc_attr( $marginClass ?? '' ); ?>">
|
||||
<div class="container mx-auto grid grid-cols-4 gap-6">
|
||||
<div class="max-w-[40ch]">
|
||||
<h2 id="footer-header" class="max-w-64 h-auto">
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ $showHero = $post->post_parent === $services ? true : false;
|
||||
<?php
|
||||
if ( $showHero ) :
|
||||
get_template_part( 'views/partials/page-hero-services' );
|
||||
elseif ( ! is_front_page() ) :
|
||||
elseif ( ! is_front_page() && ! is_page( 'contact' ) ) :
|
||||
get_template_part( 'views/partials/page-hero' );
|
||||
endif;
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user