1 specific post on main page
-
Here is what I’m trying to do. I only want one specific post to show on the main page of the blog. I want viewers to have to go to the categories on the right to view more posts. The post I want to show on the main page is post id #1. It’s the first post created in the blog, and just a welcome message of sorts. I’ve edited the loop in index.php to the point where it’s only showing one post. But even though I replaced “<div class=”post” id=”post-<?php the_ID(); ?>”>”, with “<div class=”post” id=”post-1″>”, it’s showing the most recent post, rather than the first one.
Anybody know how I can tell it to only show that first one? I don’t even care if you can comment on it. I’m almost to the point where I’m just going to delete the code pulling in posts, and just add in my own info for a welcome message.
- The topic ‘1 specific post on main page’ is closed to new replies.