I was wondering if anyone has been able to use Magic Fields and Gravity Forms together before I purchase a license. If they worked together, that would speed up my process quite a bit and I would gladly purchase a license!
I was wondering if anyone has been able to use Magic Fields and Gravity Forms together before I purchase a license. If they worked together, that would speed up my process quite a bit and I would gladly purchase a license!
Hi MongooseDoom,
I am looking to use the two together as well. Did you buy Gravity Forms and get it working with Magic Fields?
I am trying to figure out how to post the custom post fields. I can get it to post to the draft but not to the website. I was hoping that the Magic Fields plugin would do this but haven't figured it out yet.
Can anyone advise on the best way to do this please. The custom posting ability was the main reason I bought Gravity Forms for.
Thanks.
If Magic Fields stores data as custom fields in the post_meta table it's just a matter of knowing what the custom field key is for each of your Magic Fields and then using that key as the name of the custom field when adding a Post Custom Field to your form.
I'm not sure what you mean by you can get it to post to the draft but not to the web site. A draft is a post status, by default posts created by Gravity Forms are set as drafts so they are first approved before they are published. You can publish them by editing the post and publishing the post. If you want Gravity Forms to automatically publish the post you edit the Post Title or Post Body field and configure the Post Status.
Hi Carl,
Thanks for your speedy reply.
I really like that you get the form to make a draft post that I can approve. Let me try to explain what I am saying about draft vs publishing. When I go into a submitted post, I can see my Test Custom Field showing up, with the value that the person put in "this is my answer", so this is great! However, when I click publish, and go and look at the published post on my site, "this is my answer" does not show up? In other words, the custom field values are in the draft, but not being published to the site.
Looking forward to your thoughts. Perhaps I have to use the Magic Field Key in the way you are mentioning, but since the field was showing up with the accompanying value in the draft, I was hoping for a way to get it to publish it, without involving another plugin.
Thanks.
Custom fields only appear on the front end if your theme is configured to display/output them. They aren't output by default. Your theme has to display the custom field values. The custom field data is there if you see it when editing a post, but if it isn't appearing when you view the post on your site it's because your theme doesn't have code in place to show the values.
See the WordPress Codex on Custom Fields:
http://codex.wordpress.org/Custom_Fields
Here are some other articles on how to use Custom Fields:
http://www.kriesi.at/archives/how-to-use-wordpress-custom-fields
http://wparena.com/how-to/the-power-of-wordpress-custom-fields/
PERFECT. I've been working on a 'video contest' site that users can submit their info, and some the fields are a combination of 'custom fields' while others are the 'Standard Fields' or 'Advanced Fields' from the Gravity Forms admin.
Carl, with this thread I can see how to put custom fields into a post, but how would I go about doing the same thing w/ Standard Fields or Advanced Fields?
Standard Fields and Advanced Fields aren't stored with Post Data. They are stored with Entry Data.
Any data you want stored as accessible by a Post has to be stored using Post Fields. Either the Post Title, Post Body or as Custom Fields. This is the only data a post has access to.
The Post Custom Field has field types that cover most of the Standard and Advanced fields, so you should be able to use them instead of the normal Standard and Advanced Fields.
Custom Fields are single value fields, so they aren't going to support field types like the Address which consists of multiple values.
Thanks Carl for explaining how to display the fields and providing the links to more reading on the subject.
I noticed in http://wparena.com/how-to/the-power-of-wordpress-custom-fields/, that they list a bunch of plugins to help with custom fields. Do you know which one of these is best for easily getting the custom fields into the theme template without adjusting the template manually? So looking for a WYSIWYG solution.
Thanks
I'm not aware of a WYSIWYG solution. All themes that I am aware of require you to customize them to show a custom field value.
If you aren't good with editing the wordpress templates, this plugin will let you use SHORTCODES in the post/page content to display the custom fields selected in the "gravity forms" form. The only one that doesn't word is MultiSelect, they use different formats than each other.
http://codecanyon.net/item/easy-custom-content-types-for-wordpress/234182
I might look at Easy Custom Post Types instead of Magic Fields. Magic Fields stores data in its own table, not in wp_postmeta. Since Gravity Forms uses wp_postmeta, Gravity Forms and Magic Fields don't sync together even if you use the same custom field name.
Thanks for letting us know. It would be nice if every custom fields plugin took advantage of the architecture that WordPress provides, but I understand there are limitations to that. I have seen people integrate Custom Post Types before.