ThemeShaper Forums » Thematic


Using HOME in the navbar but not as the PAGE TITLE

(5 posts)
  • Started 9 years ago by Rusty
  • Latest reply from Rusty
  • This topic is resolved
  1. On websites I build I generally prefer to have HOME in the navbar but not as the page title.

    So it's like this:
    Nav buttons (sidebar and top nav) = HOME - Page heading = ABOUT THIS WEBSITE

    Does anyone have a clue how to do this using Thematic? I've seem some tutorials which use two pages, using the HOME nav button linking to a page called: ABOUT THIS WEBSITE, whose own nav button is hidden down a couple of levels. But it didn't work when I tried it.

    The home page is static not the blogg.

    Thanks for your help


    Posted 9 years ago #
  2. Hi Rusty-

    Two Questions:
    Do you have a link to show an example of this?
    What method/code are you using to add the Home tab to the nav and link the page to it?


    Posted 9 years ago #
  3. Hi,

    I got around the problem by using the plugin: page-links-to

    So I have a blank HOME page that links to the page I want instead. Which is nested as a child of Home. I've then used this CSS to remove the page from the navigation.

    #primary .page-item-6 {
    display: none;

    As the access navigation had been removed and I'm only using the sidebar primary, this works ok.

    But in this test example with the normal thematic horizontal navigation at: you can see that the home heading is changed, but I've as yet not managed to target the CSS to remove the child dropdown navigation under HOME.


    Posted 9 years ago #
  4. Why not use the wp-admin to set a static page as the front/home page:

    and then copy or uncomment the sample function from the thematicsampletheme into your functions.php. here's the code:

    function childtheme_menu_args($args) {
        $args = array(
            'show_home' => 'Home',
            'sort_column' => 'menu_order',
            'menu_class' => 'menu',
            'echo' => true
    	return $args;

    and for your style.css to hide the title:

    .home .entry-title { display:none;}

    Posted 9 years ago #
  5. Hi,

    That worked perfectly. I see now what the problem was, Thematic by default doesn't insert a home page, but the tutorials I looked at were based on themes that do.

    One more rung up on the steep learning curve of the Wordpress ladder!

    Thanks for you time.


    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.