| Server IP : 5.129.245.98 / Your IP : 216.73.217.19 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/inc/specification/ |
Upload File : |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php
$tax_line_label = (!empty($row['tax_line_label'])) ? $row['tax_line_label'] : '';
$tax_line_name = (!empty($row['tax_line_name'])) ? $row['tax_line_name'] : '';
$tax_line_type = (!empty($row['tax_line_type'])) ? $row['tax_line_type'] : '';
?>
<?php if ($tax_line_name):?>
<div class="wpsm_spec_meta_row">
<div class="wpsm_spec_meta_label">
<?php echo ''.$tax_line_label;?>
</div>
<div class="wpsm_spec_meta_value">
<span class="wpsm_spec_meta_value_s">
<?php
if ($tax_line_type){
$term_list = get_the_term_list($postID, $tax_line_name, '<span class="wpsm_tax_line_link">', ', ', '</span>' );
if(!is_wp_error($term_list)){
echo '<span class="tag_post_store_meta">'.$term_list.'</span>';
}
}
else {
$terms = get_the_terms($postID, $tax_line_name );
if ($terms && ! is_wp_error($terms)) :
$term_slugs_arr = array();
foreach ($terms as $term) {
$term_slugs_arr[] = ''.$term->name.'';
}
$terms_slug_str = join(", ", $term_slugs_arr);
echo ''.$terms_slug_str;
endif;
}
?>
</span>
</div>
</div>
<?php endif;?>