Uname:Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64

403WebShell
403Webshell
Server IP : 51.91.236.255  /  Your IP : 216.73.217.120
Web Server : Apache
System : Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : laureet ( 1012854)
PHP Version : 8.0.30
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/laureet/www/wp-content/themes/rhye/inc/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/laureet/www/wp-content/themes/rhye/inc/functions//get_container_attributes.php
<?php

/**
 * Get main wrapper attributes/classes
 *
 * @return array
 */
function arts_get_container_attributes() {
	$ajax_enabled    = get_theme_mod( 'ajax_enabled', false );
	$attrs_container = array(
		'class'      => 'js-smooth-scroll',
		'attributes' => '',
		'theme'      => 'dark',
	);

	if ( $ajax_enabled ) {
		$attrs_container['attributes'] .= ' data-barba=container';
	}

	if ( is_home() || is_category() || is_archive() || is_search() ) {
		$attrs_container['class'] .= ' ' . get_theme_mod( 'blog_style_theme', 'bg-light-1' );
		$attrs_container['theme']  = get_theme_mod( 'blog_style_main_theme', 'dark' );

		if ( $ajax_enabled ) {
			$attrs_container['attributes'] .= ' data-barba-namespace=archive';
		}
	}

	if ( is_singular( 'post' ) ) {
		$attrs_container['class'] .= ' ' . get_theme_mod( 'blog_style_single_post_theme', 'bg-light-1' );
		$attrs_container['theme']  = get_theme_mod( 'blog_style_single_post_main_theme', 'dark' );

		if ( $ajax_enabled ) {
			$attrs_container['attributes'] .= ' data-barba-namespace=post';
		}
	}

	if ( arts_is_built_with_elementor() && $ajax_enabled ) {
		$attrs_container['attributes'] .= ' data-barba-namespace=elementor';
	}

	return $attrs_container;
}

Youez - 2016 - github.com/yon3zu
LinuXploit