WordPress.org

Ready to get started?Download WordPress

Forums

What's a page? (2 posts)

  1. LizQuigg
    Member
    Posted 3 years ago #

    I have a really basic question. I am getting confused with the distinction between a web page (e.g., index.php) and the page defined in WordPress where you are discouraged from using it for a blog list. I want my users to see everything on the home page, but be able to go to other "pages" with "canned" searches that show posts satisfying two categories ( page 1 will show all posts with two categories set, page 2 will show all posts with two other categories set, etc.) Do I make duplicate php pages and tailor the php code in the loop or does this involve something different? I cannot see where I can select to display posts with two categories set on the home page.

    Lots of posts refer to pages, but I am not sure if they mean a web page or a WordPress page.

  2. Clicknathan
    Member
    Posted 3 years ago #

    Typically, when something in the Codex refers to a Page (with a capital P), they are referring to a WordPress Page (that is, one you create by going to Pages > Add New) in WordPress. If the codex refers to a page, no capital letter, that is typically referring to any standard type of Internet page, such as index.php as you'd described.

    Knowing the difference in other places -- support forums, other blogs, etc. -- is really just a matter of getting to know how WP works and reading into the context of the post.

    What you're referring to as "canned" searches, I think you're talking about wanting Category pages. So if you have a category named "Ice Cream", and you have permalinks turned on (via Settings > Permalinks in WordPress), you would also have a page (note, no capital p there) on your site like:

    mywebsite.com/category/ice-cream

    This would only show posts in the Ice Cream category.

    Hopefully that helps. Best to just keep playing around with your site until you get more comfortable using WP.

Topic Closed

This topic has been closed to new replies.

About this Topic