WordPress.org

Ready to get started?Download WordPress

Forums

Yet another Magazine Basic Frontpage question (1 post)

  1. orpheus.20
    Member
    Posted 4 years ago #

    Hi there.

    I know this issue has been discussed about a hundred times, but I am extremely dense when it comes to coding - I have played around with CSS and HTML by modifications and trial and error, but never worked with php.

    In the Magazine Basic theme there are multiple options for the frontpage layout. Currently, I have two sidebars (one on each side) that are widget-ready and then the central part of the page set up in a grid with 5 post areas as such:

    [1]
    [2][3]
    [4][5]

    I've been reading all the previous posts and the codex about "the loop" and "multiple loops" but it's all going over my head and I think I need a more specific, step-by-step tutorial answer on how to display a certain category in each page area. (i.e "journal" category in block 2, "music" category in block 3, etc.)

      So, Part A:

    The first issue I have (I think) is the style sheet - I am not sure where it is specifying the grid layout styling that I use, so I am unsure of how to apply a "div=classname" tag in order to specify where the loop should be running on the frontpage. As far as I can tell, all of the page content is dumped into an area called #leftcontent.

    Are these div tags needed to run multiple loops on one page, and if so, any suggestions on where I can peek at a very basic CSS code for a layout such as above that specifies 5 different classes of content on a page?

      Part B

    In which .php file would I actually past the loop code and where exactly within the file? I've heard to place it in the index.php file, but without recognizing the specific code that my template uses, I can't figure out where the heck to actually put the code! There's also .php files specific to the layout you chose for your front page (my case is option2.php) so maybe the code should go there instead of the index.php file?

    If you got through all of this, thanks for reading, and sorry to be rehashing questions that have already been asked. I really appreciate anyone willing and able to "hold my hand" and walk me through this in a remedial style - if you feel like you are insulting my intelligence with how dumb you make your answer, that's probably at the right level!

Topic Closed

This topic has been closed to new replies.

About this Topic