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



    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,



    Hi James,

    Yes, I’ve installed the latest version. The problem page can be found here:

    As you can see, there is no pagination option. However, I know it’s working as exists.

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


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

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


    if($boxnumber != 1){

    echo ‘</div>';





    Thank you for your help!


    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.



    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 :)


    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 and drop me the link here for better readability ;)


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

    Thanks for working on this issue!


    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



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



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

    Patiently awaiting a response,




    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.



    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,



    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:


    to this:


    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,



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


    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!


    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.