• Resolved dmahler

    (@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: https://mice.org
    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 “https://mice.org/blog&#8221; 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)
  • Thread Starter dmahler

    (@dmahler)

    So not a single person here knows how to put a permanent link into WP?

    Thread Starter dmahler

    (@dmahler)

    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="https://mice.org">'.$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.

    Debbie`

    Thread Starter dmahler

    (@dmahler)

    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?

    Debbie

    Thread Starter dmahler

    (@dmahler)

    Never mind! Figured it out myself again!

    Debbie

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.