Adding Jquery and PHP database code to a wordpress post

Posted on 2011-10-28
Medium Priority
Last Modified: 2012-06-22
I have some code found at www.tuniper.ie/landingpages/hotline/telephone1.php.

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 (www.wordpress.com) as opposed to a copy of it on my server.

Any help much appreciated.

Question by:plambkin1
1 Comment
LVL 70

Accepted Solution

Jason C. Levine earned 2000 total points
ID: 37046900
>> 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.

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 dynamically set the form action using jQuery.
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

807 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