• I am trying my hand at wordpress. My site has pages and posts but when you click on them they look identical to my homepage.
    I put text above the loop and it displays on every page.
    Can I change this?
    The site is anonrecovery. com <~~ no space
    I could use the help
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chimesnews

    (@chimesnews)

    Ok this is what I found. I have a home.php and a index.php When I put text above the loop in the index.php nothing happens. When I put the text in the home.php I get the text on every page! Every page looks like my home page.
    My home.php and index.php look identical
    It is the redbook theme
    please take a look anonecovery. com
    Please help
    Thanks

    The way a blog work is to centralized the design. If you want a different look for every page you will have to create multiple “looks” of the home.php file and name it home1.php, home2.php and so on. And just change the template when you create a page/post. The ‘loop’ is a function used to run a query over and over again until there is no data left for the given query to pull (getting posts). If you add any text outside of the loop… for instance stuff on the sidebar of course it’s going to show up!

    And what exactly are you trying to change?

    That’s not entirely correct.
    If you want to learn about home.php and index.php – read the documentation (also applies to omgitztrey…)
    Template_Hierarchy

    And no, do NOT create home1, home2 etc.
    Learn about Page_Templates, if you want more than one design for your Pages.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘All my pages and posts look like my index…WHY???’ is closed to new replies.