WordPress.org

Support

Support » Themes and Templates » Showing WordPress theme on non-wordpress pages?

Showing WordPress theme on non-wordpress pages?

  • Hello all! I was wondering how you could show your wordpress theme on non wordpress pages? Thank you in advance!

Viewing 1 replies (of 1 total)
  • VelvetBlues.com
    Participant

    @velvetbluescom

    Hmmm. This isn’t really possible because WordPress templates have unique functions. So if you were to call a WP template outside of WordPress, you’d throw a whole lot of errors because WordPress functions are not core PHP functions.

    Instead, why don’t you just create a custom page template for those other pages.

    Alternatively, you can create an alternate template without WP functions to use for your non-WP pages.

Viewing 1 replies (of 1 total)
  • The topic ‘Showing WordPress theme on non-wordpress pages?’ is closed to new replies.