- This topic has 1 reply, 2 voices, and was last updated 13 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Troubleshooting › Gravity Form Integration w/Affiliate
Tagged: affiliate, Gravity Form
Hi there,
I’ve completed the steps that you posted for the Gravity Forms/Affilaite integration. On Step 3 (update functions.php on my theme), where do I put it? Whenever I’ve tried to add it, I get an error code when I go to my website.
Any help is appreciated.
Thanks much.
The code in step 3 is PHP code (not HTML) so you kind of need to make sure that it is pasted inside the PHP tags <?php ... ?>
A theme’s functions.php file will usually start with a starting PHP tag <?php because this is where you add PHP functions but some theme developers might end the tag to add HTML code. If this is the case for your theme then just wrap the code with the php tags yourself like the following:
<?php
The code goes here
?>