| Server IP : 217.11.249.137 / Your IP : 216.73.216.54 Web Server : Apache System : FreeBSD triton.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-a3d32f9e6 GENERIC amd64 User : www ( 80) PHP Version : 8.0.30 Disable Function : ini_restore, show_source, socket_select, socket_create_listen, socket_create_pair, socket_listen, socket_strerror, shell_exec, proc_nice, proc_terminate, readlink, symlink, link, pfsocketopen, ini_alter, dl, pcntl_exec, pcntl_fork, pcntl_signal, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifsignaled, pcntl_wifstoped, pcntl_wifstopsig, pcntl_wtermsig, socket_accept, socket_bind, socket_create, socket_create_listen, popen, zlib_decode MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /data/www/24781/extramagazin_cz/www/wp-content/plugins/td-composer/mobile/ |
Upload File : |
<?php
/* ----------------------------------------------------------------------------
the default page template
*/
if ( td_util::is_amp() ) {
get_header('amp');
} else {
get_header();
}
//get theme panel variable for page comments side wide
$td_enable_or_disable_page_comments = td_util::get_option('tds_disable_comments_pages');
// the page is rendered using the page builder template (no sidebars)
if (have_posts()) {
while ( have_posts() ) : the_post(); ?>
<div class="td-main-content-wrap td-main-page-wrap">
<div class="td-container">
<div class="td-crumb-container">
<?php echo td_page_generator_mob::get_page_breadcrumbs(get_the_title()); ?>
</div>
<div class="td-main-content">
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
// get the mob theme status from post meta
$status = get_post_meta( get_the_ID(), 'tdm_grid_status', true );
if ( $status && $status === 'enabled' ) {
echo td_global_blocks::get_instance( 'td_block_big_grid_mob_1' )->render( array() );
}
?>
<?php
$the_content = apply_filters('the_content', get_the_content());
if ( current_user_can( 'publish_posts' ) && empty($the_content) ) {?>
<div class="td-mobile-missing-content">
<?php echo 'No mobile content! - ' ?><a href="<?php echo get_edit_post_link() . '#td_mobile_editor'?>"> Edit mobile content </a>
</div>
<?php
} else {
the_content();
} ?>
</div>
<?php
if($td_enable_or_disable_page_comments == 'show_comments') {
comments_template('', true);
}?>
</div>
</div>
</div> <!-- /.td-main-content-wrap -->
<?php endwhile;
}
if ( td_util::is_amp() ) {
get_footer('amp');
} else {
get_footer();
}