403Webshell
Server IP : 5.129.245.98  /  Your IP : 216.73.217.98
Web Server : Apache/2.4.66 (Debian)
System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/themes/rehub-theme/wcfmgs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/rehub-theme/wcfmgs/content-groups.php
<?php
/**
 * WCFMgs plugin templates
 *
 * Main content area
 *
 * @author 		WC Lovers
 * @package 	wcfmgs/templates/content-groups
 * @version   2.0.0
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

global $WCFM, $WCFMgs;

$thumbnail = get_post_meta( get_the_ID(), 'thumbnail', true );
if( !$thumbnail ) {
	$thumbnail =  apply_filters( 'woocommerce_placeholder_img_src', WC()->plugin_url() . '/assets/images/placeholder.png' );
}

$group_ele_class = 'rh-cartbox col_item';
$loop_index = wc_get_loop_prop( 'loop', 0 );
$columns    = 4;

$loop_index ++;
wc_set_loop_prop( 'loop', $loop_index );

if ( 0 === ( $loop_index - 1 ) % $columns || 1 === $columns ) {
	$group_ele_class .= ' first';
} elseif ( 0 === $loop_index % $columns ) {
	$group_ele_class .= ' last';
}
?>

<div <?php post_class( $group_ele_class ); ?>>
  <a href="<?php echo get_the_permalink(); ?>" class="woocommerce-LoopProduct-link woocommerce-loop-product__link text-center">
    <img src="<?php echo esc_url($thumbnail); ?>" alt="Placeholder" width="247" class="woocommerce-placeholder wp-post-image" height="300">
    <div class="woocommerce-loop-product__title rehub-main-font fontbold font100 text-center"><?php echo get_the_title(); ?></div>
  </a>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit