• Hi,

    i am trying to set up an image gallery which is populated using images from the featured image of a post, im sure this should be fairly easy but I just cant seem to figure it out.

    Heres exaactly what I need:
    – Image gallery from featured image
    – Each image should link to relevant post
    – If possible the posts of a certain category should be show (e.g. Gallery1 should display image only from the ‘Clothes’ category), alternatively it would be ideal if I could set it up to gether the images from custom post types.

    Anyone have a bit of code I can use which will produce the result im after? or know of somewhere I could find something similar to what im after?

    Thanks for any help provided.
    Nick

Viewing 3 replies - 1 through 3 (of 3 total)
  • 1. image gallery from featured images = possible
    2. each image link to relevant post = possible
    3. ..gallery1->clothes.. = possible (not sure about “from custom types”), but it’s possible to hook featured images from certain category.

    These are just like “related posts thumbnails”, you can find on google (add keyword – without plugin, etc).

    Tweak the code and you’ll get what you want.

    Thread Starter Nick McBurney

    (@nick-mcburney)

    Hi Blacklizt, thanks for your response but I already know this is possible as ive seen it working in many differant themes, the issue is that the theme im running doesnt have this option so im trying to code it myself, I could really do with a tutorial or code snippet to help me with this.

    I just need to know how to code a gallery using featured image from certain categories.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Gallery from Featured Images’ is closed to new replies.