| Server IP : 104.21.88.2 / Your IP : 104.23.243.133 Web Server : Apache System : Linux clinmediasv11.es 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : geswattinn9b9d ( 10209) PHP Version : 8.4.25 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/geswattinnova.es/httpdocs/wp-content/themes/astra/template-parts/ |
Upload File : |
<?php
/**
* Scroll To Top Template
*
* @package Astra
* @since 4.0.0
*/
// Bail early if it is not astra customizer.
if ( is_customize_preview() && ! Astra_Customizer::is_astra_customizer() ) {
return;
}
$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>