Post slideshow
-
I was asked to work on a couple of small features for a news website, and I wonder what you guys think is the best approach:
Post slideshow:
(A gallery of images is to be displayed above certain posts, replacing the featured image that would usually be there) I have a couple of ideas of how to approach this, ease of use is a priority.1 . Generate a gallery with the WordPress editor then paste the shortcode in to a custom field
2. Intercept the first gallery shortcode in the post content and replace the featured image with that
3. Add a switch to disable the featured image and put a shortcode at the beginning of your post.
… other ways to do this? It seems like the old functionality of looping over images that are ‘attached’ to a post is not well supported in core any more, the user interfaces have been removed.
- The topic ‘Post slideshow’ is closed to new replies.