Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #479

    Is there a way to enable pagination for a portfolio?

    For example, If I have my portfolio set to show 9 posts, and I have more then that, only the latest 9 are visible. I’d like the remaining posts to be assessable with pagination.

    #31574

    Hi!

    Display’s template_portfolio.php already has pagination built in.

    Can you check you’re using the latest version of the theme (re-download from Theme Forest)?

    Best regards,

    James

    #31575

    Hi James,

    Yes, I’ve installed the latest version. The problem page can be found here: http://magic-con.org/speakers/past-speakers

    As you can see, there is no pagination option. However, I know it’s working as http://magic-con.org/speakers/past-speakers/page/2/ exists.

    I also checked the template_portfolio.php file and can see that it is set up to display pagination with this code:

    <?php

    if ($boxnumber == 3) echo ‘</div>';

    $boxnumber = $boxnumber == 3 ? ‘1’ : $boxnumber + 1;

    endwhile;

    if($boxnumber != 1){

    echo ‘</div>';

    }

    kriesi_pagination($query_string);

    else:

    ?>

    Thank you for your help!

    #31576

    Please help. I still can’t get this working.

    I’m also wondering if it’s possible to include the sorting function that comes with Avisio in the Display theme portfolio? Couldn’t find documentation on that here.

    Thanks!

    #31577

    I’ll ask Kriesi to have a look into the pagination issue.

    The portfolio sorting function is something custom coded for Avisio / Cleantcut – you can add this function to Display but it’s quite a challenge. Good luck :)

    #31578

    Hey dave, could you paste me the content of your pagination.php file, located in framework/helper_functions/ ?

    You might want to create a snippet at pastie.org and drop me the link here for better readability ;)

    #31579
    #31580

    Same problem here. Had to enable large number to display all portfolio items on the portfolio settings!

    Thanks for working on this issue!

    #31581

    Hm the file seems to be up to date. Could you guys send me a mail with the following subject:


    YOURNAME | DISPLAY | Portfolio Pagination

    please add the following data:

    • url to your installation
    • access data to your backend
    • FTP Access Data so I can possibly edit files if necessary

    #31582

    Hello,

    I’m just wondering if you received my email and you had a chance to look into this problem.

    Thanks

    #31583

    Attention to this matter would be much appreciated. Thank you.

    Patiently awaiting a response,

    Dave

    #31584

    Hey,

    I imagine Kriesi will get back to you once he has had a chance to look at the problem first hand on your site, investigate the problem and has a solution.

    James

    #31585

    Hi James,

    I hate to keep asking, but it’s been over a month since I posted this problem. It’s not like I’m asking for a hack or custom modification, it’s suppose to be supported by this theme. I’ve emailed Kreisi through the Contact page a couple of times with no response.

    I would really appreciate you helping me with this as I love the them, but need this function to work.

    Thank you,

    Dave

    #31586

    I finally solved this problem – at least it’s working.

    Here’s what I did to fix the problem.

    In the template_portfolio.php file, I changed this:

    kriesi_pagination($query_string);

    to this:

    kriesi_pagination();

    I’m not sure what the “$query_string” code does, but I checked the template_blog.php file and it didn’t have it and was working, so I figured I try to copy it on the template_porfolio.php file and see what happened. It worked.

    Can someone tell me what $query_string does in this case? And was it okay to delete?

    Thank you,

    Dave

    #31587

    The function kriesi_pagination(); also works without parameters – thanks for your code update. Your help is much appreciated.

    #31588

    Why is this still broken in the latest version? I had to follow the instructions above by dave (posted over a year ago) to bring back pagination on my portfolio page after upgrading to the latest version of Display and WordPress 3.3.1. Very frustrating!

    #31589

    I thought it’s already fixed. I’ll ask Kriesi to update the files.

Viewing 17 posts - 1 through 17 (of 17 total)

The topic ‘Portfolio pagination’ is closed to new replies.