| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /home/udaipurk/www/websites/rishhh/wp-content/themes/xstore/templates/ |
| Current File : /home/udaipurk/www/websites/rishhh/wp-content/themes/xstore/templates/btt-button.php |
<?php if ( ! defined('ABSPATH')) exit('No direct script access allowed');
/**
* The template for displaying theme back to top btn
*
* Override this template by copying it to yourtheme/templates/btt-button.php
* @author 8theme
* @link http://xstore.8theme.com
* @license Themeforest Split Licence
* @since 6.4.5
* @xstore-version 9.4.0
*/
$class = 'back-top';
if ( ! get_query_var('et_btt', false) ) {
$class .= ' dt-hide';
}
if ( ! get_query_var('et_btt-mobile', false) ) {
$class .= ' mob-hide';
}
if (get_query_var('et_btt', false) || get_query_var('et_btt-mobile', false) || get_query_var('et_is_customize_preview', false)): ?>
<div id="back-top" class="<?php echo esc_attr( $class ); ?>">
<span class="et-icon et-right-arrow-2"></span>
<svg width="100%" height="100%" viewBox="-1 -1 102 102">
<path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98" style="transition: stroke-dashoffset 10ms linear 0s; stroke-dasharray: 307.919, 307.919; stroke-dashoffset: 150.621;" fill="none"></path>
</svg>
</div>
<?php
wp_enqueue_script( 'back-top' );
endif;