• ayb1

    (@ayb1)


    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

    (@ming)

    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.

    I would like to take this page: https://www.affinityspot.com/tell_friends.php and merge it into my wordpress template as a Page. Any suggestions?

    Create a Page template 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.