| Server IP : 43.141.49.107 / Your IP : 113.219.202.173 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/www.ucppt.com/wp-content/themes/storefront/ |
Upload File : |
<?php
/**
* The template for displaying 404 pages (not found).
*
* @package storefront
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<div class="error-404 not-found">
<div class="page-content">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'storefront' ); ?></h1>
</header><!-- .page-header -->
<p><?php esc_html_e( 'Nothing was found at this location. Try searching, or check out the links below.', 'storefront' ); ?></p>
<?php
echo '<section aria-label="' . esc_html__( 'Search', 'storefront' ) . '">';
if ( storefront_is_woocommerce_activated() ) {
the_widget( 'WC_Widget_Product_Search' );
} else {
get_search_form();
}
echo '</section>';
if ( storefront_is_woocommerce_activated() ) {
echo '<div class="fourohfour-columns-2">';
echo '<section class="col-1" aria-label="' . esc_html__( 'Promoted Products', 'storefront' ) . '">';
storefront_promoted_products();
echo '</section>';
echo '<nav class="col-2" aria-label="' . esc_html__( 'Product Categories', 'storefront' ) . '">';
echo '<h2>' . esc_html__( 'Product Categories', 'storefront' ) . '</h2>';
the_widget(
'WC_Widget_Product_Categories',
array(
'count' => 1,
)
);
echo '</nav>';
echo '</div>';
echo '<section aria-label="' . esc_html__( 'Popular Products', 'storefront' ) . '">';
echo '<h2>' . esc_html__( 'Popular Products', 'storefront' ) . '</h2>';
$shortcode_content = storefront_do_shortcode(
'best_selling_products',
array(
'per_page' => 4,
'columns' => 4,
)
);
echo $shortcode_content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo '</section>';
}
?>
</div><!-- .page-content -->
</div><!-- .error-404 -->
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();