Sid Gifari File Manager
🏠 Root
/
home
/
caldereriajp
/
public_html
/
wp-content
/
plugins
/
robo-gallery
/
app
/
extensions
/
fields
/
config
/
metabox
/
Editing: shortcode.php
<?php /* * Robo Gallery * Version: 3.2.13 - 91558 * By Robosoft * * Contact: https://robogallery.co/ * Created: 2021 * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php */ if ( ! defined( 'WPINC' ) ) exit; if( empty($_GET['post']) ) return array(); return array( 'active' => true, 'order' => 1, 'settings' => array( 'id' => 'robo_gallery_shortcode', 'title' => __('Gallery Shortcode', 'robo-gallery'), 'screen' => array( ROBO_GALLERY_TYPE_POST ), 'for' => array( 'gallery_type' => array( 'slider' ) ), 'context' => 'side', 'priority' => 'low', ), 'view' => 'default', 'state' => 'open', 'content' => sprintf( '<div class="robo-gallery-shortcode">[robo-gallery id="%s"]</div> <div class="robo-gallery-shortcode-desc">%s</div>', (int) $_GET['post'], __('use this shortcode to insert this gallery into page, post or widget', 'robo-gallery') ) );
Save
Cancel