WordPress.org

Ready to get started?Download WordPress

Forums

Adding posts to pages (8 posts)

  1. sfadam
    Member
    Posted 5 years ago #

    Can you add posts to pages? I have a page for Spanish blog entries, but I can't figure out how to make individual posts to that page. I am hosting WordPress on GoDaddy, btw. Any hints?

    http://www.wercampaign.org

  2. Samuel B
    moderator
    Posted 5 years ago #

  3. sfadam
    Member
    Posted 5 years ago #

    Thanks. I will give this a try.
    Adam

  4. theluminousroom
    Member
    Posted 5 years ago #

    How about posting every post from a category instead of a single post?

  5. stephenkinsella
    Member
    Posted 5 years ago #

    Hi, I'd love a plugin which displayed every post from a category on a page. Is there such a plugin? I'm searching, but to no avail at the moment.

  6. renato_s
    Member
    Posted 5 years ago #

    sfadam:
    Here's how:
    1. Create a page template;
    2. Before the loop, insert a query_posts to specify which posts you want to appear;
    3. If you haven't already done so, create the page you want to display the posts;
    4. Assign the page template to the page.

    That's it!
    If you're in doubt about the steps, search in codex.

  7. theluminousroom
    Member
    Posted 5 years ago #

    @renato_s
    That is right on the edge of my understanding right now. I have been reading about the Loop, but have yet to grasp it. I wish it was a little easier. Like this plug in, except using a category not a single post. This plugin works great for posts.

    Know of any step-by-step info for what you mentioned?

  8. renato_s
    Member
    Posted 5 years ago #

    If you learned how to do a Page Template, then all you have to do now is to insert

    query_posts('cat=ID');

    before the loop. You don't have to understand the loop, just recognize it in your code. Obviously, you have to replace ID by the id of the category you want to show.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.