Shortcode option to use pageid to match galleries
-
We are using a shortcode in a text widget in the primary sidebar to show four random thumbnails from gallery ID 1 on any given page in our site.
However, since there is a dropdown menu in the ‘Manage Galleries’ admin area which allows us to ‘Link to page:’, which sets the pageid column in the wpp_ngg_gallery table, I’m trying to figure out if it would be possible to use the pageid column to decide which galler(ies) to pull images from? (This is how we interpreted ‘link to page’.)
i.e. ngg_images source=”pageid” default_source=”1″ (in case no pageid matches.)
Guessing this is not currently a feature, wondering how hard it would be to add. Thanks!
- The topic ‘Shortcode option to use pageid to match galleries’ is closed to new replies.