Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Quoted by podz:
    It’s in sidebar.php, at the bottom – honest !

    I have seen this question many times as well. The answer that I am not able to find is where does this information get called from?

    For instance the lines:

    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>

    Where are the variables coming from because depending on whether you are logged in or not depends on what displays.

    If not logged in, it will display:

    Register
    Login

    If logged in they display:

    Site Admin
    Logout

    Where is the code that is testing whether you’re logged in or not, and where is it passing the variables to the sidebar.php?

    I am using a hacked up version of the Painted-Desert theme so I have had to rewrite a lot of the code to make the theme work as I want it. I just want to be able to adjust the meta menu and how they are displayed.

    You can view my site: The RIOT

    Bear in mind that the site admin link is also used for the users of your site so they can access their individual profile. They don’t see the same admin stuff you do when your logged in as admin but they do need to be able to access their profile for changing stuff like password, name, etc…

Viewing 2 replies - 1 through 2 (of 2 total)