feat: initial ACRIB WordPress deployment
- WordPress 6.9.4 (es_ES) with Kadence theme - Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto - Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold - Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI) - Plugins: Kadence Blocks, Polylang, Contact Form 7 - Custom CSS with full brand styling and responsive layout - HTTPS enforced via wp-config.php proxy detection
This commit is contained in:
40
wp-content/themes/kadence/template-parts/footer/base.php
Normal file
40
wp-content/themes/kadence/template-parts/footer/base.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the footer info
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
if ( kadence()->has_content() ) {
|
||||
kadence()->print_styles( 'kadence-content' );
|
||||
}
|
||||
kadence()->print_styles( 'kadence-footer' );
|
||||
|
||||
?>
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="site-footer-wrap">
|
||||
<?php
|
||||
/**
|
||||
* Kadence Top footer
|
||||
*
|
||||
* Hooked Kadence\top_footer
|
||||
*/
|
||||
do_action( 'kadence_top_footer' );
|
||||
/**
|
||||
* Kadence Middle footer
|
||||
*
|
||||
* Hooked Kadence\middle_footer
|
||||
*/
|
||||
do_action( 'kadence_middle_footer' );
|
||||
/**
|
||||
* Kadence Bottom footer
|
||||
*
|
||||
* Hooked Kadence\bottom_footer
|
||||
*/
|
||||
do_action( 'kadence_bottom_footer' );
|
||||
?>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the footer info
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$align = ( kadence()->sub_option( 'footer_html_align', 'desktop' ) ? kadence()->sub_option( 'footer_html_align', 'desktop' ) : 'default' );
|
||||
$tablet_align = ( kadence()->sub_option( 'footer_html_align', 'tablet' ) ? kadence()->sub_option( 'footer_html_align', 'tablet' ) : 'default' );
|
||||
$mobile_align = ( kadence()->sub_option( 'footer_html_align', 'mobile' ) ? kadence()->sub_option( 'footer_html_align', 'mobile' ) : 'default' );
|
||||
|
||||
$valign = ( kadence()->sub_option( 'footer_html_vertical_align', 'desktop' ) ? kadence()->sub_option( 'footer_html_vertical_align', 'desktop' ) : 'default' );
|
||||
$tablet_valign = ( kadence()->sub_option( 'footer_html_vertical_align', 'tablet' ) ? kadence()->sub_option( 'footer_html_vertical_align', 'tablet' ) : 'default' );
|
||||
$mobile_valign = ( kadence()->sub_option( 'footer_html_vertical_align', 'mobile' ) ? kadence()->sub_option( 'footer_html_vertical_align', 'mobile' ) : 'default' );
|
||||
|
||||
?>
|
||||
|
||||
<div class="footer-widget-area site-info site-footer-focus-item content-align-<?php echo esc_attr( $align ); ?> content-tablet-align-<?php echo esc_attr( $tablet_align ); ?> content-mobile-align-<?php echo esc_attr( $mobile_align ); ?> content-valign-<?php echo esc_attr( $valign ); ?> content-tablet-valign-<?php echo esc_attr( $tablet_valign ); ?> content-mobile-valign-<?php echo esc_attr( $mobile_valign ); ?>" data-section="kadence_customizer_footer_html">
|
||||
<div class="footer-widget-area-inner site-info-inner">
|
||||
<?php
|
||||
/**
|
||||
* Kadence Footer HTML
|
||||
*
|
||||
* Hooked Kadence\footer_html
|
||||
*/
|
||||
do_action( 'kadence_footer_html' );
|
||||
?>
|
||||
</div>
|
||||
</div><!-- .site-info -->
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the header Social Modual
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$align = ( kadence()->sub_option( 'footer_navigation_align', 'desktop' ) ? kadence()->sub_option( 'footer_navigation_align', 'desktop' ) : 'default' );
|
||||
$tablet_align = ( kadence()->sub_option( 'footer_navigation_align', 'tablet' ) ? kadence()->sub_option( 'footer_navigation_align', 'tablet' ) : 'default' );
|
||||
$mobile_align = ( kadence()->sub_option( 'footer_navigation_align', 'mobile' ) ? kadence()->sub_option( 'footer_navigation_align', 'mobile' ) : 'default' );
|
||||
|
||||
$valign = ( kadence()->sub_option( 'footer_navigation_vertical_align', 'desktop' ) ? kadence()->sub_option( 'footer_navigation_vertical_align', 'desktop' ) : 'default' );
|
||||
$tablet_valign = ( kadence()->sub_option( 'footer_navigation_vertical_align', 'tablet' ) ? kadence()->sub_option( 'footer_navigation_vertical_align', 'tablet' ) : 'default' );
|
||||
$mobile_valign = ( kadence()->sub_option( 'footer_navigation_vertical_align', 'mobile' ) ? kadence()->sub_option( 'footer_navigation_vertical_align', 'mobile' ) : 'default' );
|
||||
|
||||
?>
|
||||
<div class="footer-widget-area widget-area site-footer-focus-item footer-navigation-wrap content-align-<?php echo esc_attr( $align ); ?> content-tablet-align-<?php echo esc_attr( $tablet_align ); ?> content-mobile-align-<?php echo esc_attr( $mobile_align ); ?> content-valign-<?php echo esc_attr( $valign ); ?> content-tablet-valign-<?php echo esc_attr( $tablet_valign ); ?> content-mobile-valign-<?php echo esc_attr( $mobile_valign ); ?> footer-navigation-layout-stretch-<?php echo ( kadence()->option( 'footer_navigation_stretch' ) ? 'true' : 'false' ); ?>" data-section="kadence_customizer_footer_navigation">
|
||||
<div class="footer-widget-area-inner footer-navigation-inner">
|
||||
<?php
|
||||
/**
|
||||
* Kadence Footer Navigation
|
||||
*
|
||||
* Hooked Kadence\footer_navigation
|
||||
*/
|
||||
do_action( 'kadence_footer_navigation' );
|
||||
?>
|
||||
</div>
|
||||
</div><!-- data-section="footer_navigation" -->
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the a row of the footer
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$row = get_query_var( 'row' );
|
||||
$tablet_contain = ( kadence()->sub_option( 'footer_' . $row . '_contain', 'tablet' ) ? kadence()->sub_option( 'footer_' . $row . '_contain', 'tablet' ) : 'default' );
|
||||
$mobile_contain = ( kadence()->sub_option( 'footer_' . $row . '_contain', 'mobile' ) ? kadence()->sub_option( 'footer_' . $row . '_contain', 'mobile' ) : 'default' );
|
||||
$tablet_layout = ( kadence()->sub_option( 'footer_' . $row . '_layout', 'tablet' ) ? kadence()->sub_option( 'footer_' . $row . '_layout', 'tablet' ) : 'default' );
|
||||
$link_style = kadence()->option( 'footer_' . $row . '_link_style' );
|
||||
$columns = absint( kadence()->option( 'footer_' . $row . '_columns' ) );
|
||||
$tablet_direction = ( kadence()->sub_option( 'footer_' . $row . '_direction', 'tablet' ) ? kadence()->sub_option( 'footer_' . $row . '_direction', 'tablet' ) : 'default' );
|
||||
$mobile_direction = ( kadence()->sub_option( 'footer_' . $row . '_direction', 'mobile' ) ? kadence()->sub_option( 'footer_' . $row . '_direction', 'mobile' ) : 'default' );
|
||||
$i = 0;
|
||||
?>
|
||||
<div class="site-<?php echo esc_attr( $row ); ?>-footer-wrap site-footer-row-container site-footer-focus-item site-footer-row-layout-<?php echo esc_attr( kadence()->sub_option( 'footer_' . $row . '_contain', 'desktop' ) ); ?> site-footer-row-tablet-layout-<?php echo esc_attr( $tablet_contain ); ?> site-footer-row-mobile-layout-<?php echo esc_attr( $mobile_contain ); ?>" data-section="kadence_customizer_footer_<?php echo esc_attr( $row ); ?>">
|
||||
<div class="site-footer-row-container-inner">
|
||||
<?php if ( is_customize_preview() ) { ?>
|
||||
<div class="customize-partial-edit-shortcut kadence-custom-partial-edit-shortcut">
|
||||
<button aria-label="<?php esc_attr_e( 'Click to edit this element.', 'kadence' ); ?>" title="<?php esc_attr_e( 'Click to edit this element.', 'kadence' ); ?>" class="customize-partial-edit-shortcut-button item-customizer-focus"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"></path></svg></button>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="site-container">
|
||||
<div class="site-<?php echo esc_attr( $row ); ?>-footer-inner-wrap site-footer-row site-footer-row-columns-<?php echo esc_attr( kadence()->option( 'footer_' . $row . '_columns' ) ); ?> site-footer-row-column-layout-<?php echo esc_attr( kadence()->sub_option( 'footer_' . $row . '_layout', 'desktop' ) ); ?> site-footer-row-tablet-column-layout-<?php echo esc_attr( $tablet_layout ); ?> site-footer-row-mobile-column-layout-<?php echo esc_attr( kadence()->sub_option( 'footer_' . $row . '_layout', 'mobile' ) ); ?> ft-ro-dir-<?php echo esc_attr( kadence()->sub_option( 'footer_' . $row . '_direction', 'desktop' ) ); ?> ft-ro-collapse-<?php echo esc_attr( kadence()->option( 'footer_' . $row . '_collapse' ) ); ?> ft-ro-t-dir-<?php echo esc_attr( $tablet_direction ); ?> ft-ro-m-dir-<?php echo esc_attr( $mobile_direction ); ?> ft-ro-lstyle-<?php echo esc_attr( $link_style ); ?>">
|
||||
<?php
|
||||
while ( $i++ < $columns ) {
|
||||
?>
|
||||
<div class="site-footer-<?php echo esc_attr( $row ); ?>-section-<?php echo esc_attr( $i ); ?> site-footer-section footer-section-inner-items-<?php echo esc_attr( kadence()->footer_column_item_count( $row, $i ) ); ?>">
|
||||
<?php
|
||||
/**
|
||||
* Kadence Render Footer Column
|
||||
*
|
||||
* Hooked Kadence\footer_column
|
||||
*/
|
||||
do_action( 'kadence_render_footer_column', $row, $i );
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the Footer Social Module
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$align = ( kadence()->sub_option( 'footer_social_align', 'desktop' ) ? kadence()->sub_option( 'footer_social_align', 'desktop' ) : 'default' );
|
||||
$tablet_align = ( kadence()->sub_option( 'footer_social_align', 'tablet' ) ? kadence()->sub_option( 'footer_social_align', 'tablet' ) : 'default' );
|
||||
$mobile_align = ( kadence()->sub_option( 'footer_social_align', 'mobile' ) ? kadence()->sub_option( 'footer_social_align', 'mobile' ) : 'default' );
|
||||
|
||||
$valign = ( kadence()->sub_option( 'footer_social_vertical_align', 'desktop' ) ? kadence()->sub_option( 'footer_social_vertical_align', 'desktop' ) : 'default' );
|
||||
$tablet_valign = ( kadence()->sub_option( 'footer_social_vertical_align', 'tablet' ) ? kadence()->sub_option( 'footer_social_vertical_align', 'tablet' ) : 'default' );
|
||||
$mobile_valign = ( kadence()->sub_option( 'footer_social_vertical_align', 'mobile' ) ? kadence()->sub_option( 'footer_social_vertical_align', 'mobile' ) : 'default' );
|
||||
if ( ! wp_style_is( 'kadence-header', 'enqueued' ) ) {
|
||||
wp_enqueue_style( 'kadence-header' );
|
||||
}
|
||||
?>
|
||||
<div class="footer-widget-area widget-area site-footer-focus-item footer-social content-align-<?php echo esc_attr( $align ); ?> content-tablet-align-<?php echo esc_attr( $tablet_align ); ?> content-mobile-align-<?php echo esc_attr( $mobile_align ); ?> content-valign-<?php echo esc_attr( $valign ); ?> content-tablet-valign-<?php echo esc_attr( $tablet_valign ); ?> content-mobile-valign-<?php echo esc_attr( $mobile_valign ); ?>" data-section="kadence_customizer_footer_social">
|
||||
<div class="footer-widget-area-inner footer-social-inner">
|
||||
<?php
|
||||
/**
|
||||
* Kadence Footer Social
|
||||
*
|
||||
* Hooked Kadence\footer_social
|
||||
*/
|
||||
do_action( 'kadence_footer_social' );
|
||||
?>
|
||||
</div>
|
||||
</div><!-- data-section="footer_social" -->
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the footer info
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$align = ( kadence()->sub_option( 'footer_widget1_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget1_align', 'desktop' ) : 'default' );
|
||||
$tablet_align = ( kadence()->sub_option( 'footer_widget1_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget1_align', 'tablet' ) : 'default' );
|
||||
$mobile_align = ( kadence()->sub_option( 'footer_widget1_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget1_align', 'mobile' ) : 'default' );
|
||||
|
||||
$valign = ( kadence()->sub_option( 'footer_widget1_vertical_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget1_vertical_align', 'desktop' ) : 'default' );
|
||||
$tablet_valign = ( kadence()->sub_option( 'footer_widget1_vertical_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget1_vertical_align', 'tablet' ) : 'default' );
|
||||
$mobile_valign = ( kadence()->sub_option( 'footer_widget1_vertical_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget1_vertical_align', 'mobile' ) : 'default' );
|
||||
|
||||
?>
|
||||
<div class="footer-widget-area widget-area site-footer-focus-item footer-widget1 content-align-<?php echo esc_attr( $align ); ?> content-tablet-align-<?php echo esc_attr( $tablet_align ); ?> content-mobile-align-<?php echo esc_attr( $mobile_align ); ?> content-valign-<?php echo esc_attr( $valign ); ?> content-tablet-valign-<?php echo esc_attr( $tablet_valign ); ?> content-mobile-valign-<?php echo esc_attr( $mobile_valign ); ?>" data-section="sidebar-widgets-footer1">
|
||||
<div class="footer-widget-area-inner site-info-inner">
|
||||
<?php
|
||||
dynamic_sidebar( 'footer1' );
|
||||
?>
|
||||
</div>
|
||||
</div><!-- .footer-widget1 -->
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the footer info
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$align = ( kadence()->sub_option( 'footer_widget2_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget2_align', 'desktop' ) : 'default' );
|
||||
$tablet_align = ( kadence()->sub_option( 'footer_widget2_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget2_align', 'tablet' ) : 'default' );
|
||||
$mobile_align = ( kadence()->sub_option( 'footer_widget2_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget2_align', 'mobile' ) : 'default' );
|
||||
|
||||
$valign = ( kadence()->sub_option( 'footer_widget2_vertical_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget2_vertical_align', 'desktop' ) : 'default' );
|
||||
$tablet_valign = ( kadence()->sub_option( 'footer_widget2_vertical_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget2_vertical_align', 'tablet' ) : 'default' );
|
||||
$mobile_valign = ( kadence()->sub_option( 'footer_widget2_vertical_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget2_vertical_align', 'mobile' ) : 'default' );
|
||||
|
||||
?>
|
||||
<div class="footer-widget-area widget-area site-footer-focus-item footer-widget2 content-align-<?php echo esc_attr( $align ); ?> content-tablet-align-<?php echo esc_attr( $tablet_align ); ?> content-mobile-align-<?php echo esc_attr( $mobile_align ); ?> content-valign-<?php echo esc_attr( $valign ); ?> content-tablet-valign-<?php echo esc_attr( $tablet_valign ); ?> content-mobile-valign-<?php echo esc_attr( $mobile_valign ); ?>" data-section="sidebar-widgets-footer2">
|
||||
<div class="footer-widget-area-inner site-info-inner">
|
||||
<?php
|
||||
dynamic_sidebar( 'footer2' );
|
||||
?>
|
||||
</div>
|
||||
</div><!-- .footer-widget2 -->
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the footer info
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$align = ( kadence()->sub_option( 'footer_widget3_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget3_align', 'desktop' ) : 'default' );
|
||||
$tablet_align = ( kadence()->sub_option( 'footer_widget3_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget3_align', 'tablet' ) : 'default' );
|
||||
$mobile_align = ( kadence()->sub_option( 'footer_widget3_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget3_align', 'mobile' ) : 'default' );
|
||||
|
||||
$valign = ( kadence()->sub_option( 'footer_widget3_vertical_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget3_vertical_align', 'desktop' ) : 'default' );
|
||||
$tablet_valign = ( kadence()->sub_option( 'footer_widget3_vertical_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget3_vertical_align', 'tablet' ) : 'default' );
|
||||
$mobile_valign = ( kadence()->sub_option( 'footer_widget3_vertical_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget3_vertical_align', 'mobile' ) : 'default' );
|
||||
|
||||
?>
|
||||
<div class="footer-widget-area widget-area site-footer-focus-item footer-widget3 content-align-<?php echo esc_attr( $align ); ?> content-tablet-align-<?php echo esc_attr( $tablet_align ); ?> content-mobile-align-<?php echo esc_attr( $mobile_align ); ?> content-valign-<?php echo esc_attr( $valign ); ?> content-tablet-valign-<?php echo esc_attr( $tablet_valign ); ?> content-mobile-valign-<?php echo esc_attr( $mobile_valign ); ?>" data-section="sidebar-widgets-footer3">
|
||||
<div class="footer-widget-area-inner site-info-inner">
|
||||
<?php
|
||||
dynamic_sidebar( 'footer3' );
|
||||
?>
|
||||
</div>
|
||||
</div><!-- .footer-widget3 -->
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the footer info
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$align = ( kadence()->sub_option( 'footer_widget4_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget4_align', 'desktop' ) : 'default' );
|
||||
$tablet_align = ( kadence()->sub_option( 'footer_widget4_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget4_align', 'tablet' ) : 'default' );
|
||||
$mobile_align = ( kadence()->sub_option( 'footer_widget4_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget4_align', 'mobile' ) : 'default' );
|
||||
|
||||
$valign = ( kadence()->sub_option( 'footer_widget4_vertical_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget4_vertical_align', 'desktop' ) : 'default' );
|
||||
$tablet_valign = ( kadence()->sub_option( 'footer_widget4_vertical_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget4_vertical_align', 'tablet' ) : 'default' );
|
||||
$mobile_valign = ( kadence()->sub_option( 'footer_widget4_vertical_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget4_vertical_align', 'mobile' ) : 'default' );
|
||||
|
||||
?>
|
||||
<div class="footer-widget-area widget-area site-footer-focus-item footer-widget4 content-align-<?php echo esc_attr( $align ); ?> content-tablet-align-<?php echo esc_attr( $tablet_align ); ?> content-mobile-align-<?php echo esc_attr( $mobile_align ); ?> content-valign-<?php echo esc_attr( $valign ); ?> content-tablet-valign-<?php echo esc_attr( $tablet_valign ); ?> content-mobile-valign-<?php echo esc_attr( $mobile_valign ); ?>" data-section="sidebar-widgets-footer4">
|
||||
<div class="footer-widget-area-inner site-info-inner">
|
||||
<?php
|
||||
dynamic_sidebar( 'footer4' );
|
||||
?>
|
||||
</div>
|
||||
</div><!-- .footer-widget4 -->
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the footer info
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$align = ( kadence()->sub_option( 'footer_widget5_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget5_align', 'desktop' ) : 'default' );
|
||||
$tablet_align = ( kadence()->sub_option( 'footer_widget5_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget5_align', 'tablet' ) : 'default' );
|
||||
$mobile_align = ( kadence()->sub_option( 'footer_widget5_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget5_align', 'mobile' ) : 'default' );
|
||||
|
||||
$valign = ( kadence()->sub_option( 'footer_widget5_vertical_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget5_vertical_align', 'desktop' ) : 'default' );
|
||||
$tablet_valign = ( kadence()->sub_option( 'footer_widget5_vertical_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget5_vertical_align', 'tablet' ) : 'default' );
|
||||
$mobile_valign = ( kadence()->sub_option( 'footer_widget5_vertical_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget5_vertical_align', 'mobile' ) : 'default' );
|
||||
|
||||
?>
|
||||
<div class="footer-widget-area widget-area site-footer-focus-item footer-widget5 content-align-<?php echo esc_attr( $align ); ?> content-tablet-align-<?php echo esc_attr( $tablet_align ); ?> content-mobile-align-<?php echo esc_attr( $mobile_align ); ?> content-valign-<?php echo esc_attr( $valign ); ?> content-tablet-valign-<?php echo esc_attr( $tablet_valign ); ?> content-mobile-valign-<?php echo esc_attr( $mobile_valign ); ?>" data-section="sidebar-widgets-footer5">
|
||||
<div class="footer-widget-area-inner site-info-inner">
|
||||
<?php
|
||||
dynamic_sidebar( 'footer5' );
|
||||
?>
|
||||
</div>
|
||||
</div><!-- .footer-widget5 -->
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the footer info
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$align = ( kadence()->sub_option( 'footer_widget6_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget6_align', 'desktop' ) : 'default' );
|
||||
$tablet_align = ( kadence()->sub_option( 'footer_widget6_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget6_align', 'tablet' ) : 'default' );
|
||||
$mobile_align = ( kadence()->sub_option( 'footer_widget6_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget6_align', 'mobile' ) : 'default' );
|
||||
|
||||
$valign = ( kadence()->sub_option( 'footer_widget6_vertical_align', 'desktop' ) ? kadence()->sub_option( 'footer_widget6_vertical_align', 'desktop' ) : 'default' );
|
||||
$tablet_valign = ( kadence()->sub_option( 'footer_widget6_vertical_align', 'tablet' ) ? kadence()->sub_option( 'footer_widget6_vertical_align', 'tablet' ) : 'default' );
|
||||
$mobile_valign = ( kadence()->sub_option( 'footer_widget6_vertical_align', 'mobile' ) ? kadence()->sub_option( 'footer_widget6_vertical_align', 'mobile' ) : 'default' );
|
||||
|
||||
?>
|
||||
<div class="footer-widget-area widget-area site-footer-focus-item footer-widget6 content-align-<?php echo esc_attr( $align ); ?> content-tablet-align-<?php echo esc_attr( $tablet_align ); ?> content-mobile-align-<?php echo esc_attr( $mobile_align ); ?> content-valign-<?php echo esc_attr( $valign ); ?> content-tablet-valign-<?php echo esc_attr( $tablet_valign ); ?> content-mobile-valign-<?php echo esc_attr( $mobile_valign ); ?>" data-section="sidebar-widgets-footer6">
|
||||
<div class="footer-widget-area-inner site-info-inner">
|
||||
<?php
|
||||
dynamic_sidebar( 'footer6' );
|
||||
?>
|
||||
</div>
|
||||
</div><!-- .footer-widget6 -->
|
||||
Reference in New Issue
Block a user