| Server IP : 104.21.73.115 / Your IP : 216.73.216.222 Web Server : Apache System : Linux vps42439 6.8.0-136-generic #136~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 3 16:29:11 UTC x86_64 User : dh_7hi3h9 ( 6349477) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/dh_7hi3h9/regalflower.com/wp-content/themes/temp_thestory/ |
Upload File : |
<?php
/**
* Template Name: Full-width custom page
*/
get_header();
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
// $page_content = pexeto_a
//get all the page meta data (settings) needed (function located in unctions/meta.php)
$pexeto_page=pexeto_get_post_meta( $post->ID, array( 'slider', 'header_display', 'sidebar' ) );
$pexeto_page['layout'] = 'full';
$pexeto_full = new stdClass();
//include the before content template
locate_template( array( 'includes/html-before-content.php' ), true, true );
//display the page content
$pexeto_full->content = '<div class="custom-page-content">'.pexeto_filter_home_content(get_the_content()).'</div>';
$pexeto_full->content = do_shortcode($pexeto_full->content );
echo $pexeto_full->content;
wp_link_pages();
$pexeto_full->share_btns = pexeto_get_share_btns_html( $post->ID, 'page' );
$pexeto_full->box_section = ( pexeto_option( 'page_comments' ) && $pexeto_full->share_btns);
if($pexeto_full->box_section){
//open a boxed section
?><div class="section-boxed"><?php
}
//print sharing
echo $pexeto_full->share_btns;
if ( pexeto_option( 'page_comments' ) ) {
//include the comments template
comments_template();
}
if($pexeto_full->box_section){
?></div><?php
}
}
}
//include the after content template
locate_template( array( 'includes/html-after-content.php' ), true, true );
get_footer();
?>