Title: adding separate php-filled pages
Last modified: August 18, 2016

---

# adding separate php-filled pages

 *  [ayb1](https://wordpress.org/support/users/ayb1/)
 * (@ayb1)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/adding-separate-php-filled-pages/)
 * I’ve got several php-filled pages I’d like to add to my site. I’m not sure the
   current PHP plugins fit my needs, as my pages will include database calls, clip
   data from other web sites, etc.
 * I’d like to keep with the theme as best as possible and just display my dynamic
   content in the content area. I thought to use another template, and replace the
   content code with my database access and other code, etc.
 * Is that the best way?
 * Thanks.
    –Alex

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Ming](https://wordpress.org/support/users/ming/)
 * (@ming)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/adding-separate-php-filled-pages/#post-165480)
 * You can include php in posts and pages using the RunPHP or PHPExec plugins.
 * If you’re pages are really PHP heavy then I think you’re on the right track. 
   I’d create a new template customized how you like and then assign that template
   to your page(s). That allows you a fully custom page wrapped in WP goodness.
 *  [gabemcmillan](https://wordpress.org/support/users/gabemcmillan/)
 * (@gabemcmillan)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/adding-separate-php-filled-pages/#post-166040)
 * I would like to take this page: [http://www.affinityspot.com/tell_friends.php](http://www.affinityspot.com/tell_friends.php)
   and merge it into my wordpress template as a Page. Any suggestions?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/adding-separate-php-filled-pages/#post-166041)
 * Create a [Page template](http://codex.wordpress.org/Pages#Page_Templates) and
   put the code in there, then create a new Page by choosing the new template from
   the dropdown Select Template.
    After that you can include a link into your posts
   or wherever you want to this “tell”-Page.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘adding separate php-filled pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 4 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [20 years, 8 months ago](https://wordpress.org/support/topic/adding-separate-php-filled-pages/#post-166041)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
