| Server IP : 68.178.247.200 / Your IP : 216.73.217.131 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/public_html/wp-content/themes/grace-church/ |
Upload File : |
<?php
/**
Template Name: Single post
*/
get_header();
global $GRACE_CHURCH_GLOBALS;
$single_style = !empty($GRACE_CHURCH_GLOBALS['single_style']) ? $GRACE_CHURCH_GLOBALS['single_style'] : grace_church_get_custom_option('single_style');
while ( have_posts() ) { the_post();
// Move grace_church_set_post_views to the javascript - counter will work under cache system
if (grace_church_get_custom_option('use_ajax_views_counter')=='no') {
grace_church_set_post_views(get_the_ID());
}
grace_church_show_post_layout(
array(
'layout' => $single_style,
'sidebar' => !grace_church_param_is_off(grace_church_get_custom_option('show_sidebar_main')),
'content' => grace_church_get_template_property($single_style, 'need_content'),
'terms_list' => grace_church_get_template_property($single_style, 'need_terms')
)
);
}
get_footer();
?>