HEX
Server: LiteSpeed
System: Linux da4 4.18.0-553.74.1.lve.el8.x86_64 #1 SMP Tue Sep 9 14:25:24 UTC 2025 x86_64
User: wwwprimemarka (2294)
PHP: 5.6.40
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/wwwprimemarka/public_html/wp-content/themes/Zephyr/framework/shortcodes/us_scroller.php
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );

/**
 * Shortcode: us_scroller
 *
 * Dev note: if you want to change some of the default values or acceptable attributes, overload the shortcodes config.
 *
 * @var   $shortcode      string Current shortcode name
 * @var   $shortcode_base string The original called shortcode name (differs if called an alias)
 * @var   $content        string Shortcode's inner content
 * @var   $atts           array Shortcode attributes
 *
 * @param $atts           ['speed'] string Scroll Speed
 * @param $atts           ['dots'] bool Show navigation dots?
 * @param $atts           ['dots_pos'] string Dots Position
 * @param $atts           ['dots_size'] string Dots Size
 * @param $atts           ['dots_color'] string Dots color value
 * @param $atts           ['disable_width'] string Dots color value
 * @param $atts           ['el_class'] string Extra class name
 */

$atts = us_shortcode_atts( $atts, 'us_scroller' );

$classes = $dot_inner_css = '';

if ( $atts['dots_size'] != '' ) {
	$dot_inner_css = 'font-size:' . $atts['dots_size'] . ';';
}
if ( $atts['dots_color'] != '' ) {
	$dot_inner_css .= 'background-color:' . $atts['dots_color'] . ';box-shadow:0 0 0 2px ' . $atts['dots_color'] . ';';
}

$data_atts = '';
if ( $atts['speed'] != '' ) {
	$data_atts = ' data-speed="' . $atts['speed'] . '"';
}
if ( $atts['disable_width'] != '' ) {
	$data_atts .= ' data-disablewidth="' . intval( $atts['disable_width'] ) . '"';
}

$classes .= ' style_' . $atts['dots_style'] . ' pos_' . $atts['dots_pos'];

if ( ! empty( $atts['el_class'] ) ) {
	$classes .= ' ' . $atts['el_class'];
}

?>
<div class="w-scroller<?php echo $classes ?>"<?php echo $data_atts; ?> aria-hidden="true">
	<?php if ( $atts['dots'] ) { ?>
		<div class="w-scroller-dots">
			<a href="javascript:void(0);" class="w-scroller-dot"><span style="<?php echo $dot_inner_css ?>"></span></a>
		</div>
	<?php } ?>
</div>