Support » Fixing WordPress » Adding own php pages to WP site

  • Resolved planetthoughtful

    (@planetthoughtful)


    Hi All,

    I’m developing a theme / design for a WP site and I’m curious about if there’s an accepted approach to including your own PHP pages in the WP directory structure, etc.

    I’m developing a series of feedback and submission forms, which I’d like to link to from my blog’s site menu.

    I know there’s a plugin that allows inclusion of PHP code in posts and WP-generated pages, but I generally don’t like to eval code. Also, I know there are plugins that can generate forms, but I’d like to implement these pages myself.

    Obviously I can drop these pages anywhere in my site’s directory structure and link to them directly, but I’d rather they ‘fit’ into the structure as gracefully as possible (so that, for example, there aren’t wild changes in the page URL going from a WP-generated page to one of my own PHP pages, and back again).

    Does anyone have any advice on how to achieve this, or a pointer to any content elsewhere that describes doing this? I couldn’t find anything after a browse through the WordPress Codex, so this was my next natural place of call.

    Any help appreciated.

    Much warmth,

    planetthoughtful

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding own php pages to WP site’ is closed to new replies.