<?php /** * Single page layout. * * @package Neve\Views */ namespace Neve\Views; /** * Class Page_Layout * * @package Neve\Views */ class Page_Layout extends Base_View { /** * Init function */ public function init() { add_action( 'neve_do_single_page', [ $this, 'render_page' ] ); } /** * Render single page. */ public function render_page() { echo '<div class="nv-content-wrap entry-content">'; the_content(); do_action( 'neve_before_page_comments' ); if ( comments_open() || get_comments_number() ) { comments_template(); } echo '</div>'; do_action( 'neve_do_pagination', 'single' ); } }
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 |
|