ThemeShaper Forums » Thematic

Issue with menu - not linking properly

(9 posts)
  • Started 12 years ago by devhel
  • Latest reply from amygail
  • This topic is resolved
  1. This topic was addressed here, but my issue goes beyond that.

    So far, there are two navigational elements: "blog" and "about". "Blog" is meant to be the home page. The "about" page is a secondary page. Things would appear to be working, except that when you are on the "about" page and click back to "blog", the "blog" page then renders without the test posts. Weird, huh?

    This is the test site:

    Thanks in advance if anyone can provide me w/some direction or a solution!

    Posted 12 years ago #
  2. I think I may have solved this problem -- using the "page links to" widget, I'm pointing to the index page (in this instance, "blog') to the homepage.

    It seems to be working, I'm just wondering if this would be considered "good" practice or a hack that will come back to haunt me.

    Posted 12 years ago #
  3. amygail

    The home page is already, by default, the blog.
    If you go back to your 'reading' section and set it so "front page displays: your latest posts" - you'll should be good.

    Is there a reason you wanted to use a static page instead?

    Posted 12 years ago #
  4. Thanks for the input Amy. In error, I may have deleted the original homepage that came with the install. But I did think that it would be easy enough to create a new page (which is what I thought I did by following the instructions from the thread I linked to in my first post).

    Whether or not it is being demonstrated, my intention is that the 'blog' page is dynamic and the 'about' page is static. Though, depending on the business requirement, I can envision a scenario for brochure-ware website that would need to have some marketing message front and center.


    Posted 12 years ago #
  5. amygail

    If you want the "home" page to be the "blog" page - you don't need to worry about setting a page template - or even creating the page - it's auto-magic.

    There's no 'homepage' template, you didn't delete it. By default, the 'blog' page is actually the index. Make sense?

    If you're just going to have the "blog" and "about" page, it will make your life a bit easier to go with the method I mentioned above.

    Posted 12 years ago #
  6. I'm following you, but if I delete the page I manually created for "blog", I also lose it as a navigational element. My question would be, how/where would a navigational element for that page then get created? Is this something obvious and automated that I'm missing?


    Posted 12 years ago #
  7. amygail

    You can add the "home" link with this (in your functions.php)

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

    If you want it to say "Blog" instead of "Home" change
    'show_home' => 'Home',

    'show_home' => 'Blog',

    Posted 12 years ago #
  8. Amy, you rock. I'm just digging into all this and operating on a learning curve. I also tend to jump into things and slowly work my way out. I didn't realize that the functions.php file was commented out until I went in there.

    Posted 12 years ago #
  9. amygail

    Cool! Glad it worked for you.

    Posted 12 years ago #

RSS feed for this topic


You must log in to post.