The MU forums have moved to WordPress.org

how do I globally set the current blog? (3 posts)

  1. pax2003
    Member
    Posted 16 years ago #

    i custom made the front page of my wordpress.
    i have a alternate method of login and displaying a page.

    when a user uses the alternate login method it temporarily sees a page that say 'please wait'.

    for some reason, some where in the code, the current blog is set to some other blog, and when i go to display the page, calling bloginfo('stylesheet_directory') prints the wrong directory. is there any cheep fix or good fix i could do to override what bloginfo('stylesheet_directory') prints out?

  2. DailyTestimony
    Member
    Posted 16 years ago #

    So you want them to goto the homepage after seeing 'please wait'? If so why not just hardcode the URL in.

    Or do you mean their is a login box on everypage and you want them to go back to the blog they were viewing? I that case I think get_current_site() gets the URL for the current blog.

  3. pax2003
    Member
    Posted 16 years ago #

    ok ill try get_current_site() later, it sound like it will work. thanks for the help.

    for now i just exit; the page, and it does the redirect with out the user seeing a messup page.

About this Topic