posts_per_page on category.php and in slider

Viewing 2 posts - 1 through 2 (of 2 total)
  • #6669
    mmorrow4393
    Participant

    I love this theme. So clean! But I had a few tweaks I wanted to make, one of which is listing the artwork on the category page in a grid, like this: http://metanoiasacredarts.com/?cat=6
    with all the works on the same page (not having to go to “Older Posts” or whatever.)

    We have quite a few works to add so there will be about 20 in each category, so I changed the posts_per_page in loop-slider.php and functions.php to 99. Well, that tried to put all the works in the slider.

    My question is: is there a way to change this somehow so that it affects the category.php page but not the slider?

    Thanks,

    Melissa

    #6695
    Daniel Tara
    Keymaster

    You would need to do a custom query. See here how.

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

Tagged: ,

You must be logged in to reply to this topic.