Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey cgonzo,

    Unfortunately for you, the developer of that theme has hard coded the “Home” link to always show first. I downloaded the theme and installed it on a test site of mine to see if simply creating a menu and not using the “Home” link would work for you. But, alas, no.

    Your only real option is to simply comment out the code which displays the “Home” link. If you are comfortable doing that, simply comment out line 31 in the “header.php” file in that theme. You can do this either via the WordPress admin backend under the “Appearances” tab or via FTP and uploading the header.php file back to your theme directory with the other pujugama files.

    Line 31, after commenting should look like this:

    <!-- <a href="<?php echo home_url( '/' ); ?>" class="pjgm-home" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php echo __( 'Home', 'pujugama' ); ?></a> -->

    Hope this helps!

    Cheers! :)

    Thread Starter cgonzo

    (@cgonzo)

    Hi James..(Captain Kirk?)

    Thank you for responding so quickly. Okay let’s see if I have this correct. Under the Appearances tab (WordPress admin backend is what I’ll do) Because I’m not all in with the WP lingo, I’m going to assume (bad choice of a word) that just enter what you posted after Line 31.

    Fingers Crossed

    Hey cgonzo,

    Sorry, my bad language there.

    You want to REPLACE the current line 31 with the one above. Essentially you are “commenting out” that line. In HTML, you comment a line (meaning it no longer is active on the display page so it won’t be seen!) by adding the left bracket, an exclamation mark, and two dashes and a space in front of the code. Like this:

    <!--

    Then after the code (the end of line 31) you add a space, two dashes and a right bracket. Like this:

    -->

    Oh, and under Appearances is the Editor option. You’ll go there, choose “header.php” on the right side. That is where you’ll edit the line 31 as above.

    Hope that gets you there!

    Cheers! :)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove Home Tab from Header’ is closed to new replies.