| Server IP : 216.250.13.251 / Your IP : 216.73.217.37 Web Server : nginx/1.24.0 System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/gunay/wp-content/themes/rttheme19/ |
Upload File : |
<?php
/**
*
* Template Name: Page Template Without Footer
*
*/
get_header(); ?>
<?php if ( have_posts() ) : ?>
<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* check if builder used */
$isbuilderactive = has_shortcode( get_the_content(), 'vc_row' ) || has_shortcode( get_the_content(), 'rt_row' ) ;
/* open content container if builder not used */
do_action( "rt_content_container", array( "action"=>"start", "sidebar"=>$rt_global_variables['sidebar_position'], "echo" => $rt_global_variables['sidebar_position'] == "" && $isbuilderactive ? false : true , "overlap" => false ) );
?>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail">
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?>
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . esc_html_x( 'Pages:','Frontend Text','rt_theme' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
<?php
/* close content container if builder not used */
do_action("rt_content_container",array("action"=>"end", "sidebar"=>$rt_global_variables['sidebar_position'], "echo" => $rt_global_variables['sidebar_position'] == "" && $isbuilderactive ? false : true ));
?>
<?php
/**
* Comments
*/
if( get_theme_mod( RT_THEMESLUG.'_allow_page_comments' ) && comments_open() ):
?>
<?php
/* open content container for commments if builder is used */
do_action( "rt_content_container", array( "action"=>"start", "overlap" => false ,"echo" => true ) );
?>
<div class='entry commententry'>
<?php comments_template(); ?>
</div>
<?php
/* close content container for commments if builder is used */
do_action( "rt_content_container", array( "action"=>"end", "overlap" => false ,"echo" => true ) );
?>
<?php endif;?>
<?php endwhile; ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
<?php
/**
* Hooks For After Main Content
*/
do_action("rt_after_main_content");
?>
<?php
global $rt_global_variables;
/* close content container if builder not used */
do_action("rt_content_container",array("action"=>"end","sidebar"=>$rt_global_variables['sidebar_position'],"echo" => ! rt_is_composer_allowed() ));
?>
</div><!-- / end #main_content -->
</div><!-- / end #container -->
<?php wp_footer(); ?>
</body>
</html>