- <?php $cat_id = $_REQUEST[PETOSEGA_CATEGORY_NAME]; ?>
-<?php $term = get_term($cat_id, petosega_CATEGORY_NAME); ?>
+ <?php $cat_id = $_REQUEST[GLM_CATEGORY_NAME]; ?>
+<?php $term = get_term($cat_id, GLM_CATEGORY_NAME); ?>
<?php echo '<h1 id="catTitleOutput">' . $term->name . '</h1>'; ?>
<?php //get_template_part('parts/sidebar-l'); ?>
<div id="gridView" class="row">
<?php
echo category_description($cat_id);
- $cat_children = get_term_children($cat_id, PETOSEGA_CATEGORY_NAME);
+ $cat_children = get_term_children($cat_id, GLM_CATEGORY_NAME);
?>
- <?php $term = get_term($cat_id, PETOSEGA_CATEGORY_NAME); ?>
+ <?php $term = get_term($cat_id, GLM_CATEGORY_NAME); ?>
<?php foreach($cat_children as $cats){
- $term = get_term($cats, PETOSEGA_CATEGORY_NAME); ?>
- <?php $tags = wp_get_post_terms($product->ID,'petosega_tag'); ?>
+ $term = get_term($cats, GLM_CATEGORY_NAME); ?>
+ <?php $tags = wp_get_post_terms($product->ID,'GLM_tag'); ?>
<div class="subcat <?php echo $term->slug;?> grid small-12 medium-4 columns<?php if ($product->end){ echo ' end';}?>">
<div class="prodImgGrid small-12 columns"><a href="<?php echo $cat->href . $term->term_id; ?>">
<img id="catImg" src="<?php echo z_taxonomy_image_url($cats, array(320, 285)); ?>" class="image wp-post-image no-display" alt=" " title="<?php echo $term->name; ?>" itemprop="image">
<?php } ?>
<?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
- <?php $tags = wp_get_post_terms($product->ID,'petosega_tag'); ?>
+ <?php $tags = wp_get_post_terms($product->ID,'GLM_tag'); ?>
<div class="<?php foreach ($tags as $tag)echo $tag->slug . " ";?> product grid small-12 medium-4 columns<?php if ($product->end){ echo ' end';}?>">
<div class="prodImgGrid small-12 columns"><a href="<?php echo $product->href; ?>">
<?php echo get_the_post_thumbnail( $product->ID, array(320, 285)); ?></a>