Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Pagination on Blog page does not work – URGENT #563993

    This may not be a technical issue with the theme code, but it is kinda a flaw in the theme design. (Not at all knocking the theme, it’s a good one!)

    If this is a common issue with loops in WordPress, then might i suggest that your theme account for that? Maybe develop grids that don’t have to reload page or share same links. Maybe with a JavaScript? Or develop a pagination system of your own and not use WordPress’s?

    Obviously this won’t be a fast development, I’ll have to find a creative solution to this.

    I request as this limits flexibility of design. Designing around flaws is not optimal.

    in reply to: Pagination on Blog page does not work – URGENT #563713

    I ran into this same problem.

    I tried the first fix:

    Found:
    $params['offset'] = 0;
    Replaced with:
    $params['offset'] = ( $page - 1 ) * $params['items'];

    Didn’t work. So I tried 2nd fix:

    Found:
    'offset' => $params['offset'],
    Replaced with:
    'offset' => !(int)$params['offset'] ? "" : $params['offset'],

    Didn’t work. So I kept 2nd fix but removed the 1st. That worked! But it made a new issue.

    Please see http://www.valleyvariety.com/life/products/

    There is a “Product Grid” (which i just fixed with your solution. and then a “Portfolio Grid” grid underneath it. When I change pages on either, they both move. So if i turn to page 3 on products, i turn to page 3 on portfolio as well. They do not work independently.

    Also, the portfolio only has 3 pages, products has 10, so portfolio just disappears after page 4.

    Is there a way to have 2 grid on the same page and have them navigate independently?

    This site is live, so a somewhat fast solution would be nice, thank you!

    • This reply was modified 8 years, 11 months ago by valleyvariety. Reason: code formating text
Viewing 2 posts - 1 through 2 (of 2 total)