Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other How to display and style pages as grid on homepage of site

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #36391
    sanclementejoe
    Participant

    I want a grid of thumbnails on my homepage that each link to a separate page. These thumbnails would pull from the featured image of that page. The page title will also be displayed above each thumbnail.

    Similar to http://demo.graphpaperpress.com/mixfolio/ in a way but those thumbnails would be pulling from pages and not images.

    Thanks!

    #95689
    Paulie_D
    Member

    Sounds like you need to use ‘iframes’ but only for pages you’re hosting yourself.

    #95710
    TheDoc
    Member

    Definitely iframes is the worst possible route you could take here!

    You’ll just need to run a loop with query_posts, should be pretty easy. Something like this:



    ">





    Where ‘####’ is the ID of the parent page (probably the portfolio page?).

    #95712
    TheDoc
    Member

    Well, presumably all of your images are going to be the same size, so you could just wrap a div around them like this:

    And then float them all to the left. Apply appropriate margins, etc.

    #95806
    TheDoc
    Member

    Can you post the code that you’re using for your loop?

    #95815
    TheDoc
    Member

    No problem!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Other’ is closed to new topics and replies.