Okay
  Public Ticket #879787
Change number of portfolio items per page
Closed

Comments

  •  2
    David started the conversation

    Hi there,

    I would like to increase the number of portfolio items that is loaded per page for my child theme – actually I want all (±20) items to be loaded. I looked inside the portfolio functions but it's too complex for me to find the right line of code.. Can you show me where to change this or how to disable paging?

    Also it would be great to sort a custom query portfolio list alphabetically. Is that possible?

    Thank you!

    David

  • [deleted] replied

    Hi David,

    2— a) If you want to do that for yoursite.com/portfolio page then you just need to go on the Theme Options > Portfolio Settings > find Portfolio items per page for this type and add -1 there.


    (view large version)

    b) If your portfolio is on your homepage (as on Main demo for example) through Visual Composer too, then to do this quick procedure http://drops.laborator.co/4K72

    2— You can change the ordering of Portfolio Items easily by using the Post Types Order plugin, install and activate it, manage the ordering easily by dragging the titles of the items and don’t forget to Save all changes.

    Please don't forget to go to Settings > Post Types Order > and activate Auto Sort option 

     

    (view large version)

    Also if you want those changes to take effect on portfolios that you have called with Visual Composer then you need to do this:

    (view large version)

  •  2
    David replied

    Thank you, Ylli.

    I saw the setting in the theme options but it didn't have any effect on my page.

    Anyway, using the portfolio module in visual composer rather than the portfolio page template gave me all the settings I needed.

    Cheers, David

  • [deleted] replied

    Hi David,

    I'm very glad to hear that :)