astra_advanced_footer_markup()
Footer widgets markup
Description
Loads appropriate template file based on the style option selected in options panel.
Source
File: inc/template-parts.php
function astra_advanced_footer_markup() { $advanced_footer_layout = astra_get_option( 'footer-adv' ); $advanced_footer_meta = astra_get_option_meta( 'footer-adv-display' ); if ( apply_filters( 'astra_advanced_footer_disable', false ) || 'layout-4' !== $advanced_footer_layout || 'disabled' == $advanced_footer_meta ) { return; } // Add markup. get_template_part( 'template-parts/advanced-footer/layout-4' ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.0.12 | Introduced. |