@media only screen and (max-width: 480px) {
.bx-wrapper {display: none;}
}
<?php echo term_description($term->term_id, 'portfolio_category');?>
@media only screen and (max-width: 480px) { /* здесь правила для смартфонов */
.master-slider-parent {display: none;} /* выключаем слайдер с картинками */
}
.woocommerce-tabs .panel h2 {
display: none;
}
<h3><?php _e('Portfolio','wpex'); ?></h3>
<?php $terms = get_terms('portfolio_cats','orderby=custom_sort&hide_empty=1&child_of='.$portfolio_filter_parent.''); ?>
<?php foreach($terms as $term) : ?>
<ul class="sitemap-port-cat">
<li class="sitemap-port-cat-heading"><?php echo $term->name; ?></li>
<?php
//tax query
$tax_query = array(
array(
'taxonomy' => 'portfolio_cats', /* облако будет построено из таксономии portfolio_cats */
'terms' => $term->slug,
'field' => 'slug'
)
);
$term_post_args = array(
'post_type' => 'portfolio', /* нужно получать записи типа portfolio */
'numberposts' => '-1', /* без ограничения по количеству выводимых постов */
'tax_query' => $tax_query
);
$term_posts = get_posts($term_post_args);
foreach($term_posts as $post) : setup_postdata($post); ?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>
<?php endforeach; //end terms loop ?>
<?php wp_reset_postdata(); ?>
.footer{
width: 100%;
height: 300px;
color: #adadad;
background-color: rgba(0, 0, 0, .85);
background-image: repeating-linear-gradient( -45deg,
transparent, transparent 0.27em,
rgba(51, 51, 51, .5) 0.001em, rgba(51, 51, 51, .5) 1em
);
}