• Hey guys,

    I’m working on a dynamically created gallery. There are several different “collections” within the gallery. Each collection has several photos that are displayed.

    I’m using a loop like this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    to load and display the custom sized thumbnails. Since I want this to load different images depending on the category page I’m on, I need to change the code to not say category_name=collections1

    I’m not sure how I would change this though to just be a general query to whatever category page I’ve selected.

    Thanks for any help!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Looping in category pages’ is closed to new replies.