D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
blackhat.pw
:
/
homepages
/
35
/
d135665864
/
htdocs
/
clickandbuilds
/
AmarettoTre
/
wp-content
/
themes
/
savory
/
Filename :
404.php
back
Copy
<?php $savory_elated_error_404_style = ''; $savory_elated_error_404_bck_image = savory_elated_options()->getOptionValue( '404_background_image' ); if( $savory_elated_error_404_bck_image !=='' ) { $savory_elated_error_404_style = 'background-image:url('.esc_url($savory_elated_error_404_bck_image).')'; } //get first color $savory_elated_first_main_color = '#333333'; $savory_elated_changed_first_color = savory_elated_options()->getOptionValue('first_color'); if($savory_elated_changed_first_color !== ''){ $savory_elated_first_main_color = $savory_elated_changed_first_color; } //generate button params array $savory_elated_button_params = array( 'text' => savory_elated_options()->getOptionValue( '404_back_to_home' ) !== '' ? savory_elated_options()->getOptionValue( '404_back_to_home' ) : esc_html__( 'Back to Home', 'savory' ), 'link' => esc_url( home_url( '/' ) ), 'type' => 'solid' ); $savory_elated_button_params['background_color'] = '#fff'; $savory_elated_button_params['border_color'] = '#fff'; $savory_elated_button_params['color'] = $savory_elated_first_main_color; get_header(); savory_elated_get_title(); ?> <div class="eltd-full-width "> <?php do_action( 'savory_elated_after_container_open' ); ?> <div class="eltd-full-width-inner eltd-404-page" <?php echo savory_elated_get_inline_style($savory_elated_error_404_style); ?>> <div class="eltd-page-not-found"> <div class="eltd-grid"> <h2> <?php if ( savory_elated_options()->getOptionValue( '404_title' ) ) { printf( __( '%s', 'savory' ), esc_html(savory_elated_options()->getOptionValue( '404_title' )) ); } else { esc_html_e( '404 error page', 'savory' ); } ?> </h2> <?php if ( savory_elated_options()->getOptionValue( '404_excerpt' ) ) { ?> <h4> <?php printf( __( '%s', 'savory' ), esc_html( savory_elated_options()->getOptionValue( '404_excerpt' )) );?> </h4> <?php } ?> <p> <?php if ( savory_elated_options()->getOptionValue( '404_text' ) ) { printf( __( '%s', 'savory' ), esc_html( savory_elated_options()->getOptionValue( '404_text' )) ); } else { esc_html_e( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod.', 'savory' ); } ?> </p> <?php echo savory_elated_get_button_html( $savory_elated_button_params ); ?> </div> </div> </div> <?php do_action( 'savory_elated_before_container_close' ); ?> </div> <?php get_footer(); ?>