Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter spacebean

    (@spacebean)

    Solved! I kept looking around, and found the get_posts() tag, and used that and some php to call posts from each category for each table, so I have table 1 calling to category one, table 2 calling to category 2, etc.

    I’ll post the specific code if anyone else wants to know how to do this.

    Thanks!

    Thread Starter spacebean

    (@spacebean)

    Hm, I don’t think any of those give me quite what I want. Basically what I’m trying to accomplish is displaying the latest post in one category on one side of the page, and the latest post in another category on the other. I tried a <?php if ( in_category(1) ): ?> then display post code, but that only displays the post if I’m actually looking at the archive for that category. What I want is for the main index page of my site.

    Is there possibly a script that allows me to display the most recent post of a certain category? That may work.

Viewing 2 replies - 1 through 2 (of 2 total)