• In the main index template:

    Category title
    Post title
    excerpt
    Post title
    Post title
    Post title
    Post title

    Displayed in two boxes wide and up to 6 down.

    Is this possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think you’d probably just do a sort of counter thing. So if $counter == 1, then show the excerpt. Else, just show the title. As for the two columns, I’m just thinking, you could probably create the CSS styling necessary for the two columns then use something like:

    class=”<?=($counter%2)?”col1″:”col2″;$counter++;?>” (not my code)

    To return which column (assuming your CSS is styled for classes “col1” and “col2” to put that specific post into. Try something along these lines.

    I think you’ll need to use Multiple Loops (described in the Codex) to query posts from Category 1, and return several headlines… then query again for Cat 2 and return headlines.

    Thread Starter gary68

    (@gary68)

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘category boxes’ is closed to new replies.