| 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/testimonial-contents/ |
Upload File : |
<?php # # rt-theme # loop item for testimonial custom posts # image post format # global $client_images; $testimonial = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.'_testimonial', true); $name = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.'_name', true); $title = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.'_title', true); $link = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.'_link', true); $link_text = get_post_meta( $post->ID, RT_COMMON_THEMESLUG.'_link_text', true); $add_class = has_post_thumbnail() && $client_images !== "false" ? "with_image" : ""; ?> <?php if( $client_images !== "false" && has_post_thumbnail() ) : ?> <div class="client_image gradient"> <?php // Create thumbnail image $thumbnail_image_output = get_resized_image_output( array( "image_url" => "", "image_id" => get_post_thumbnail_id(), "w" => 400, "h" => 400, "crop" => true ) ); echo wp_kses_post( $thumbnail_image_output ); ?> </div> <?php endif;?> <div class="text <?php echo esc_attr($add_class);?>"> <p> <span class="icon-quote-left"></span> <?php echo wp_kses_post($testimonial); ?> <span class="icon-quote-right"></span> </p> <div class="client_info"> <?php if(is_rtl()): ?> <?php echo ! empty( $link ) && empty( $link_text ) ? '<a href="'. esc_url($link). '" target="_blank" class="client_link">'. str_replace( "http://","",$link ). '</a>' : "" ; ?> <?php echo ! empty( $link ) && ! empty( $link_text ) ? '<a href="'. esc_url($link). '" target="_blank" title="'.esc_attr($link_text).'" class="client_link">'. str_replace( "http://","",$link_text ). '</a>' : "" ; ?> <?php echo ! empty( $title ) ? '<span>'. wp_kses_post( $title ). '</span> -' : "" ; ?> <?php echo wp_kses_post($name); ?> <?php else:?> <?php echo wp_kses_post($name); ?> <?php echo ! empty( $title ) ? '- <span>'. wp_kses_post( $title ). '</span>' : "" ; ?> <?php echo ! empty( $link ) && ! empty( $link_text ) ? '<a href="'. esc_url($link). '" target="_blank" title="'.esc_attr($link_text).'" class="client_link">'. str_replace( "http://","",$link_text ). '</a>' : "" ; ?> <?php echo ! empty( $link ) && empty( $link_text ) ? '<a href="'. esc_url($link). '" target="_blank" class="client_link">'. str_replace( "http://","",$link ). '</a>' : "" ; ?> <?php endif; ?> </div> </div>