File: /home/parhudrw/emenu.anqa.it/wp-content/themes/ticrou/includes/resource/options/404_setting.php
<?php
return array(
'title' => esc_html__( '404 Page Settings', 'ticrou' ),
'id' => '404_setting',
'desc' => '',
'subsection' => true,
'fields' => array(
array(
'id' => '404_source_type',
'type' => 'button_set',
'title' => esc_html__( '404 Source Type', 'ticrou' ),
'options' => array(
'd' => esc_html__( 'Default', 'ticrou' ),
'e' => esc_html__( 'Elementor', 'ticrou' ),
),
'default' => 'd',
),
array(
'id' => '404_elementor_template',
'type' => 'select',
'title' => __( 'Template', 'ticrou' ),
'data' => 'posts',
'args' => [
'post_type' => [ 'elementor_library' ],
],
'required' => [ '404_source_type', '=', 'e' ],
),
array(
'id' => '404_default_st',
'type' => 'section',
'title' => esc_html__( '404 Default', 'ticrou' ),
'indent' => true,
'required' => [ '404_source_type', '=', 'd' ],
),
array(
'id' => '404_page_banner',
'type' => 'switch',
'title' => esc_html__( 'Show Banner', 'ticrou' ),
'desc' => esc_html__( 'Enable to show banner on blog', 'ticrou' ),
'default' => true,
),
array(
'id' => '404_banner_title',
'type' => 'text',
'title' => esc_html__( 'Banner Section Title', 'ticrou' ),
'desc' => esc_html__( 'Enter the title to show in banner section', 'ticrou' ),
'required' => array( '404_page_banner', '=', true ),
),
array(
'id' => '404_page_background',
'type' => 'media',
'url' => true,
'title' => esc_html__( 'Background Image', 'ticrou' ),
'desc' => esc_html__( 'Insert background image for banner', 'ticrou' ),
'default' => '',
'required' => array( '404_page_banner', '=', true ),
),
array(
'id' => '404_page_title',
'type' => 'text',
'title' => esc_html__( '404 Page Heading', 'ticrou' ),
'desc' => esc_html__( 'Enter 404 section Page Heading that you want to show', 'ticrou' ),
),
array(
'id' => '404_page_text',
'type' => 'textarea',
'title' => esc_html__( '404 Page Tag Line', 'ticrou' ),
'desc' => esc_html__( 'Enter 404 page Tag Line that you want to show.', 'ticrou' ),
),
array(
'id' => '404_page_text2',
'type' => 'textarea',
'title' => esc_html__( '404 Page Description', 'ticrou' ),
'desc' => esc_html__( 'Enter 404 page Description that you want to show.', 'ticrou' ),
),
array(
'id' => 'back_home_btn',
'type' => 'switch',
'title' => esc_html__( 'Show Button', 'ticrou' ),
'desc' => esc_html__( 'Enable to show back to home button.', 'ticrou' ),
'default' => true,
),
array(
'id' => 'back_home_btn_label',
'type' => 'text',
'title' => esc_html__( 'Button Label', 'ticrou' ),
'desc' => esc_html__( 'Enter back to home button label that you want to show.', 'ticrou' ),
'default' => esc_html__( 'Back To Home', 'ticrou' ),
'required' => array( 'back_home_btn', '=', true ),
),
array(
'id' => '404_post_settings_end',
'type' => 'section',
'indent' => false,
),
),
);