| Server IP : 172.67.162.67 / 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
/**
* Single Post Template - this is the template for the single blog post.
*/
get_header();
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
//get all the page data needed and set it to an object that can be used in other files
$pexeto_page=array();
$pexeto_page['sidebar']=pexeto_option( 'post_sidebar' );
$pexeto_page['slider']='none';
$pexeto_page['layout']=pexeto_option( 'post_layout' );
$pexeto_page['style'] = pexeto_get_single_meta($post->ID, 'post_style');
if($pexeto_page['style'] === 'header'){
$pexeto_page['header_display'] = array('show_title'=>true);
$pexeto_page['title']=$post->post_title;
$pexeto_page['subtitle'] = pexeto_get_single_meta($post->ID, 'subtitle');
$pexeto_page['hide_thumbnail'] = true;
$pexeto_page['hide_title'] = true;
}else{
$pexeto_page['header_display'] = array('show_title'=>false);
$pexeto_page['title']='';
}
//include the before content template
locate_template( array( 'includes/html-before-content.php' ), true, true );
//include the post template
locate_template( array( 'includes/post-template.php' ), true, false );
//include the comments template
comments_template();
}
}
//include the after content template
locate_template( array( 'includes/html-after-content.php' ), true, true );
get_footer(); ?>