Hi – I just noticed that when I click on a category archive it’s showing all my posts, rather than the posts which are in that category. You can see an example on these pages
There is a post on there for wireless speakers and that’s in the hardware category.
Have I done something wrong?
Yes, this is a bug with the grid view layout. We’ll fix it in the next version. To fix it open up archive.php and replace:
$atts = array('type' => 'grid', 'items' => get_option('posts_per_page'), 'columns'=> 3, 'class'=>'avia-builder-el-no-sibling', 'paginate'=>'yes');
$atts = array(
'type' => 'grid',
'items' => get_option('posts_per_page'),
'columns' => 3,
'class' => 'avia-builder-el-no-sibling',
'paginate' => 'yes',
'categories' => get_query_var('cat')
The topic ‘category archive not working’ is closed to new replies.