Support » Fixing WordPress » How Do I Change Home URI in 3.0?

  • Resolved dmahler


    I’m weak in PHP and I believe I found the section I need to change in Function.php of my template design. But I can’t seem to get the code to work.

    I need my “HOME” button to go to the main website, not the blog.

    Is this where I change it?

    function art_menu_items()
    	global $artThemeSettings;
    	if (true === $artThemeSettings['menu.showHome'] && 'page' != get_option('show_on_front'))
    		echo '
    <li><a' . (is_home() ? ' class="active"' : '') . ' href="' . get_option('home') .

    And if so, how do I insert the:
    into the section after the href=” ‘ . get)option(‘hone’) .
    without getting a parsing error that I’m missing “,” or “;”

    Right now the home link is linked to the blog itself “” and visitors want to go back to the website home page from there.

    Any help would be greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • So not a single person here knows how to put a permanent link into WP?

    Well, after not hearing from anyone, I actually solved the problem myself. So, I am posting it here to help someone else if they need it in the future.

    I just added my URL after the echo like this:

    echo '<li><a href="">'.$artThemeSettings['menu.topItemBegin']</a></li>';

    And that’s in the Functions.php editor.

    This changed my home page back to the website and not the blog home.

    I hope this helps someone else who might be struggling.




    Okay, I just upgraded my theme to be compatible with 3.0.

    Can someone please tell me where in the functions (or other location) I can put the URL for my home menu to my website and not the blog home?

    Where’s the code located?




    Never mind! Figured it out myself again!


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How Do I Change Home URI in 3.0?’ is closed to new replies.