• m3tsys

    (@m3tsys)


    Hello,

    I’ve installed wordpress 3.0.1 on my site (on a subdirectory)

    https://example.com/blog/

    i have a simple php page

    https://example.com/about-us/

    i’ve added <?php include 'blog/wp-blog-header.php'; ?> in the header of this page and <?php wp_loginout(); ?> somewhere in the page…

    this code display’s Log in all the time

    how can i resolve this problem?

Viewing 8 replies - 1 through 8 (of 8 total)
  • tom_taylor_85

    (@tom_taylor_85)

    you want the login/out to disapear after you are logged in?

    Thread Starter m3tsys

    (@m3tsys)

    No, i want it to remain there, but change to Log out when i’m logged in and Log in when i’m logged out

    Excuse me for my bad english, but i’m not a native english speaker.

    Thanks in advance.

    tom_taylor_85

    (@tom_taylor_85)

    I do not use this code, so I am a little confused. Can I ask this first…if you log in from the side bar, does it work?

    If it does work, can you click a button ON THE SIDE BAR to log out?

    Thread Starter m3tsys

    (@m3tsys)

    yes it works (when i’m on /blog/ ) but you need to have in mind that

    https://example.com/blog/ is an wordpress instalation

    and

    https://example.com/about-us/ a simple php file with

    that wp header include and that wp login code.

    tom_taylor_85

    (@tom_taylor_85)

    would you mind sharing your site URL?

    Thread Starter m3tsys

    (@m3tsys)

    PS: <?php wp_loginout(); ?> is the code from default sidebar.php

    Thread Starter m3tsys

    (@m3tsys)

    the site is not online, it’s on localhost (it’s not done yet, i am still working on it.)

    Thread Starter m3tsys

    (@m3tsys)

    can anybody help me?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘cookies problem i think’ is closed to new replies.