-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gv_entry_link] shortcode #548
Merged
Merged
Commits on Oct 13, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 25d81b2 - Browse repository at this point
Copy the full SHA 25d81b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b029486 - Browse repository at this point
Copy the full SHA b029486View commit details -
Configuration menu - View commit details
-
Copy full SHA for a65b843 - Browse repository at this point
Copy the full SHA a65b843View commit details
Commits on Oct 14, 2015
-
If users didn't have `copy_gravityviews` caps, the array would be empty.
Configuration menu - View commit details
-
Copy full SHA for 681e646 - Browse repository at this point
Copy the full SHA 681e646View commit details -
Create a new [gv_entry_link] shortcode
This replaces the `[gv_delete_entry_link]` and `[gv_edit_entry_link]` shortcodes, and also adds a `read` option that makes it easy to directly link to an entry. Accepts the same attributes as the previous shortcodes: ``` $action What type of link to generate. Options: `read`, `edit`, and `delete`. Default: `read` $view_id Define the ID for the View. If not set, use current View ID, if exists. $entry_id ID of the entry to edit. If undefined, uses the current entry ID, if exists. $post_id ID of the base post or page to use for an embedded View $link_atts Pass anchor tag attributes (`target=_blank` to open Edit Entry link in a new window, for example) $return What should the shortcode return: link HTML (`html`) or the URL (`url`). Default: `html` $field_values Only used for `action="edit"`. Parameters to pass in to the prefill data in Edit Entry form. Uses the same format as Gravity Forms "Allow field to be populated dynamically" {@see https://www.gravityhelp.com/documentation/article/allow-field-to-be-popu lated-dynamically/ } ```
Configuration menu - View commit details
-
Copy full SHA for 9954c3a - Browse repository at this point
Copy the full SHA 9954c3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffd3820 - Browse repository at this point
Copy the full SHA ffd3820View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b9ae87 - Browse repository at this point
Copy the full SHA 9b9ae87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 417bae6 - Browse repository at this point
Copy the full SHA 417bae6View commit details -
Merge branch 'version/1.15' into feature/gv-entry-link-shortcode
Conflicts: readme.txt
Configuration menu - View commit details
-
Copy full SHA for 23afffd - Browse repository at this point
Copy the full SHA 23afffdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dd9714 - Browse repository at this point
Copy the full SHA 3dd9714View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.