Support » Fixing WordPress » wordpress home button

  • i’ve already installed wp into /wordpress under my home directory (linux) and created categories and posts. I’m using the deliciously-blue template which display a about and home tab across the top. Since I’m invoking wp from a webpage, I’d like the home tab to take the user to the home website page. I’ve looked at the dos on how to go from a home-based install to a subdirectory-based install, but I haven’t found anything yet that fits my situation. Changing the mysql file associated with home causes confusion.

Viewing 10 replies - 1 through 10 (of 10 total)
  • From what I’ve noticed, this is generally hard coded into the template header.php An example of mine is:

    ‘href=”<?php bloginfo(‘url’); ?>”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/menu_home.png” width=”104″ height=”29″ alt=”HOME” />’

    If yours is setup the same way, adjust as needed.

    Thanks for the suggestion. In the deliciously-blue template, everything seems to be controlled via database access: no hard-coding that I can see.

    look a little bit better, it is in header.php
    <li class="page_item"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>change <?php echo get_settings('home'); ?>/to the uri of your homepage

    OK. What I want to specify is the index.php file located in /home/public_html (above wordpress). I’ve tried several variations. Here’s the last.

    Replacing ‘Change … uri’ with ‘/public_html/index.php’ isn’t doing the job.

    Suggestion? Obviously I know squat about php.

    /public_html usually refers to a directory on your server. What is the URL you normally use to browse to your site? Use that in your code.

    Ok. When I replace /public_html

    with (yes, info, not com)

    The following appears on the wordpress blog just below the home tab:

    ‘ //’

    not quite sure what you are doing.
    change the line in header.php to

    <li class="page_item"><a href="" title="Home">Home</a></li>

    This did it. Thanks to all.

    Well, almost. I probably should have mentioned that the blog is being via SohoLaunch. As a result, after clicking ‘home’ on the blog page, the home page of the website appears twice. Arrgh. Suggestions?

    Please check the SohoLaunch forums.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘wordpress home button’ is closed to new replies.