WordPress.org

Support

Support » How-To and Troubleshooting » Need help with pages and posts

Need help with pages and posts

  • Hi to understand my problem please have a look here:

    http://www.perceptico.com/

    The About Us, Contact Us, etc have been set up as PAGES in the WP Dashboard. When I post something new using the Posts > New option, it always ends up on the Home tab or page. I want the home page to be static, and the blog entries to appear in the Blog tab. Any help on how I can do this with WP 2.7?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Write a Page called “home”, and you already have a Page called “blog”.
    Go to Options -> Reading and set your home page to be a static page, select “home”, and underneath define “blog” to be the article page.

    Hi Thanks for the info. By the way it is Settings -> Reading. I figured that out.

    I still have a problem. May be you can help. The “Home” page seems to be generated automatically by default, and I have another custom “Home” page just made out (static). I cannot seem to find a way to delete the default “Home” page. It does not appear in the list of pages that can be deleted here: /wp-admin/edit-pages.php.

    Thanks for any help.

    Hi please see here:
    http://www.perceptico.com/

    If I click on the first “Home” tab (default auto-generated) then it actually takes me to the Home1 tab. I need a way to delete that first Home tab. Can u pls help?

    I guess that means the “home” button is actually hard-coded in the theme file.
    Look at your header.php file. You’ll find a “wp_list_pages()” somewhere. Right before that should be a
    <li><a href="http://www.perceptico.com" title="Click for Home"><span><span>Home</span></span></a></li>
    Remove that.
    Rename your home1 to home 😉

    Excellent! Thanks for the awesome help!

    I searched for header.php in the main directories high and low and at last I figured out you mean it is in the theme directory. I found that and it looked something like this

    <?php //remove this section if you’re using a static page as a homepage; currently there’s no way to find out with the theme function…
    if(is_home() && !is_paged()){ ?>
    <li class=”current_page_item”>” title=”You are Home”><span><span>Home</span></span>
    <?php } else { ?>

  • ” title=”Click for Home”><span><span>Home</span></span>
  • <?php } // end of home section ?>

    So self-explanatory.

    So it is because there’s no curent way to find out if the page is a static page ? I thought my requirement should be pretty common (static home page; post blog entries to blog page only)

It just depends on the theme designer – most users like to use a “home” button but not create a special Page for it. It works out-of-the-box.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Need help with pages and posts’ is closed to new replies.
Skip to toolbar