| Server IP : 213.132.222.41 / Your IP : 216.73.216.254 Web Server : Apache System : Linux plesk4.nlhosting.net 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64 User : thecovenant ( 10927) PHP Version : 8.3.32 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/thecovenant.nl/httpdocs/wp-content/themes/neve/inc/views/ |
Upload File : |
<?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' );
}
}