Gravity Perks
Gravity Connect
Gravity Shop
Snippet Library
Blog
Account
Black Magic
Black Friday Sale
•
Basic
10%
,
Advanced
25%
,
Pro
50%
off
•
Starts Monday, Nov 25th
Gravity Wiz
Gravity Perks
Gravity Perks
A suite of 46+ Gravity Forms addons
Product Details
Pricing
Documentation
Gravity Connect
Gravity Connect
Connect Gravity Forms to top-shelf services
Product Details
Pricing
Documentation
Gravity Shop
Gravity Shop
Bridging Gravity Forms & WooCommerce
Product Details
Pricing
Documentation
Snippet Library
Blog
Account
Log In
Support
Menu
Snippets
Entry Blocks
Snippet Library
/
Entry Blocks
php
Allow Editing Entries by User Meta
Use this snippet to allow users to edit entries via Entry Blocks based on the presence of the entry ID...
php
Update Post on Entry Edit
Use this snippet to update the original post created by an entry when that entry is edited. By default, Gravity...
php
Shows a log of edits that have been made to an entry.
Adds {entry_edit_log} merge tag to display Edit Entry Timestamp. Adds {last_edited_by} merge tag to display the User who last edited...
php
Customize Edit Entry Form’s Submit Button Text
php
Add Entry Button
php
Delete/trash associated post along with entry
Trash (or delete) post created by entry when an entry is trashed/deleted using GP Entry Blocks.
php
Disable Copy Cat When Editing.
Removes copy cat functionality on Entry Blocks' Edit Page.
php
Disable Field Conditional Logic When Editing
Removes conditional logic functionality on Entry Blocks' Edit Page.
php
Display Entry’s Date Created in Site Timezone
php
Display Stars for Rating Fields
php
Display Form Title and Description on Edit
php
Add Default Filter to Entries Query
This snippet adds a default filter to the Entries Query for all Entry Blocks. While this has many uses, this...
html
gpeb-hide-empty-columns.html
php
Filter Block: Convert Checkboxes to Single Line Text
Rather than displaying 50 checkboxes when using a Checkbox field in the Filter block, allow Entry Blocks to convert the...
php
Hide Product Fields on Edit
php
Make Administrative Fields Visible on Edit
Make administrative fields visible when editing via Entry Blocks.
php
Process Feeds on Edit
By default, some feeds (such as asynchronous feeds) may not be processed when editing entries. This snippet will disable async...
php
Redirect to edit newly duplicated entries
Installation: See https://github.com/gravitywiz/snippet-library/blob/master/gp-entry-blocks/gpeb-show-all-entries-to-admin.php
php
Set Fields as Readonly On Edit
Remove fields from the Entry Blocks edit form by automatically setting the field's visibility to "administrative".
php
Remove “created_by” filter for users who can view all entries.
Installation: 1. See https://gravitywiz.com/documentation/how-do-i-install-a-snippet/ 2. Customize the form ID in the snippet below.
php
Restart Workflow on Entry Edit
php
Entries Table Block: Show Entry Count
Add a count of entries before and after the table.
php
Show Admins All Entries
If your Entries block is configured to only show users their own entries, this snippet will allow you to show...
php
Single Page Edit
Remove page breaks from Entry Blocks edit form.
php
Update Post on Entry Edit
Use this snippet to update the original post created by an entry when that entry is edited. By default, Gravity...