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


    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:


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





    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:

    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”;



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





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




    :-( 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.