Adding Jquery and PHP database code to a wordpress post

Posted on 2011-10-28
Last Modified: 2012-06-22
I have some code found at

I would like to start using wordpress and I would like to include the above code in a post.

Essentially the code will contain html, some jquery functionality and some php that take values from a form. The form is posted to a payment gateway.

Is this possible or difficult within wordpress? I  currently using wordpress in the cloud ( as opposed to a copy of it on my server.

Any help much appreciated.

Question by:plambkin1
    1 Comment
    LVL 70

    Accepted Solution

    >> Is this possible or difficult within wordpress?

    Possible, yes.  Difficult depends on how exactly you want to do it.  One of the great things about going to self-hosted WordPress is you can get a bajillion plugins that incorporate pretty much any functionality without having to do any custom coding.

    For the above, I would not do it myself but instead invest in either Gravity Forms or Formidable Pro, both of which provide the functionality and can be combined with PayPal for payments.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now