This topic contains 2 replies, has 3 voices. Last updated by TJ 4 years ago.
Topic Author | Topic |
---|---|
Posted: Monday Dec 10th, 2012 at 2:54 pm #34170 | |
Most of my site is inside wordpress, but some of my quizzes are in PHP that connects to my mysql database, and I can’t seem to put php code into wordpress pages. So, how I make sure they have to go through the paywall is an intermediate page that asks them for their email address, and that form IS inside wordpress. I really need it to just read from their logged in username and track results by that, instead of the email address they type. The code of the “enter email address” is below. I would rather it just “take” the username from the logged in user instead of having to ask them to basically log in again via this form. I know this is a simple problem, but its beyond my knowledge. Also, I’d like someone to set up my tracking codes for adwords/analytics to track separate purchases. Send me back rates, and how I go about hiring one of you! Thanks! Here’s the stupid script I have right now bridging the gap between the paywall and the php code.
|