Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1138439
    cdnmike
    Participant

    Hello Support,

    I have a question concerning php pages. I need to add 3 fully functional php pages and 3 accompanying php scripts to my site.

    My questions are:

    How do I access the pages once they are done, in other words, can I save the pages with a php extension ex. upload.php or do I just save it as upload. I noticed no pages in your wordpress can be accessed by adding a php or html extension to the end of the file path. The link I will use to access them would look something like the following:
    http://reportadvantage.com/user_login.php/6500

    Secondly, where would I place the associated scripts within the site folders so the above pages can access them, typically I would set the file path on the form itself on the pages but I’m not sure how it works with wordpress considering a lot of it is database driven.

    I already installed exec php and tested it so I know I’m able to use php pages with your theme.

    Thanks for your help!

    #1138820
    Jade
    Moderator

    Hi there,

    You may create custom page templates which you will write in PHP and assign to a page in WordPress admin.

    You can see more info here:
    https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
    http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/

  • <script> jQuery(function($){ $("#no-reply-1138439 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>