<?php /** * Content 404 class. * * @package Neve\Views */ namespace Neve\Views; /** * Class Content_404 * * @package Neve\Views */ class Content_404 extends Base_View { /** * Init function. */ public function init() { add_action( 'neve_do_404', array( $this, 'render_404_page' ) ); } /** * Render 404 page. */ public function render_404_page() { $container_class = apply_filters( 'neve_container_class_filter', 'container', 'blog-archive' ); echo '<div class="' . esc_attr( $container_class ) . ' archive-container">'; echo '<div class="row">'; do_action( 'neve_do_sidebar', 'blog-archive', 'left' ); echo '<div class="nv-index-posts blog col">'; echo '<div class="col-12 nv-content-none-wrap">'; echo '<p>'; esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'neve' ); echo '</p>'; echo '<div class="nv-seach-form-wrap">'; get_search_form(); echo '</div>'; echo '</div>'; echo '<div class="w-100"></div>'; echo '</div>'; do_action( 'neve_do_sidebar', 'blog-archive', 'right' ); echo '</div>'; echo '</div>'; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
inline | Folder | 0755 |
|
|
layouts | Folder | 0755 |
|
|
partials | Folder | 0755 |
|
|
pluggable | Folder | 0755 |
|
|
base_view.php | File | 1.03 KB | 0644 |
|
breadcrumbs.php | File | 4 KB | 0644 |
|
content_404.php | File | 1.11 KB | 0644 |
|
content_none.php | File | 1.94 KB | 0644 |
|
cover_header.php | File | 2.91 KB | 0644 |
|
font_manager.php | File | 8.44 KB | 0644 |
|
header.php | File | 7.25 KB | 0644 |
|
nav_walker.php | File | 15.38 KB | 0644 |
|
page_header.php | File | 4.37 KB | 0644 |
|
page_layout.php | File | 637 B | 0644 |
|
post_layout.php | File | 6.15 KB | 0644 |
|
product_layout.php | File | 5.32 KB | 0644 |
|
secondary_nav_walker.php | File | 491 B | 0644 |
|
template_parts.php | File | 15.45 KB | 0644 |
|
top_bar.php | File | 668 B | 0644 |
|
tweaks.php | File | 311 B | 0644 |
|