Support » Fixing WordPress » Remove default "Home" tab in Mantra theme

  • ChrisNYC12

    (@chrisnyc12)


    Currently using the Mantra theme for my page, which comes with a default “Home” tab on the navigation panel. I’ve tried, by trial and error, removing pieces of header.php to remove this default tab but haven’t been able to. Am I doing something wrong?

    Reason I’m trying to remove it is so I can have a static home page (which is why I have to get rid of the default one). Below’s a link to the header.php info. Thanks for your help!

    http://pastebin.com/b008ZwP0

Viewing 11 replies - 1 through 11 (of 11 total)
  • Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    Please provide a link to your site.

    ChrisNYC12

    (@chrisnyc12)

    Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    So what page do you want to set as the home page?
    I think that you need to create that page and then go to settings > reading select that page to be your home page.

    Either that, or go to appearance > menus and set the menu however you like.

    ChrisNYC12

    (@chrisnyc12)

    When I try removing that tab in Appearance > Menu, it removes the drop-down capability of the other tabs (Investment Education, for example). That’s something I really like about this theme.

    I plan on creating a separate “Home” page to set as my home page, which is why I need to delete this default one which I’m unable to make static.

    Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    I plan on creating a separate “Home” page to set as my home page, which is why I need to delete this default one which I’m unable to make static.

    What do you mean? Right now your homage page is set to the blog. Go to page, add a new page call it home. Add your content. Then select that page as your home.

    When I try removing that tab in Appearance > Menu, it removes the drop-down capability of the other tabs (Investment Education, for example).

    That makes no sense. Removing one tab should not affect the dropdowns.

    ChrisNYC12

    (@chrisnyc12)

    You’re right! Before just “added” a page called home and it’s no longer appearing as a duplicate. Idk why it wasn’t working before..

    One last question..how can I remove this text from appearing below the Comments box:

    `<a href=”” title=””> <abbr title=””> <acronym title=””> <b>
    <blockquote cite=””> <cite> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>"
    Also, how can I get rid of the comments box for the home page? I want to make it look more like a site, and less like a blog. Thanks Christine!

    Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    Try adding this at the bottom of your stylesheet.

    .form-allowed-tags {display:none;}

    kento1

    (@kento1)

    If I can jump in. This was great advice for fixing the double “home” page problem, but now new posts seem to go to the default home page (i.e., nowhere, although I am able to find them) rather than the visible home page. How do I change the post routing?

    Ksavins

    (@ksavins)

    I created a category called “latest news”, then created a page called “latest news”. The slug in the page is also called latest news

    Then from the main menu in wordpress
    Settings / Writing / drop down box choose category “latest news”.

    Everything (ie blog posts) now go to that page instead of the home page

    Hi,

    I’d just like to get rid of that home tab on the nav bar.
    Here is my website http://daily-income-payouts.com

    this is what it looks like in menu

    <?php /*** The theme header.*/ ?>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <title><?php
    	global $page, $paged;
    	wp_title( '|', true, 'right' );
    	bloginfo( 'name' );
    	$site_description = get_bloginfo( 'description', 'display' );
    	if ( $site_description && ( is_home() || is_front_page() ) )
    		echo " | $site_description";
    	if ( $paged >= 2 || $page >= 2 )
    		echo ' | ' . sprintf( __( 'Page %s', 'pujugama' ),

    max( $paged, $page ) );

    What part do I need to fix and how to I fix it?

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    esmi

    (@esmi)

    Forum Moderator

    Please post your own topic.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Remove default "Home" tab in Mantra theme’ is closed to new replies.