• I am a newbie and trying to get my head around all these wonderful things. I am SLOWLY getting the picture. I am trying to develop a site http://communitybaptist.co.uk

    However … somehow I have a “Home” page but unable to edit it. I put in a home page via Add Page, called it “Home” and ANOTHER home page (at least acroos the top) appeared (i.e. now there are 2x “Home” links. They both seem to point to the same thing. When I trash the Home page, it does go away in my WP admin page but the original “Home” is still there. Did I corrupt the database some howe? How easy is it to “start from scratch”. I am just messing about and learning at this point.

    ALSO can I ftp a AV file (that the WP admin page seems to struggle with) and then tell WP that it is there to be able to add to a page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The exisiting “Home” link is hardcoded in header.php. Find

    <li class="page_item"><a href="<?php bloginfo('siteurl'); ?>">Home</a></li>

    in header.php and delete it.

    Thread Starter 4missionaries

    (@4missionaries)

    Thank you songdogtech. Sooo … maybe that leads me to another question on how WP works in general. I have worn the hardware/software engineering hat so I was under the impression that the theme is basically an www “equation” with loads of variables and the database fills in the blanks. However you directed me to change a link within the theme. Am I correct in thinking that nothing changes WITHIN the theme as you add “stuff”? How well does one need to become versed in HTML to nail WP. It is kinda funny as I thought the days of hardcoding were over with Dreamweaver / iWeb, blah, blah.

    I realise that messing with the hardcoding, you have ultimate flexibility. However that comes with a price of complexity.

    Theme files are static files in that they don’t change when you add content; they are php that generates xhtml and displays content in xhtml. But you can change the php that generates the xhtml that changes the way the content is displayed. Content is separate from presentation. Content is (mostly) in the database; presentation is the php and is mostly hardcoded. Themes are hardcoded so as to make thier content presentation standard across all copies of the theme.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘two “Home” pages’ is closed to new replies.