Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #22371

    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')

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘category archive not working’ is closed to new replies.