Support » Fixing WordPress » Connecting to a separate database in theme file?

  • I have some special functions imbedded in one of my theme-files, where I want to connect to a separate database other than the one WordPress uses. But for some reason this connection does not work.

    If I place the file and functions alone outside of a wordpress theme-file it works fine. But in theme-file not.

    Is there a workaround for this, or are we simply limited to only use the wordpress database?

    Happy for any help!

    Best regards,
    Snurk

  • The topic ‘Connecting to a separate database in theme file?’ is closed to new replies.