HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
Disabled: NONE
Upload Files
File: //var/www/adila/wp-content/themes/tombuild/templates/cursor.php
<?php
/**
 * Cursor
 *
 * @package tombuild
 * @version 3.8.9
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// Exit if disabled via Customizer
if ( !tombuild_get_mod( 'cursor', false ) ) return false;

$config = array();
$data = '';

if ( '' !== tombuild_get_mod( 'tombuild_cursor1_target', '' ) ) {
	$config['efx'][0]['target'] = tombuild_get_mod( 'tombuild_cursor1_target', '' );
	$config['efx'][0]['text'] = tombuild_get_mod( 'tombuild_cursor1_text', '' );
	$config['efx'][0]['classes'] = tombuild_get_mod( 'tombuild_cursor1_classes', '' );
};

if ( '' !== tombuild_get_mod( 'tombuild_cursor2_target', '' ) ) {
	$config['efx'][1]['target'] = tombuild_get_mod( 'tombuild_cursor2_target', '' );
	$config['efx'][1]['text'] = tombuild_get_mod( 'tombuild_cursor2_text', '' );
	$config['efx'][1]['classes'] = tombuild_get_mod( 'tombuild_cursor2_classes', '' );
};

if ( '' !== tombuild_get_mod( 'tombuild_cursor3_target', '' ) ) {
	$config['efx'][2]['target'] = tombuild_get_mod( 'tombuild_cursor3_target', '' );
	$config['efx'][2]['text'] = tombuild_get_mod( 'tombuild_cursor3_text', '' );
	$config['efx'][2]['classes'] = tombuild_get_mod( 'tombuild_cursor3_classes', '' );
};

if ( '' !== tombuild_get_mod( 'tombuild_cursor4_target', '' ) ) {
	$config['efx'][3]['target'] = tombuild_get_mod( 'tombuild_cursor4_target', '' );
	$config['efx'][3]['text'] = tombuild_get_mod( 'tombuild_cursor4_text', '' );
	$config['efx'][3]['classes'] = tombuild_get_mod( 'tombuild_cursor4_classes', '' );
};

if ( '' !== tombuild_get_mod( 'tombuild_cursor5_target', '' ) ) {
	$config['efx'][4]['target'] = tombuild_get_mod( 'tombuild_cursor5_target', '' );
	$config['efx'][4]['text'] = tombuild_get_mod( 'tombuild_cursor5_text', '' );
	$config['efx'][4]['classes'] = tombuild_get_mod( 'tombuild_cursor5_classes', '' );
};

?>
<div class="tombuild-cursor" data-config='<?php echo esc_attr(json_encode( $config )); ?>'>
    <div class="inner">
      	<span class="text"></span>
      	<svg class="arrow arrow-left" width="10" height="14" viewBox="0 0 10 14" xmlns="http://www.w3.org/2000/svg">
			<path d="M10 9.53674e-07L10 14L-3.41715e-07 7L10 9.53674e-07Z" />
		</svg>
      	<svg class="arrow arrow-right" width="10" height="14" viewBox="0 0 10 14"  xmlns="http://www.w3.org/2000/svg">
			<path d="M0 14V0L10 7L0 14Z" />
		</svg>
    </div>
</div>