Category Display only on index.php
-
I’m trying to figure out a way to have my index.php show categories with the most recent posts beneath them. This would be the only post-related content, as everything would be linked to the archive files. Similar to a newspaper’s website, what I’d like to have is
Category
– Post
– Post
Another Category
– Post
– Post
Each one of these posts will have multiple categories, but will be sorted only based on certain stats. I was originally thinking of just using an RSS feed reader on my front page, but I think that would cause more problems than it’s worth. I know I can limit what categories are shown using$cat
. Is there anything I’m missing here? This would just require editing the loop to show only the categories/posts, right? Another question – how can I make a designated number of posts show up under each category (different numbers for different categories)? I was thinking there was some way to do it by date, but I’m not too sure how to do it.
I used to be good at web design back in the days of HTML 4 – I’m still learning all this php stuff. Thanks for any help.
- The topic ‘Category Display only on index.php’ is closed to new replies.