/spiderbuzz/widgets/sidebar-list.php
<span class="meta-viewer"><i class="fa fa-eye" aria-hidden="true"></i><?php echo getPostViews(get_the_ID()); ?></span>
/spiderbuzz/widgets/grid-post-widget.php
<span class="meta-viewer"><i class="fa fa-eye" aria-hidden="true"></i><?php echo getPostViews(get_the_ID()); ?></span>
#primary {
width:100% !important;
}
<?php get_sidebar(); ?>
нужно удалить из каждого шаблона.register_sidebar( array(
'name' => esc_html__( 'Main Sidebar', 'gambit' ),
'id' => 'sidebar',
'description' => esc_html__( 'Appears on posts and pages except the full width template.', 'gambit' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s clearfix">',
'after_widget' => '</aside>',
'before_title' => '<div class="widget-header"><h3 class="widget-title">',
'after_title' => '</h3></div>',
));
register_sidebar( array(
'name' => esc_html__( 'Small Sidebar', 'gambit' ),
'id' => 'sidebar-small',
'description' => esc_html__( 'Appears on posts and pages except the full width template.', 'gambit' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s clearfix">',
'after_widget' => '</aside>',
'before_title' => '<div class="widget-header"><h3 class="widget-title">',
'after_title' => '</h3></div>',
));
<?php
if (is_product_category( 'категория' )) {
echo 'Мой текст здесь';
}
?>
media all and (min-width: 900px) and (max-width: 1090px)
а почему они дублируются?
если в моб. устройствах все корректно отображается, если в браузерах в режиме адаптивности (ctrl + shift + M) все корректно отображается, то все ок.