Viewing 7 posts - 31 through 37 (of 37 total)
  • Author
    Posts
  • #561807

    Hey!


    @Indigotin
    : Could you please open a new thread then post the login details including FTP? We would like to test the fix in your installation.

    Cheers!
    Ismael

    #561843

    Same problem with our site. After updating WordPress 4.1.1. pagination stopped working.

    #562305

    Hi!

    Instead of adding a reply here, please open a new thread then post the url to the site plus the login details so that we can inspect it. Make sure that you have the latest version of the theme. Thank you. :)

    EDIT: Please modify the config-templatebuilder > avia-shortcodes > productslider.php. Look for this code around line 504:

    'offset'            	=> $params['offset'],
    

    .. replace it with:

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

    Remove browser cache then reload the page.

    Best regards,
    Ismael

    #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, 2 months ago by valleyvariety. Reason: code formating text
    #563732

    Hey!


    @valleyvariety
    : This is actually a WordPress issue rather than a theme specific issue. Pagination of both post types is set to the same url. Please avoid adding two elements with pagination on the same page. https://wordpress.org/support/topic/2-loops-and-different-pagination

    Best regards,
    Ismael

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

    #564466

    Hi!

    It will be easier said than done but we will look into it. I actually open it up in our team discussion but I got no response yet. We will raise the issue to Kriesi. If you encounter more issues at this time, we kindly ask you to create another thread.

    Cheers!
    Ismael

Viewing 7 posts - 31 through 37 (of 37 total)
  • The topic ‘Pagination on Blog page does not work – URGENT’ is closed to new replies.