GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
shortcode-hint.php
Go to the documentation of this file.
1 <?php
2 /**
3  * @package GravityView
4  * @subpackage Gravityview/admin/metaboxes/partials
5  * @global $post
6  */
7 
8 global $post;
9 ?>
10 <div class="misc-pub-section gv-shortcode misc-pub-section-last">
11  <i class="dashicons dashicons-editor-code"></i>
12  <span><?php esc_html_e( 'Embed Shortcode', 'gk-gravityview' ); ?></span>
13  <div>
14  <input type="text" readonly="readonly" value="[gravityview id='<?php echo $post->ID; ?>']" class="code widefat" />
15  <span class="howto"><?php esc_html_e( 'Add this shortcode to a post or page to embed this view.', 'gk-gravityview' ); ?></span>
16  </div>
17 </div>
global $post