Posted: February 16, 2017 at 12:07 pm
|
We’ve installed infusionsoft add on and while it’s working for the standard fields, it’s not working on the custom fields even if i followed the instructions here |
When you added the custom code to your site, did you add it to a custom WordPress plugin? Did the custom code include the Infusionsoft custom field name, without spaces and prepend with an underscore? |
|
|
I added it to the functions.php file of the theme. Yep. I created a custom field named Website and on the code, I just changed the _CustomQuestion to _Website |
That doesn’t sound right. Can you post the code you’re working with into a pastebin or gist, then link here? Then we’ll have a better idea of where to point to where to fix. |
|
|
I posted the pastebin link but it doesn’t seem to be showing up in the thread for some reason |
Maybe you can copy/paste the part of the paste bin URL that’s after the slash in a reply here. |
|
|
here you go WNjQpjCv |
OK you can remove that second code block and change the array key to include the underscore. |
|
|
Still not populating the custom field, I’m afraid. |
Here’s what I suggest doing then: 1) Move the code out of the functions.php file and into a site specific plugin |
|
|
1. check |
|
Got the “Website” to work by looking up the code as the name is appended with a ‘0’ at the end so the correct name is |
The original example in the code has two fields, so you can follow the original code example and change the second block of code to match your custom fields. |
|
The support post ‘Infusionsoft custom fields’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.