shortcode to display all thumbs in all galleries named with a certain title
-
I have many galleries setup with the same names, under different parent directories. I need to see all of them when I use a shortcode on a page.
Directory structure:
-manufacture
-model
-productA
-productC
-productD
-manufacture
-model
-productC
-productD
-productFI am trying to get all of the image thumbs of a certain product, no matter the parent directory with the following shortcode:
[wppa type=”thumbs” album=”$productC”][/wppa]This returns the right product, but only in the last uploaded album.
If I use the search function, the search results page delivers almost exactly what I want – it lists/displays all the covers for the specific productX galleries.
How can I call those search results through a shortcode OR how do I hard code a display querying the search I described?
- The topic ‘shortcode to display all thumbs in all galleries named with a certain title’ is closed to new replies.