Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to know what the cleanest way to use gravity forms to submit data from my form to another page outside of WordPress is.
Our website is 100% WordPress and I need to use data of my gravity form somewhere else.

I found this blog article, that seems to provide a solution, but I really would like to avoid modifying
/wp-content/themes/*your-theme*/functions.php

I am worried about losing the changes at a WordPress / gravity forms update.

share|improve this question
1  
The link pretty much provides you with your answer. Editing the functions.php file of your theme is not as bad as it sounds and is the way to add custom functionality to your site without editing Wordpress or plugin core files which is a BIG no no. –  Nicole Oct 22 '12 at 15:33
    
Thanks Nicole, during wordpress standard update there is no change on this file so ? –  Louis Oct 22 '12 at 15:37
2  
The functions.php file is not really a core file and is part of your theme. So when Wordpress updates it does not touch those files. –  Nicole Oct 22 '12 at 15:39
    
You answer all my questions thanks a lot. –  Louis Oct 22 '12 at 15:45
add comment

3 Answers 3

Editing the functions.php file of your theme is not as bad as it sounds.

The article I had found detailed the right solution.

The functions.php file is not a WP core file, but part of your theme.
So when WordPress updates itself, it does not touch those files.
When the plugin is updated, it doesn't affect these either.

share|improve this answer
    
But when the theme is updated it does get overwritten. –  s_ha_dum Apr 26 '13 at 14:08
add comment

You can create a WordPress child theme. It's easy to do with the One-click Child Theme plugin. That way, even when you update your theme, you don't overwrite the changes you've made in functions.php

share|improve this answer
1  
This is barely more than a link-only answer. Can you provide more detail? –  s_ha_dum Apr 26 '13 at 14:05
1  
Create a WordPress child theme using the plugin mentioned and then add a clean functions.php file to that. The link you gave doesn't work with the latest GF so use the example on the GF site. –  Ashraf Slamang May 17 '13 at 9:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.