Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #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

    http://www.touchscreenjukeboxes.co.uk/category/itunestouch-freeware/

    http://www.touchscreenjukeboxes.co.uk/category/software/

    There is a post on there for wireless speakers and that’s in the hardware category.

    Have I done something wrong?

    Thanks

    #115563

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

    with:

    $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.