How do I integrate a PHP form into WP using snippets.
-
Hi there,
I would like to embed this php form in a WordPress website. For this I wanted to use the plugin: Post Snippets.
But I am not familiar with it and ask for help on how to put it on.Here is the code that is in a normal PHP page.
<?php require_once ( 'phpFormular/form.php' ); ?> <!-- Formular ganz oben einbinden (kein HTML etc. vorher!!) --> <!DOCTYPE html> <html lang="de"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>PHP Formular Demo</title> <link rel="stylesheet" href="demoPage.css"> <!-- CSS & jQuery für das Formular einbinden --> <link rel="stylesheet" href="phpFormular/public/css/main.css"> <script>window.jQuery || document.write('<script src="phpFormular/public/js/jquery-1.9.1.min.js"><\/script>');</script> </head> <body> <div id="pageBox"> <!-- Ausgabe Formular --> <?php $formTPL->showReplaced ( FALSE ); ?> </div> </body> </html>
Best regards
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘How do I integrate a PHP form into WP using snippets.’ is closed to new replies.