astra_footer_small_footer_template()
Small Footer
Description
=> Used in files:
/footer.php
Source
File: inc/template-parts.php
function astra_footer_small_footer_template() {
$small_footer_layout = astra_get_option_meta( 'footer-sml-layout', 'footer-sml-layout-2' );
$small_footer_layout = apply_filters( 'ast_footer_sml_layout', $small_footer_layout );
if ( 'disabled' != $small_footer_layout ) {
$small_footer_layout = str_replace( 'footer-sml-layout-', '', $small_footer_layout );
// Default footer layout 1 is ast-footer-layout.
if ( '1' == $small_footer_layout ) {
$small_footer_layout = '';
}
get_template_part( 'template-parts/footer/footer-sml-layout', $small_footer_layout );
}
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |