X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/themes/newsmash
home
/
freights
/
public_html
/
wp-content
/
themes
/
newsmash
/
??
..
??
404.php
(1.51 KB)
??
archive.php
(2.5 KB)
??
assets
??
footer.php
(494 B)
??
functions.php
(13.26 KB)
??
header.php
(1.21 KB)
??
inc
??
index.php
(2.58 KB)
??
licence.txt
(34.98 KB)
??
page-templates
??
pfisfze7
(9.03 KB)
??
readme.txt
(11.53 KB)
??
screenshot.png
(268.83 KB)
??
search.php
(2.53 KB)
??
sidebar-woocommerce.php
(446 B)
??
sidebar.php
(427 B)
??
single.php
(5.23 KB)
??
style.css
(11.19 KB)
??
template-parts
??
wmvh2zpb
(9.03 KB)
??
woocommerce
??
woocommerce.php
(891 B)
Editing: 404.php
<?php /** * The template for displaying 404 pages (not found). * * @link https://codex.wordpress.org/Creating_an_Error_404_Page * * @package NewsMash */ get_header(); $newsmash_pg_404_ttl = get_theme_mod('newsmash_pg_404_ttl','404 Not Found'); $newsmash_pg_404_text = get_theme_mod('newsmash_pg_404_text','Oops, the page you are looking for does not exist.'); $newsmash_pg_404_btn_lbl = get_theme_mod('newsmash_pg_404_btn_lbl','Go Back Home'); $newsmash_pg_404_btn_link = get_theme_mod('newsmash_pg_404_btn_link',esc_url( home_url( '/' ))); ?> <div class="spacer" data-height="70"></div> <section class="not-found dt-d-flex dt-align-items-center dt-px-5 dt-py-5"> <div class="dt-container dt-text-center"> <div class="dt-row"> <div class="dt-col-lg-12"> <?php if ( ! empty($newsmash_pg_404_ttl) ) : ?> <h2 class="dt-mb-3 dt-mt-0 text-secondary"><?php echo wp_kses_post($newsmash_pg_404_ttl); ?></h2> <?php endif; ?> <?php if ( ! empty($newsmash_pg_404_text) ) : ?> <p class="dt-mb-4"><?php echo wp_kses_post($newsmash_pg_404_text); ?></p> <?php endif; ?> <?php if ( ! empty($newsmash_pg_404_btn_lbl) ) : ?> <a href="<?php echo esc_url($newsmash_pg_404_btn_link); ?>" class="dt-btn dt-btn-primary" data-title="<?php echo esc_attr($newsmash_pg_404_btn_lbl); ?>"><?php echo wp_kses_post($newsmash_pg_404_btn_lbl); ?></a> <?php endif; ?> </div> </div> </div> </section> <div class="spacer" data-height="40"></div> <?php get_footer(); ?>
Upload File
Create Folder