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.
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.
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
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!
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!
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 pastie.org 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:
Hello,
I'm just wondering if you received my email and you had a chance to look into this problem.
Thanks
Attention to this matter would be much appreciated. Thank you.
Patiently awaiting a response,
Dave
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
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
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
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.
You must log in to post.