| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/aifortoday.co.uk/wwwroot/wp-content/themes/solace/inc/views/ |
Upload File : |
<?php
/**
* Single page layout.
*
* @package Solace\Views
*/
namespace Solace\Views;
/**
* Class Page_Layout
*
* @package Solace\Views
*/
class Page_Layout extends Base_View {
/**
* Init function
*/
public function init() {
add_action( 'solace_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( 'solace_before_page_comments' );
if ( comments_open() || get_comments_number() ) {
comments_template();
}
echo '</div>';
do_action( 'solace_do_pagination', 'single' );
}
}