Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13940

    HI,

    I was just wondering if there is a way to set pagination for the related portfolio items. I have somehow managed to show all related items from a category but they look like a huge list of thumbnails now. Can I have do some sort of pagination for related portfolio items. To view what I mean, visit this one of the page: http://sarwiya.com/work/projects/looklabs/

    #81350

    Hi sarwiya,

    Looking at the code for this it should only be the number of columns*1. You can check this by looking at the file in the includes folder called related-portfolio.php and variable:

    $postcount = ($columns * 1);

    Regards,

    Devin

    #81351

    Hi,

    The code had this thing intact but I had just changed the column count to 200… thus displaying all the related post. What I want is to show them like the paginated portfolio… 12 items showing and rest in pagination pages… like we have in the portfolio on the home page: http://www.sarwiya.com.

    This is how I modified the code in related portfolio posts.php:

    $columns = 200; <<<< I changed this to 200 >>>>

    $reladed_posts = false;

    $this_id = $post->ID;

    $slidecount = 0;

    $postcount = ($columns * 1);

    $single_class = “one_fourth”;

    #81352

    Hey,

    I think the work around for this is to echo avia_pagination. Unfortunately, I am having problem doing that. Let me tag Peter in this post. :)

    Regards,

    Ismael

    #81353

    Hi!

    Probably it’s possible somehow but to be honest I don’t know a quick solution too. I’m sorry.

    Regards,

    Peter

    #81354

    :-( It would be great though

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

The topic ‘PAGINATION FOR RELATED PORTFOLIO ITEMS’ is closed to new replies.