Файловый менеджер - Редактировать - /home/ephorei/www/wp-includes/images/media/q2m9hb/footer.tar
Назад
index.php 0000644 00000000157 15006153451 0006367 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ footer-sml-layout-2.php 0000644 00000003423 15006153451 0011020 0 ustar 00 <?php /** * Template for Small Footer Layout 2 * * @package Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ $astra_footer_section_1 = astra_get_small_footer( 'footer-sml-section-1' ); $astra_footer_section_2 = astra_get_small_footer( 'footer-sml-section-2' ); $astra_footer_sections = 0; if ( '' != $astra_footer_section_1 ) { $astra_footer_sections++; } if ( '' != $astra_footer_section_2 ) { $astra_footer_sections++; } switch ( $astra_footer_sections ) { case '2': $astra_footer_section_class = 'ast-small-footer-section-equally ' . astra_attr( 'ast-grid-col-6' ); break; case '1': default: $astra_footer_section_class = 'ast-small-footer-section-equally ' . astra_attr( 'ast-grid-common-col' ); break; } ?> <div class="ast-small-footer footer-sml-layout-2"> <div class="ast-footer-overlay"> <div class="ast-container"> <div class="ast-small-footer-wrap" > <div class="ast-row ast-flex"> <?php if ( $astra_footer_section_1 ) : ?> <div class="ast-small-footer-section ast-small-footer-section-1 <?php echo esc_attr( $astra_footer_section_class ); ?>" > <?php echo $astra_footer_section_1; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </div> <?php endif; ?> <?php if ( $astra_footer_section_2 ) : ?> <div class="ast-small-footer-section ast-small-footer-section-2 <?php echo esc_attr( $astra_footer_section_class ); ?>" > <?php echo $astra_footer_section_2; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </div> <?php endif; ?> </div> <!-- .ast-row.ast-flex --> </div><!-- .ast-small-footer-wrap --> </div><!-- .ast-container --> </div><!-- .ast-footer-overlay --> </div><!-- .ast-small-footer--> builder/footer-row.php 0000644 00000006636 15006153451 0011021 0 ustar 00 <?php /** * Template part for displaying the a row of the footer * * @package Astra Builder */ $astra_footer_row = get_query_var( 'row' ); if ( astra_wp_version_compare( '5.4.99', '>=' ) ) { $astra_footer_row = wp_parse_args( $args, array( 'row' => '' ) ); $astra_footer_row = isset( $astra_footer_row['row'] ) ? $astra_footer_row['row'] : ''; } if ( Astra_Builder_Helper::is_footer_row_empty( $astra_footer_row ) ) { $astra_footer_row_option = ( 'above' === $astra_footer_row ) ? 'hba' : ( ( 'below' === $astra_footer_row ) ? 'hbb' : 'hb' ); $astra_footer_columns = astra_get_option( $astra_footer_row_option . '-footer-column' ); $astra_footer_layout = astra_get_option( $astra_footer_row_option . '-footer-layout' ); $astra_row_stack_layout = astra_get_option( $astra_footer_row_option . '-stack' ); $astra_row_desk_layout = ( isset( $astra_footer_layout['desktop'] ) ) ? $astra_footer_layout['desktop'] : 'full'; $astra_tab_layout = ( isset( $astra_footer_layout['tablet'] ) ) ? $astra_footer_layout['tablet'] : 'full'; $astra_mob_layout = ( isset( $astra_footer_layout['mobile'] ) ) ? $astra_footer_layout['mobile'] : 'full'; $astra_desk_stack_layout = ( isset( $astra_row_stack_layout['desktop'] ) ) ? $astra_row_stack_layout['desktop'] : 'stack'; $astra_tab_stack_layout = ( isset( $astra_row_stack_layout['tablet'] ) ) ? $astra_row_stack_layout['tablet'] : 'stack'; $astra_mob_stack_layout = ( isset( $astra_row_stack_layout['mobile'] ) ) ? $astra_row_stack_layout['mobile'] : 'stack'; $astra_footer_row_classes = array( 'site-' . esc_attr( $astra_footer_row ) . '-footer-wrap', 'ast-builder-grid-row-container', 'site-footer-focus-item', 'ast-builder-grid-row-' . esc_attr( $astra_row_desk_layout ), 'ast-builder-grid-row-tablet-' . esc_attr( $astra_tab_layout ), 'ast-builder-grid-row-mobile-' . esc_attr( $astra_mob_layout ), 'ast-footer-row-' . esc_attr( $astra_desk_stack_layout ), 'ast-footer-row-tablet-' . esc_attr( $astra_tab_stack_layout ), 'ast-footer-row-mobile-' . esc_attr( $astra_mob_stack_layout ), ); ?> <div class="<?php echo esc_attr( implode( ' ', $astra_footer_row_classes ) ); ?>" data-section="section-<?php echo esc_attr( $astra_footer_row ); ?>-footer-builder"> <div class="ast-builder-grid-row-container-inner"> <?php if ( is_customize_preview() ) { Astra_Builder_UI_Controller::render_grid_row_customizer_edit_button( 'Footer', $astra_footer_row ); } /** * Astra Render before Site container of Footer. */ do_action( "astra_footer_{$astra_footer_row}_container_before" ); ?> <div class="ast-builder-footer-grid-columns site-<?php echo esc_attr( $astra_footer_row ); ?>-footer-inner-wrap ast-builder-grid-row"> <?php for ( $astra_builder_zones = 1; $astra_builder_zones <= Astra_Builder_Helper::$num_of_footer_columns; $astra_builder_zones++ ) { ?> <?php if ( $astra_builder_zones > $astra_footer_columns ) { break; } ?> <div class="site-footer-<?php echo esc_attr( $astra_footer_row ); ?>-section-<?php echo absint( $astra_builder_zones ); ?> site-footer-section site-footer-section-<?php echo absint( $astra_builder_zones ); ?>"> <?php do_action( 'astra_render_footer_column', $astra_footer_row, $astra_builder_zones ); ?> </div> <?php } ?> </div> <?php /** * Astra Render before Site container of Footer. */ do_action( "astra_footer_{$astra_footer_row}_container_after" ); ?> </div> </div> <?php } ?> builder/desktop-builder-layout.php 0000644 00000001255 15006153451 0013316 0 ustar 00 <?php /** * Template part for displaying the footer info. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 1.0.0 */ ?> <footer <?php echo wp_kses_post( astra_attr( 'footer', array( 'id' => 'colophon', 'class' => join( ' ', astra_get_footer_classes() ), ) ) ); ?> > <?php astra_footer_content_top(); ?> <?php /** * Astra Top footer */ do_action( 'astra_above_footer' ); /** * Astra Middle footer */ do_action( 'astra_primary_footer' ); /** * Astra Bottom footer */ do_action( 'astra_below_footer' ); ?> <?php astra_footer_content_bottom(); ?> </footer><!-- #colophon --> builder/components.php 0000644 00000007716 15006153451 0011103 0 ustar 00 <?php /** * Template part for displaying the footer component. * * @package Astra */ $astra_component_slug = get_query_var( 'type' ); if ( astra_wp_version_compare( '5.4.99', '>=' ) ) { $astra_component_slug = wp_parse_args( $args, array( 'type' => '' ) ); $astra_component_slug = isset( $astra_component_slug['type'] ) ? $astra_component_slug['type'] : ''; } switch ( $astra_component_slug ) { case 'copyright': ?> <div class="ast-builder-layout-element ast-flex site-footer-focus-item ast-footer-copyright" data-section="section-footer-builder"> <?php do_action( 'astra_footer_copyright' ); ?> </div> <?php break; case 'social-icons-1': ?> <div class="ast-builder-layout-element ast-flex site-footer-focus-item" data-section="section-fb-social-icons-1"> <?php do_action( 'astra_footer_social_1' ); ?> </div> <?php break; case 'widget-1': ?> <aside <?php echo wp_kses_post( astra_attr( 'footer-widget-area-inner', array( 'class' => 'footer-widget-area widget-area site-footer-focus-item', 'data-section' => 'sidebar-widgets-footer-widget-1', 'aria-label' => 'Footer Widget 1', ) ) ); ?> > <?php astra_markup_open( 'footer-widget-div' ); astra_get_sidebar( 'footer-widget-1' ); astra_markup_close( 'footer-widget-div' ); ?> </aside> <?php break; case 'widget-2': ?> <aside <?php echo wp_kses_post( astra_attr( 'footer-widget-area-inner', array( 'class' => 'footer-widget-area widget-area site-footer-focus-item', 'data-section' => 'sidebar-widgets-footer-widget-2', 'aria-label' => 'Footer Widget 2', ) ) ); ?> > <?php astra_markup_open( 'footer-widget-div' ); astra_get_sidebar( 'footer-widget-2' ); astra_markup_close( 'footer-widget-div' ); ?> </aside> <?php break; case 'widget-3': ?> <aside <?php echo wp_kses_post( astra_attr( 'footer-widget-area-inner', array( 'class' => 'footer-widget-area widget-area site-footer-focus-item', 'data-section' => 'sidebar-widgets-footer-widget-3', 'aria-label' => 'Footer Widget 3', ) ) ); ?> > <?php astra_markup_open( 'footer-widget-div' ); astra_get_sidebar( 'footer-widget-3' ); astra_markup_close( 'footer-widget-div' ); ?> </aside> <?php break; case 'widget-4': ?> <aside <?php echo wp_kses_post( astra_attr( 'footer-widget-area-inner', array( 'class' => 'footer-widget-area widget-area site-footer-focus-item', 'data-section' => 'sidebar-widgets-footer-widget-4', 'aria-label' => 'Footer Widget 4', ) ) ); ?> > <?php astra_markup_open( 'footer-widget-div' ); astra_get_sidebar( 'footer-widget-4' ); astra_markup_close( 'footer-widget-div' ); ?> </aside> <?php break; case 'html-1': ?> <div class="footer-widget-area widget-area site-footer-focus-item ast-footer-html-1" data-section="section-fb-html-1"> <?php do_action( 'astra_footer_html_1' ); ?> </div> <?php break; case 'html-2': ?> <div class="footer-widget-area widget-area site-footer-focus-item ast-footer-html-2" data-section="section-fb-html-2"> <?php do_action( 'astra_footer_html_2' ); ?> </div> <?php break; case 'menu': ?> <div class="footer-widget-area widget-area site-footer-focus-item" data-section="section-footer-menu"> <?php do_action( 'astra_footer_menu' ); ?> </div> <?php break; case 'divider-1': $astra_fb_divider_layout_class = astra_get_option( 'footer-divider-1-layout' ); ?> <div class="footer-widget-area widget-area ast-flex site-footer-focus-item ast-footer-divider-element ast-footer-divider-1 ast-fb-divider-layout-<?php echo esc_attr( $astra_fb_divider_layout_class ); ?>" data-section="section-fb-divider-1"> <?php do_action( 'astra_footer_divider_1' ); ?> </div> <?php break; default: do_action( 'astra_render_footer_components', $astra_component_slug ); break; } ?> footer-sml-layout.php 0000644 00000002201 15006153451 0010652 0 ustar 00 <?php /** * Template for Small Footer Layout 1 * * @package Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ $astra_footer_section_1 = astra_get_small_footer( 'footer-sml-section-1' ); $astra_footer_section_2 = astra_get_small_footer( 'footer-sml-section-2' ); ?> <div class="ast-small-footer footer-sml-layout-1"> <div class="ast-footer-overlay"> <div class="ast-container"> <div class="ast-small-footer-wrap" > <?php if ( $astra_footer_section_1 ) : ?> <div class="ast-small-footer-section ast-small-footer-section-1" > <?php echo $astra_footer_section_1; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </div> <?php endif; ?> <?php if ( $astra_footer_section_2 ) : ?> <div class="ast-small-footer-section ast-small-footer-section-2" > <?php echo $astra_footer_section_2; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </div> <?php endif; ?> </div><!-- .ast-row .ast-small-footer-wrap --> </div><!-- .ast-container --> </div><!-- .ast-footer-overlay --> </div><!-- .ast-small-footer-->
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка