Linux 软件免费装
Banner图

Plugin Name

开发者 jcow
ekaj
jr00ck
p51labs
更新时间 2015年7月3日 04:53
捐献地址: 去捐款
PHP版本: 3.6.1 及以上
WordPress版本: 4.2.2
版权: GPLv2 or later
版权网址: 版权信息

标签

front end gravity forms frontend update posts

下载

1.2 1.2.10 1.2.11 1.2.13 1.2.14 1.2.16 1.2.17 1.2.18 1.2.20 1.2.22 1.2.23 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9

详情介绍:

Requires PHP 5.3 or greater Allows you to use Gravity Forms to update any post on the front end. If you use the "Gravity Forms + Custom Post Types", you can even update custom post types and use custom taxonomies. Features SHORTCODE [gravityform id="1" update] // Loads current post for editing [gravityform id="1" update="34"] // Loads post where ID=34 for editing We worked with Rocketgenius, makers of Gravity Forms, to get a small upgrade added that allows us to extend their shortcode, so now you can simply add the "update" attribute to the normal "gravityform" shortcode. If you only add "update", it will load the current post in to update. If you add an integer to the update attribute, it will use that to load a post by its ID. URL QUERY VARIABLE
  1. At the heart, it is pretty similar to how it was, but now there is a nonce required to activate it.
  2. So you should use the action to create your links.
do_action('gform_update_post/edit_link'); do_action('gform_update_post/edit_link', array( 'post_id' => $post->ID, 'url' => home_url('/edit_post/'), ) ); Arguments (query string or array) Get just the URL This will return a basic edit url apply_filters('gform_update_post/edit_url', ''); Specify post to edit (post_id) and post that holds the edit form (url) apply_filters('gform_update_post/edit_url', 1, home_url('/edit_post/')); Shortcode to show the edit link [gform_update_post_edit_link] Specify post to edit (post_id) and post that holds the edit form (url) [gform_update_post_edit_link post_id=1 url=6] IN TEMPLATE You can use the action to force a form show a specific post: do_action('gform_update_post/setup_form'); do_action('gform_update_post/setup_form', $post->ID); do_action('gform_update_post/setup_form', array('post_id' => $post->ID, 'form_id' => $form_id)); Parameters

安装:

屏幕截图:

  • A form on the front end. This just demonstrates the image/file capabilities.

升级注意事项:

1.0 This is the first version in the Wordpress repository.

常见问题:

Tags aren't working in a _____.

Tags really only work with a single line text field, checkbox and multiselect currently won't show the selected items when loaded for editing, but they will select the items. This might get changed in the future, but isn't pressing. Categories support those other methods, and the text field seems more appropriate, over all, for the tags.

Why can't I add a post image that is not "featured"?

Image fields are only supported if they are the "Featured Image". Otherwise you have to use a Custom Field and choose "File Upload" under File Type. If it is not one of these two types, we can't track it for updating.

What does this error mean: syntax error, unexpected T_FUNCTION?!

It usually means you are running PHP 5.2.x on your server. I know WordPress supports 5.2.4, but it is highly recommended to run at least 5.4, and this plugin simply doesn't support older than 5.3. We tried a little bit, but we could not get anonymous functions to work in a format that was compatible with 5.2, and, honestly, we really don't want to spend a lot more time on it, because 5.2 is so old, and you should upgrade. We did try though...

更新日志:

1.2.23 - 2015-07-02 1.2.22 - 2015-06-18 1.2.21 - 2015-06-18 1.2.20 - 2015-06-07 1.2.19 - 2015-06-07 1.2.18 - 2015-03-04 1.2.17 - 2015-02-24 1.2.16 - 2015-02-18 1.2.15 - 2015-02-18 1.2.14 - 2015-02-18 1.2.13 - 2014-09-11 1.2.12 - 2014-09-09 1.2.11 - 2014-09-09 1.2.10 - 2014-09-07 1.2.9 - 2014-09-07 1.2.7 - 2014-07-19 1.2.6 - 2014-07-19 1.2.5 - 2014-06-19 1.2.4 - 2014-06-04 1.2.3 - 2014-05-17 1.2.2 - 2014-05-17 1.2.1 - 2014-05-17 1.2 - 2014-05-13 1.1 - 2014-02-14 1.0.1 - 2014-02-14 1.0.0 - 2014-02-13 0.6.4 - 2014-02-13 0.6.3.3 - 2014-02-04 0.6.3.2 - 2014-02-04 0.6.3.1 - 2014-02-04 0.6.3.0 - 2013-10-21 0.6.2.9 - 2013-10-15 0.6.2.8 - 2013-10-15 0.6.2.7 - 2013-10-15 0.6.2.6 - 2013-10-15 0.6.2.5 - 2013-10-15 0.6.2.4 - 2013-10-15 0.6.2.3 - 2013-10-03 0.6.2.2 - 2013-09-27 0.6.2.1 - 2013-09-20 0.6.2 - 2013-09-19 0.6.1 - 2013-09-19