Home Forums Blogberg Problems with categorys

  • This topic has 2 replies, 3 voices, and was last updated 2 years ago by Anonymous.
Viewing 2 reply threads
  • Author
    Posts
    • #4129
      Anonymous
      Inactive

      Hi, I was testing this topic and I really love it but it has an error.

      When you entering a category the system shows all existing posts and not only post of that category.

      It would be amazing if you could repair that or tell me how to configure it correctly.

      Thank you

    • #4288
      keonthemes
      Keymaster

      Hello,

      Thanks for reporting an issue. We have released a new version with fixing the issue. Please do update the theme.

      Regards.

    • #4318
      Anonymous
      Inactive

      Hello,
      I too experienced the issue with categories. I found the issue was that index.php wasn’t passing the cat query argument into the WP_Query.
      This seemed to resolve it:

      $cat = get_query_var('cat');
      $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
      $the_query = new WP_Query( array( 'post__not_in' => get_option( 'sticky_posts' ), 'cat' => $cat, 'paged' => $paged ));

      Aside from that it’s a nice theme.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.