Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Time of day in and outside of WordPress

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33436
    dhechler
    Member

    Hey guys,
    I’m working with a day or night script that is working beautifully……outside WordPress. Here is the exact same file in and out of wordpress. I am including the sunrise-sunset.php file into my header, so I know its the same code. I’ve even tried including before wordpress does anything (above all code) and still the same result.

    Outside of WordPress
    http://www.wovenland.com/wp-content/themes/Starkers/sunrise-sunset.php

    Inside of WordPress
    http://www.wovenland.com/dev/

    Heres the sunrise-sunset.php file.
    http://pastebin.com/Fc4FvWj7

    Any ideas?

    #83431
    dhechler
    Member

    Just bumping this up for help. very odd to me.

    #83379
    dhechler
    Member

    Nevermind, I solved it. It had to do with setting global variables.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.