// SYSTEM PANEL //
[ROOT]
/
home
/
salvufkx
/
homedir
/
public_html
/
wp-content
/
plugins
/
gallery-images-ape
/
libs
/
metabox
[ PARENT ]
EDIT :: shortcode.php
<?php /* * Ape Gallery http://wpape.net * Version: 1.2.4 - 61253 * Author: Wp Ape (c) * Author URI: http://wpape.net * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * Date: Thu, 08 Dec 2016 16:31:35 GMT */ $shortcode_metabox = new_cmb2_box( array( 'id' => WPAPE_GALLERY_NAMESPACE.'shortcode_metabox', 'title' => __('Shortcode','wpape_gallery'), 'object_types' => array( WPAPE_GALLERY_POST ), 'context' => 'side', 'priority' => 'low', )); if(isset($_GET['post'])){ $shortcode_metabox->add_field( array( 'id' => WPAPE_GALLERY_NAMESPACE.'shortcode', 'type' => 'title', 'before_row' => '<div class="wpape_shortcode">[ape-gallery '.$_GET['post'].']</div>', 'after_row' => '<div class="desc">'.__('shortcode for post/page/widget','wpape_gallery')."</div>", )); }
SAVE
CANCEL