• Hi there,

    Sorry if this has been asked before, but is it possible to have an image slider for the featured image on a page? I have searched plugins, but cannot find anything suitable.

    Does anyone have any suggestions on how to do this? I basically want to scroll between a few images on the page where the featured image is displayed.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not exactly sure what you’re specifically referring to.

    For a single page/post, there’s only one featured image (by default)… so there’s no point sliding a single image.

    So when you say…

    I basically want to scroll between a few images on the page where the featured image is displayed

    Do you want to replace the featured image with a slider of images added to the same page (note, again, there’s only one feature image for the page by default)?

    Do you want to show a slider of featured images from different pages/posts?

    Something else?

    NB: Swapping out a feature that came with your theme for something else may require a modification to the theme’s code. So it’s essential to provide your site address so we can examine what’s on your site.

    Moderator bcworkz

    (@bcworkz)

    Do you want to replace the featured image with a slider of images added to the same page

    That’s my interpretation, I hope it’s right or else I’m answering the wrong question here ??

    There are a good number of slider plugins, but I’m not sure many would display images associated with a particular post. Most slider plugin images are associated with the slider itself. But you should still be able to relate a particular post with a particular slider collection, so the end result is the same.

    A typical work flow would be you’d create a slider collection, specifying which images to use. As a result you might get a unique shortcode that refers specifically to this collection. You can then add the shortcode to a particular post’s content. Indirectly, the images are related to the post through the shortcode.

    If the shortcode is added to post content, the slider will appear in place of the shortcode. If post content is an undesirable location, you could instead cause your theme’s template to utilize the shortcode by using do_shortcode().

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image slider for featured image?’ is closed to new replies.