OwlCyberSecurity - MANAGER
Edit File: 404_setting.php
<?php return array( 'title' => esc_html__( '404 Page Settings', 'conat' ), 'id' => '404_setting', 'desc' => '', 'subsection' => true, 'fields' => array( array( 'id' => '404_source_type', 'type' => 'button_set', 'title' => esc_html__( '404 Source Type', 'conat' ), 'options' => array( 'd' => esc_html__( 'Default', 'conat' ), 'e' => esc_html__( 'Elementor', 'conat' ), ), 'default' => 'd', ), array( 'id' => '404_elementor_template', 'type' => 'select', 'title' => __( 'Template', 'conat' ), 'data' => 'posts', 'args' => [ 'post_type' => [ 'elementor_library' ], ], 'required' => [ '404_source_type', '=', 'e' ], ), array( 'id' => '404_default_st', 'type' => 'section', 'title' => esc_html__( '404 Default', 'conat' ), 'indent' => true, 'required' => [ '404_source_type', '=', 'd' ], ), //404 Banner array( 'id' => '404_banner_st', 'type' => 'section', 'title' => esc_html__( 'Banner Section', 'conat' ), 'indent' => true, 'required' => [ '404_source_type', '=', 'd' ], ), array( 'id' => '404_page_banner', 'type' => 'switch', 'title' => esc_html__( 'Show Banner', 'conat' ), 'desc' => esc_html__( 'Enable to show banner on blog', 'conat' ), 'default' => true, ), array( 'id' => '404_banner_title', 'type' => 'text', 'title' => esc_html__( 'Banner Section Title', 'conat' ), 'desc' => esc_html__( 'Enter the title to show in banner section', 'conat' ), 'required' => array( '404_page_banner', '=', true ), ), array( 'id' => '404_page_background', 'type' => 'media', 'url' => true, 'title' => esc_html__( 'Background Image', 'conat' ), 'desc' => esc_html__( 'Insert background image for banner', 'conat' ), 'required' => array( '404_page_banner', '=', true ), ), //404 Content array( 'id' => '404_content_st', 'type' => 'section', 'title' => esc_html__( 'Content Section', 'conat' ), 'indent' => true, 'required' => [ '404_source_type', '=', 'd' ], ), array( 'id' => 'error_404', 'type' => 'text', 'title' => esc_html__( '404 Title', 'conat' ), 'desc' => esc_html__( 'Enter 404 title that you want to show.', 'conat' ), ), array( 'id' => 'error_text', 'type' => 'text', 'title' => esc_html__( '404 Text', 'conat' ), 'desc' => esc_html__( 'Enter 404 text that you want to show.', 'conat' ), ), array( 'id' => 'error_description', 'type' => 'textarea', 'title' => esc_html__( '404 Description', 'conat' ), 'desc' => esc_html__( 'Enter 404 description that you want to show.', 'conat' ), ), array( 'id' => 'back_to_home_btn', 'type' => 'switch', 'title' => esc_html__( 'Show Button', 'conat' ), 'desc' => esc_html__( 'Enable to show back to home button.', 'conat' ), 'default' => true, ), array( 'id' => 'back_home_btn_label', 'type' => 'text', 'title' => esc_html__( 'Button Label', 'conat' ), 'desc' => esc_html__( 'Enter back to home button label that you want to show.', 'conat' ), 'default' => esc_html__( 'Go to Home', 'conat' ), 'required' => array( 'back_to_home_btn', '=', true ), ), array( 'id' => '404_post_settings_end', 'type' => 'section', 'indent' => false, ), ), );