Standalone PHP script with wordpress front end or plugin?

5 replies
I have a standalone PHP script that I would like for users to be able to access on a WordPress site (front end). It takes user input variables, creates an HTML file, and zips it with a stylesheet and images for download. Can I implement this with a custom page template, or do I need to make it a plugin?

I have done a good bit of searching, but have found most discussions on this topic refer to the back end or admin dashboard.

Any information at all will help.

Thanks,

John
#end #front #php #plugin #script #standalone #wordpress
  • Profile picture of the author peterachutha
    [DELETED]
    {{ DiscussionBoard.errors[9253481].message }}
  • Profile picture of the author TheCrazyCoder
    John,

    WordPress Themes and theirs templates should care about "site look"(including html/css/js, ie layout)
    WordPress Plugins should care about any other functionality.

    But line between themes and plugins isn't red. You can cross it. I did wrote plugins doing theme work and I did wrote themes doing plugins work.

    Main reason to make line between themes and plugins is to avoid problems. If you plugin stop - theme will continue to be functional.

    So, my suggestion - do it via separate plugin. In this case you will be able to copy it and re-use in the feature.
    {{ DiscussionBoard.errors[9255271].message }}

Trending Topics