WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How To Delete Home Page (7 posts)

  1. columbo
    Member
    Posted 5 years ago #

    hi, can someone tell me how to delete the 'home' page on my site http://www.escocolumbo.org?

    also, if i delete it, would it mess up my account? i mean, how would i log in?

    cheers

  2. MichaelH
    Member
    Posted 5 years ago #

    Assuming you are using the template tag, wp_page_menu(), in your theme's header.php then show_home=0 would not show home.

    If you are NOT using wp_page_menu, then delete the hardcoded link in your theme's header.php

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

  3. columbo
    Member
    Posted 5 years ago #

    where exactly do i place show_home=0 on header.php?

  4. MichaelH
    Member
    Posted 5 years ago #

    Please paste your theme's header.php code in at http://wordpress.pastebin.ca and report the link back here.

  5. columbo
    Member
    Posted 5 years ago #

    link is http://wordpress.pastebin.ca/1461360

    actually, now that you're online mate i need help with other things.

    * how do i create a plain sidebar to allow me to add only text * html like this guy's http://www.losestomachfat.net/

    * i want to create a third page 'blog' that will lead to http://escocolumbo.blogspot.com/ when clicked. how do i do this?

    * how do i delete the wordpress logo/design info at the bottom?

    * how do i permanently delete the comments feature so that comment disabled' doesn't show at the end of each post/page?

    sorry to bombard you with these questions but i see you're a moderator and i'm really eager to start adding my content

  6. MichaelH
    Member
    Posted 5 years ago #

    For your original question look at line 47, and delete this:
    <li><a href="<?php echo get_option('home'); ?>/">Home</a></li>

    1. could use a text widget for that if your theme supports widgets.
    2. install the http://wordpress.org/extend/plugins/page-links-to/ plugin and use that to redirect to your blogspot address
    3. edit your theme's footer.php
    4. in the WordPress default theme you would delete code in the wp-content/themes/default/index.php like this:
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>

    You will want to review:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

  7. personaltrainersimon
    Member
    Posted 4 years ago #

    http://www.personaltrainersimon.com

    Hi MichaelH, i have 2 home pages in my blog. The 1st homepage is the original home page and the 2nd home page is the one i created myself with my dashboard. How do i delete the 1st homepage?

    The reason why i want to delete the 1st homepage is because when i click at the 1st homepage button in my navigation bar it does not appear green in colour.

    (the colour on the button indicates which page the viewer is looking)

    My dashboard under edit page section doesnt give me any options to delete the 1st homepage which is the default homepage that has already been created before i activate the theme.

    How can i delete the 1st home page?

Topic Closed

This topic has been closed to new replies.

About this Topic