WordPress.org

Support

Support » Themes and Templates » [Resolved] Lost Newbie! Advanced Layout Question, simple fix for index.php???

[Resolved] Lost Newbie! Advanced Layout Question, simple fix for index.php???

  • I have scoured the documentation for help on this. I think my issue is with the loop in the index.php. Hopefully there’s a workaround. I’m moving to WordPress for inventory updates on a used car site i update.

    Current by hand site:
    shorelinemotorcars.com/inventory/

    WordPress Template:
    shorelinemotorcars.com/inventory1/

    I need to have three cars across and then start a new line. In regular HTML i can do this simply with tables, starting a new ‘table row’. But I can’t figure out how to automate this in WordPress.

    Is there a way to say “every third post, start a new table row” Maybe, this can be done in CSS and i just don’t know?

    The other thought is, could i pre-layout the posts? If the loop won’t work like this can i skip the loop and say “Most recent post goes here” “second most recent post goes here” and so on… Then I would have manual control over where posts go.

    strong Thank you very much for your help!! strong

Viewing 4 replies - 1 through 4 (of 4 total)
  • Okay, so this is strictly photos, right? With a caption obviously….

    You could do it with tables, I would think it’s a matter of reframing the loop’s divs etc into table structure. I haven’t used tables in years so haven’t any practical advice about it, however.

    I’m thinking you might want to look into one of the gallery plugins used for photoblogs. Try this in google’s search box: site:
    http://wordpress.org/support/ photoblog,gallery
    (just copy n paste that – don’t click on the part that wants to be a link *sigh*) – that’ll give you a targeted set of threads to start on….

    thank you vkaryl for the targeted search. I looked through the photoblog tuts, themes and helps… but there was a lot of info i didn’t need, this will certainly help narrow my search. I’m sure there’s some easy magical fix, hopefully i’ll indirectly come accross it.

    If anyone has ideas, please post it!

    thank you.

    ::update::
    I’m still having issues… my update was due so my examples have moved
    What it should look like:
    http://www.shorelinemotorcars.com/inventory/index.html
    what is being automated:
    http://www.shorelinemotorcars.com/inventory/index.php

    just as a follow up to my own question, if someone is looking for a similar answer…

    to achieve mulitple items in a row and then drop down to the next row. Use a container div for your whole blogging space, with each individual blog item in a div that is ‘float: left; display: inline-block’. to make this compatible with IE you will need to use the ‘box model hack.’ with a little googling around you’ll find the information you need.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Lost Newbie! Advanced Layout Question, simple fix for index.php???’ is closed to new replies.