• silverlulu

    (@silverlulu)


    Hi,

    What i am looking to do is something like this…

    https://www.hq-celebrity.com

    in the index page each post has one main pic with 3 pics below it. when you click one of the pics it will go to the post itself with all the pics there.

    could someone please tell me how do to this? is it something to do with custom fields and sorting out the index.php to display them?

    if someone could point me in the right direction, maybe a tutorial or any info i would be REALLY REALLY GRATEFUL!

    Thanks in advance for you help ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter silverlulu

    (@silverlulu)

    i think it’s a great idea and one which i would like to use on a lot of websites. how is it done?

    vtxyzzy

    (@vtxyzzy)

    It is a great idea. Unfortunately, it can take quite a bit of coding to achieve. I suggest you find a theme that displays images close to what you want and dig through the code to see how it was done.

    The Codex has some rather outdated material on attachments. There may be other sources that I did not find.

    vtxyzzy

    (@vtxyzzy)

    @silverlulu, I have written a function that should give a good start on creating this effect. Email me at m_a_mcdonald =at= bellsouth =dot= net, and I will send you a copy.

    uwiuw

    (@uwiuw)

    @vtxyzzy why don’t you paste your code to https://pastebin.ca/. so everybody can see it ?

    vtxyzzy

    (@vtxyzzy)

    I am not sure it is ready for wholesale distribution yet. I wanted to have another set of eyes on it first. However, since you asked – here is the link.

    uwiuw

    (@uwiuw)

    @vtxyzzy : i have read your code (and haven’t test it yet ). it seem great idea to make custom display of attachments. i also read your TODO, good luck with that ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how do i show pictures of each post in the index page?’ is closed to new replies.