| 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/staff-contents/ |
Upload File : |
<?php
#
# rt-theme
# loop item for portfolio custom posts
# image post format
#
global $rt_item_width;
$short_data = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.'_short_data', true);
$position = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.'_position', true);
$long_data = get_the_content();
$permalink = ! empty( $long_data ) ? get_permalink() : "" ;
?>
<?php if ( ! post_password_required() ) : ?>
<div <?php post_class("loop")?> id="person-<?php the_ID(); ?>">
<?php if ( has_post_thumbnail() ) : ?>
<div class="person_image">
<div class="person_image_wrapper">
<?php
// Create thumbnail image
$thumbnail_image_output = get_resized_image_output( array( "image_url" => "", "image_id" => get_post_thumbnail_id(), "w" => rt_get_min_resize_size( $rt_item_width ), "h" => 100000, "crop" => "" ) );
?>
<?php if( $permalink ) : ?>
<a href="<?php echo esc_url($permalink);?>"><?php echo wp_kses_post( $thumbnail_image_output );?></a>
<?php else:?>
<?php echo wp_kses_post($thumbnail_image_output);?>
<?php endif;?>
</div>
</div>
<?php endif;?>
<?php if( $permalink ) : ?>
<h5 class="person_name"><a href="<?php echo esc_url($permalink);?>"><?php the_title();?></a></h5>
<?php else:?>
<h5 class="person_name"><?php the_title();?></h5>
<?php endif;?>
<?php if(! empty( $position )) : ?>
<span class="position"><?php echo wp_kses_post($position);?></span>
<?php endif;?>
<div class="profile">
<?php echo wp_kses_post($short_data); ?>
</div>
<?php do_action("rt_staff_media_links",$post->ID); ?>
</div>
<?php endif;?>