Version Description
- [Fix] Fixed JS conflict in admin
Download this release
Release Info
Developer | GreenTreeLabs |
Plugin | Image Photo Gallery Final Tiles Grid |
Version | 3.4.5 |
Comparing to | |
See all releases |
Code changes from version 3.4.0 to 3.4.5
- FinalTilesGalleryLite.php +21 -4
- admin/add-gallery.php +35 -43
- admin/css/style.css +19 -0
- admin/edit-gallery.php +10 -10
- admin/include/edit-gallery.php +91 -79
- admin/include/fields.php +167 -167
- admin/overview.php +83 -66
- admin/photoblocks.php +0 -30
- admin/scripts/final-tiles-gallery-admin.js +2 -1
- admin/scripts/materialize.min.js +11956 -1
- admin/support.php +0 -33
- admin/tutorial.php +0 -15
- freemius/languages/freemius-da_DK.po +1285 -732
- freemius/languages/freemius-en.po +1318 -663
- freemius/languages/freemius-es_ES.po +1312 -645
FinalTilesGalleryLite.php
CHANGED
@@ -5,14 +5,26 @@
|
|
5 |
* Plugin URI: https://www.final-tiles-gallery.com/wordpress
|
6 |
* Description: Wordpress Plugin for creating responsive image galleries. By: GreenTreeLabs
|
7 |
* Author: Green Tree Labs
|
8 |
-
* Version: 3.4.
|
9 |
* Author URI: https://www.greentreelabs.net
|
|
|
|
|
10 |
*
|
11 |
*
|
12 |
*/
|
13 |
-
define( "FTGVERSION", "3.
|
14 |
/*
|
15 |
Changelog:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
3.4.0
|
17 |
Revamped UI
|
18 |
Gutenmberg blocks
|
@@ -500,7 +512,7 @@ if ( !class_exists( 'FinalTiles_Gallery' ) ) {
|
|
500 |
$this->define_db_tables();
|
501 |
$this->FinalTilesdb = $this->create_db_conn();
|
502 |
add_filter( 'widget_text', 'do_shortcode' );
|
503 |
-
add_action( '
|
504 |
add_action( 'wp_enqueue_scripts', array( $this, 'add_gallery_scripts' ) );
|
505 |
//add_action( 'admin_init', array($this,'gallery_admin_init') );
|
506 |
add_action( 'admin_menu', array( $this, 'add_gallery_admin_menu' ) );
|
@@ -772,7 +784,12 @@ if ( !class_exists( 'FinalTiles_Gallery' ) ) {
|
|
772 |
public function create_textdomain()
|
773 |
{
|
774 |
$plugin_dir = basename( dirname( __FILE__ ) );
|
775 |
-
load_plugin_textdomain( 'final-tiles-gallery', false, dirname( plugin_basename( __FILE__ ) ) . '/
|
|
|
|
|
|
|
|
|
|
|
776 |
}
|
777 |
|
778 |
//Define constants
|
5 |
* Plugin URI: https://www.final-tiles-gallery.com/wordpress
|
6 |
* Description: Wordpress Plugin for creating responsive image galleries. By: GreenTreeLabs
|
7 |
* Author: Green Tree Labs
|
8 |
+
* Version: 3.4.5
|
9 |
* Author URI: https://www.greentreelabs.net
|
10 |
+
* Text Domain: final-tiles-grid-gallery-lite
|
11 |
+
* Domain Path: /languages
|
12 |
*
|
13 |
*
|
14 |
*/
|
15 |
+
define( "FTGVERSION", "3.4.5" );
|
16 |
/*
|
17 |
Changelog:
|
18 |
+
3.4.5
|
19 |
+
Fixed JS conflict in admin
|
20 |
+
3.4.4
|
21 |
+
Fixed missing message after new gallery
|
22 |
+
3.4.3
|
23 |
+
New admin dashboard
|
24 |
+
3.4.2
|
25 |
+
Fix empty image source
|
26 |
+
3.4.1
|
27 |
+
Added Italian
|
28 |
3.4.0
|
29 |
Revamped UI
|
30 |
Gutenmberg blocks
|
512 |
$this->define_db_tables();
|
513 |
$this->FinalTilesdb = $this->create_db_conn();
|
514 |
add_filter( 'widget_text', 'do_shortcode' );
|
515 |
+
add_action( 'init', array( $this, 'create_textdomain' ) );
|
516 |
add_action( 'wp_enqueue_scripts', array( $this, 'add_gallery_scripts' ) );
|
517 |
//add_action( 'admin_init', array($this,'gallery_admin_init') );
|
518 |
add_action( 'admin_menu', array( $this, 'add_gallery_admin_menu' ) );
|
784 |
public function create_textdomain()
|
785 |
{
|
786 |
$plugin_dir = basename( dirname( __FILE__ ) );
|
787 |
+
load_plugin_textdomain( 'final-tiles-grid-gallery-lite', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
788 |
+
foreach ( $this->fields as $s => $section ) {
|
789 |
+
foreach ( $section["fields"] as $f => $field ) {
|
790 |
+
$this->fields[$s]["fields"][$f]["description"] = __( $this->fields[$s]["fields"][$f]["description"], 'final-tiles-grid-gallery-lite' );
|
791 |
+
}
|
792 |
+
}
|
793 |
}
|
794 |
|
795 |
//Define constants
|
admin/add-gallery.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
if ( preg_match( '#' . basename( __FILE__ ) . '#', $_SERVER['PHP_SELF'] ) ) {
|
4 |
-
die( _e( 'You are not allowed to call this page directly.', 'final-tiles-gallery' ) );
|
5 |
}
|
6 |
?>
|
7 |
|
@@ -15,7 +15,7 @@ include "header.php";
|
|
15 |
|
16 |
<div id="ftg-wizard">
|
17 |
<h2><?php
|
18 |
-
_e( 'Add new gallery wizard', 'final-tiles-gallery' );
|
19 |
?></h2>
|
20 |
|
21 |
<form action="#" method="post">
|
@@ -32,33 +32,33 @@ wp_nonce_field( 'FinalTiles_gallery', 'FinalTiles_gallery' );
|
|
32 |
<div class="input-field">
|
33 |
<input name="ftg_name" id="name" type="text" class="validate" required="required">
|
34 |
<label for="name"><?php
|
35 |
-
_e( 'Name of the gallery', 'final-tiles-gallery' );
|
36 |
?></label>
|
37 |
</div>
|
38 |
</div>
|
39 |
<div class="input-field">
|
40 |
<textarea name="ftg_description" class="materialize-textarea" id="description"></textarea>
|
41 |
<label for="description"><?php
|
42 |
-
_e( 'Description of the gallery', 'final-tiles-gallery' );
|
43 |
?></label>
|
44 |
</div>
|
45 |
</fieldset>
|
46 |
<fieldset data-step="2">
|
47 |
<h5><?php
|
48 |
-
_e( 'Choose the source of the images', 'final-tiles-gallery' );
|
49 |
?></h5>
|
50 |
<p>
|
51 |
-
<input class="with-gap" type="radio" checked="checked" name="ftg_source" id="source1" value="images" />
|
52 |
<label for="source1"><?php
|
53 |
-
_e( 'Media library', 'final-tiles-gallery' );
|
54 |
?></label>
|
55 |
</p>
|
56 |
<p>
|
57 |
<?php
|
58 |
?>
|
59 |
-
<input disabled class="with-gap" type="radio" name="ftg_source" value="*" id="source2" />
|
60 |
<label for="source2"><?php
|
61 |
-
_e( 'Recent posts', 'final-tiles-gallery' );
|
62 |
?> - <a class="in-wizard-cta" href="<?php
|
63 |
echo ftg_fs()->get_upgrade_url() ;
|
64 |
?>"><i class="mdi mdi-bell-ring-outline"></i>
|
@@ -72,9 +72,9 @@ _e( 'Unlock this feature. Upgrade Now!', 'final-tiles-grid-gallery-lite' );
|
|
72 |
<p>
|
73 |
<?php
|
74 |
?>
|
75 |
-
<input class="with-gap" disabled type="radio" name="ftg_source" value="*" id="source3" />
|
76 |
<label for="source3"><?php
|
77 |
-
_e( 'WooCommerce products', 'final-tiles-gallery' );
|
78 |
?> - <a class="in-wizard-cta" href="<?php
|
79 |
echo ftg_fs()->get_upgrade_url() ;
|
80 |
?>"><i class="mdi mdi-bell-ring-outline"></i>
|
@@ -89,7 +89,7 @@ _e( 'Unlock this feature. Upgrade Now!', 'final-tiles-grid-gallery-lite' );
|
|
89 |
<fieldset data-step="3" data-branch="images">
|
90 |
<div class="field">
|
91 |
<h5><?php
|
92 |
-
_e( 'WordPress field for captions:', 'final-tiles-gallery' );
|
93 |
?></h5>
|
94 |
<select class="browser-default" name="ftg_wp_field_caption">
|
95 |
<option value="none"> Don't use captions </option>
|
@@ -101,7 +101,7 @@ _e( 'WordPress field for captions:', 'final-tiles-gallery' );
|
|
101 |
|
102 |
<div class="field">
|
103 |
<h5><?php
|
104 |
-
_e( 'WordPress field for titles:', 'final-tiles-gallery' );
|
105 |
?></h5>
|
106 |
<select class="browser-default" name="ftg_wp_field_title">
|
107 |
<option value="none"> Don't use titles </option>
|
@@ -128,7 +128,7 @@ _e( 'WordPress field for titles:', 'final-tiles-gallery' );
|
|
128 |
-->
|
129 |
<div class="field">
|
130 |
<h5><?php
|
131 |
-
_e( 'Caption effect:', 'final-tiles-gallery' );
|
132 |
?></h5>
|
133 |
<select class="browser-default" name="ftg_captionEffect">
|
134 |
<option value="none"><?php
|
@@ -164,7 +164,7 @@ _e( 'Slide from bottom' );
|
|
164 |
<fieldset data-step="4" data-save="true">
|
165 |
<div class="field">
|
166 |
<h5><?php
|
167 |
-
_e( 'Choose the layout', 'final-tiles-gallery' );
|
168 |
?></h5>
|
169 |
<select class="browser-default" name="layout">
|
170 |
<option value="final">Final Tiles Gallery (mixed image width)</option>
|
@@ -173,7 +173,7 @@ _e( 'Choose the layout', 'final-tiles-gallery' );
|
|
173 |
</div>
|
174 |
<div class="field">
|
175 |
<h5><?php
|
176 |
-
_e( 'Choose a default image size', 'final-tiles-gallery' );
|
177 |
?></h5>
|
178 |
<select class="browser-default def_imgsize" name="def_imgsize">
|
179 |
<?php
|
@@ -183,25 +183,17 @@ foreach ( $this->list_thumbnail_sizes() as $size => $atts ) {
|
|
183 |
?>
|
184 |
</select>
|
185 |
<label><?php
|
186 |
-
_e( 'You can customize each image later', 'final-tiles-gallery' );
|
187 |
-
?></label>
|
188 |
-
<br>
|
189 |
-
<label class="shortpixel">
|
190 |
-
<img src="<?php
|
191 |
-
echo plugins_url( '', __FILE__ ) ;
|
192 |
-
?>/images/icon-shortpixel.png" alt="ShortPixel">
|
193 |
-
<a target="_blank" href="https://shortpixel.com/wp/af/J4PFT4Z72393"><?php
|
194 |
-
_e( 'We suggest you to use ShortPixel image optimization plugin for best SEO results.', 'modula-gallery' );
|
195 |
-
?></a></label>
|
196 |
</div>
|
197 |
<div class="field select-images">
|
198 |
<a class="waves-effect waves-light btn add-images">
|
199 |
<i class="fa fa-plus left"></i> <?php
|
200 |
-
_e( 'Add images', 'final-tiles-gallery' );
|
201 |
?></a>
|
202 |
<br>
|
203 |
<label><?php
|
204 |
-
_e( 'You can add images now or later.', 'final-tiles-gallery' );
|
205 |
?></label>
|
206 |
<div class="images list-group"></div>
|
207 |
</div>
|
@@ -210,55 +202,55 @@ _e( 'You can add images now or later.', 'final-tiles-gallery' );
|
|
210 |
<div class="progress loading">
|
211 |
<div class="indeterminate"></div>
|
212 |
</div>
|
213 |
-
<a class="
|
214 |
-
_e( 'Previous', 'final-tiles-gallery' );
|
215 |
?></a>
|
216 |
-
<a class="
|
217 |
-
_e( 'Next', 'final-tiles-gallery' );
|
218 |
?></a>
|
219 |
</footer>
|
220 |
</form>
|
221 |
<div id="success" class="modal">
|
222 |
<div class="modal-content">
|
223 |
<h4><?php
|
224 |
-
_e( 'Success!', 'final-tiles-gallery' );
|
225 |
?></h4>
|
226 |
<p><?php
|
227 |
-
_e( 'Your gallery', 'final-tiles-gallery' );
|
228 |
?> "<span class="gallery-name"></span>" <?php
|
229 |
-
_e( 'has been created. Copy the following shortcode:', 'final-tiles-gallery' );
|
230 |
?><br>
|
231 |
<input type="text" readonly class="code"><br>
|
232 |
<?php
|
233 |
-
_e( 'and paste it inside a post or a page. Otherwise click', 'final-tiles-gallery' );
|
234 |
?> <a class='customize'><?php
|
235 |
-
_e( 'here', 'final-tiles-gallery' );
|
236 |
?></a> <?php
|
237 |
_e( 'to customize
|
238 |
-
the gallery.', 'final-tiles-gallery' );
|
239 |
?>
|
240 |
</p>
|
241 |
</div>
|
242 |
<div class="modal-'footer">
|
243 |
<a href="?page=ftg-lite-gallery-admin" id="modal-close" class="waves-effect waves-green btn-flat modal-action"><?php
|
244 |
-
_e( 'Close', 'final-tiles-gallery' );
|
245 |
?></a>
|
246 |
</div>
|
247 |
</div>
|
248 |
<div id="error" class="modal">
|
249 |
<div class="modal-content">
|
250 |
<h4><?php
|
251 |
-
_e( 'Error!', 'final-tiles-gallery' );
|
252 |
?></h4>
|
253 |
<p><?php
|
254 |
-
_e( 'For some reason it was not possible to save your gallery, please contact', 'final-tiles-gallery' );
|
255 |
?><a href="?page=ftg-support"><?php
|
256 |
-
_e( 'support', 'final-tiles-gallery' );
|
257 |
?></a>.</p>
|
258 |
</div>
|
259 |
<div class="modal-footer">
|
260 |
<a href="?page=ftg-lite-gallery-admin" class="waves-effect waves-green btn-flat modal-action modal-close"><?php
|
261 |
-
_e( 'Close', 'final-tiles-gallery' );
|
262 |
?></a>
|
263 |
</div>
|
264 |
</div>
|
1 |
<?php
|
2 |
|
3 |
if ( preg_match( '#' . basename( __FILE__ ) . '#', $_SERVER['PHP_SELF'] ) ) {
|
4 |
+
die( _e( 'You are not allowed to call this page directly.', 'final-tiles-grid-gallery-lite' ) );
|
5 |
}
|
6 |
?>
|
7 |
|
15 |
|
16 |
<div id="ftg-wizard">
|
17 |
<h2><?php
|
18 |
+
_e( 'Add new gallery wizard', 'final-tiles-grid-gallery-lite' );
|
19 |
?></h2>
|
20 |
|
21 |
<form action="#" method="post">
|
32 |
<div class="input-field">
|
33 |
<input name="ftg_name" id="name" type="text" class="validate" required="required">
|
34 |
<label for="name"><?php
|
35 |
+
_e( 'Name of the gallery', 'final-tiles-grid-gallery-lite' );
|
36 |
?></label>
|
37 |
</div>
|
38 |
</div>
|
39 |
<div class="input-field">
|
40 |
<textarea name="ftg_description" class="materialize-textarea" id="description"></textarea>
|
41 |
<label for="description"><?php
|
42 |
+
_e( 'Description of the gallery', 'final-tiles-grid-gallery-lite' );
|
43 |
?></label>
|
44 |
</div>
|
45 |
</fieldset>
|
46 |
<fieldset data-step="2">
|
47 |
<h5><?php
|
48 |
+
_e( 'Choose the source of the images', 'final-tiles-grid-gallery-lite' );
|
49 |
?></h5>
|
50 |
<p>
|
51 |
+
<input class="with-gap browser-default" type="radio" checked="checked" name="ftg_source" id="source1" value="images" />
|
52 |
<label for="source1"><?php
|
53 |
+
_e( 'Media library', 'final-tiles-grid-gallery-lite' );
|
54 |
?></label>
|
55 |
</p>
|
56 |
<p>
|
57 |
<?php
|
58 |
?>
|
59 |
+
<input disabled class="with-gap browser-default" type="radio" name="ftg_source" value="*" id="source2" />
|
60 |
<label for="source2"><?php
|
61 |
+
_e( 'Recent posts', 'final-tiles-grid-gallery-lite' );
|
62 |
?> - <a class="in-wizard-cta" href="<?php
|
63 |
echo ftg_fs()->get_upgrade_url() ;
|
64 |
?>"><i class="mdi mdi-bell-ring-outline"></i>
|
72 |
<p>
|
73 |
<?php
|
74 |
?>
|
75 |
+
<input class="with-gap browser-default" disabled type="radio" name="ftg_source" value="*" id="source3" />
|
76 |
<label for="source3"><?php
|
77 |
+
_e( 'WooCommerce products', 'final-tiles-grid-gallery-lite' );
|
78 |
?> - <a class="in-wizard-cta" href="<?php
|
79 |
echo ftg_fs()->get_upgrade_url() ;
|
80 |
?>"><i class="mdi mdi-bell-ring-outline"></i>
|
89 |
<fieldset data-step="3" data-branch="images">
|
90 |
<div class="field">
|
91 |
<h5><?php
|
92 |
+
_e( 'WordPress field for captions:', 'final-tiles-grid-gallery-lite' );
|
93 |
?></h5>
|
94 |
<select class="browser-default" name="ftg_wp_field_caption">
|
95 |
<option value="none"> Don't use captions </option>
|
101 |
|
102 |
<div class="field">
|
103 |
<h5><?php
|
104 |
+
_e( 'WordPress field for titles:', 'final-tiles-grid-gallery-lite' );
|
105 |
?></h5>
|
106 |
<select class="browser-default" name="ftg_wp_field_title">
|
107 |
<option value="none"> Don't use titles </option>
|
128 |
-->
|
129 |
<div class="field">
|
130 |
<h5><?php
|
131 |
+
_e( 'Caption effect:', 'final-tiles-grid-gallery-lite' );
|
132 |
?></h5>
|
133 |
<select class="browser-default" name="ftg_captionEffect">
|
134 |
<option value="none"><?php
|
164 |
<fieldset data-step="4" data-save="true">
|
165 |
<div class="field">
|
166 |
<h5><?php
|
167 |
+
_e( 'Choose the layout', 'final-tiles-grid-gallery-lite' );
|
168 |
?></h5>
|
169 |
<select class="browser-default" name="layout">
|
170 |
<option value="final">Final Tiles Gallery (mixed image width)</option>
|
173 |
</div>
|
174 |
<div class="field">
|
175 |
<h5><?php
|
176 |
+
_e( 'Choose a default image size', 'final-tiles-grid-gallery-lite' );
|
177 |
?></h5>
|
178 |
<select class="browser-default def_imgsize" name="def_imgsize">
|
179 |
<?php
|
183 |
?>
|
184 |
</select>
|
185 |
<label><?php
|
186 |
+
_e( 'You can customize each image later', 'final-tiles-grid-gallery-lite' );
|
187 |
+
?></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
</div>
|
189 |
<div class="field select-images">
|
190 |
<a class="waves-effect waves-light btn add-images">
|
191 |
<i class="fa fa-plus left"></i> <?php
|
192 |
+
_e( 'Add images', 'final-tiles-grid-gallery-lite' );
|
193 |
?></a>
|
194 |
<br>
|
195 |
<label><?php
|
196 |
+
_e( 'You can add images now or later.', 'final-tiles-grid-gallery-lite' );
|
197 |
?></label>
|
198 |
<div class="images list-group"></div>
|
199 |
</div>
|
202 |
<div class="progress loading">
|
203 |
<div class="indeterminate"></div>
|
204 |
</div>
|
205 |
+
<a class="button prev"><?php
|
206 |
+
_e( 'Previous', 'final-tiles-grid-gallery-lite' );
|
207 |
?></a>
|
208 |
+
<a class="button components-button is-primary next"><?php
|
209 |
+
_e( 'Next', 'final-tiles-grid-gallery-lite' );
|
210 |
?></a>
|
211 |
</footer>
|
212 |
</form>
|
213 |
<div id="success" class="modal">
|
214 |
<div class="modal-content">
|
215 |
<h4><?php
|
216 |
+
_e( 'Success!', 'final-tiles-grid-gallery-lite' );
|
217 |
?></h4>
|
218 |
<p><?php
|
219 |
+
_e( 'Your gallery', 'final-tiles-grid-gallery-lite' );
|
220 |
?> "<span class="gallery-name"></span>" <?php
|
221 |
+
_e( 'has been created. Copy the following shortcode:', 'final-tiles-grid-gallery-lite' );
|
222 |
?><br>
|
223 |
<input type="text" readonly class="code"><br>
|
224 |
<?php
|
225 |
+
_e( 'and paste it inside a post or a page. Otherwise click', 'final-tiles-grid-gallery-lite' );
|
226 |
?> <a class='customize'><?php
|
227 |
+
_e( 'here', 'final-tiles-grid-gallery-lite' );
|
228 |
?></a> <?php
|
229 |
_e( 'to customize
|
230 |
+
the gallery.', 'final-tiles-grid-gallery-lite' );
|
231 |
?>
|
232 |
</p>
|
233 |
</div>
|
234 |
<div class="modal-'footer">
|
235 |
<a href="?page=ftg-lite-gallery-admin" id="modal-close" class="waves-effect waves-green btn-flat modal-action"><?php
|
236 |
+
_e( 'Close', 'final-tiles-grid-gallery-lite' );
|
237 |
?></a>
|
238 |
</div>
|
239 |
</div>
|
240 |
<div id="error" class="modal">
|
241 |
<div class="modal-content">
|
242 |
<h4><?php
|
243 |
+
_e( 'Error!', 'final-tiles-grid-gallery-lite' );
|
244 |
?></h4>
|
245 |
<p><?php
|
246 |
+
_e( 'For some reason it was not possible to save your gallery, please contact', 'final-tiles-grid-gallery-lite' );
|
247 |
?><a href="?page=ftg-support"><?php
|
248 |
+
_e( 'support', 'final-tiles-grid-gallery-lite' );
|
249 |
?></a>.</p>
|
250 |
</div>
|
251 |
<div class="modal-footer">
|
252 |
<a href="?page=ftg-lite-gallery-admin" class="waves-effect waves-green btn-flat modal-action modal-close"><?php
|
253 |
+
_e( 'Close', 'final-tiles-grid-gallery-lite' );
|
254 |
?></a>
|
255 |
</div>
|
256 |
</div>
|
admin/css/style.css
CHANGED
@@ -3,6 +3,9 @@
|
|
3 |
box-sizing: border-box !important;
|
4 |
-webkit-box-sizing: border-box !important;
|
5 |
}
|
|
|
|
|
|
|
6 |
td, th {
|
7 |
padding:10px 5px;
|
8 |
}
|
@@ -218,6 +221,15 @@ td, th {
|
|
218 |
border: 0;
|
219 |
display: none;
|
220 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
#ftg-wizard fieldset:first-of-type {
|
222 |
display: block;
|
223 |
}
|
@@ -233,6 +245,11 @@ td, th {
|
|
233 |
#ftg-wizard h1 small {
|
234 |
font-size: 12px;
|
235 |
}
|
|
|
|
|
|
|
|
|
|
|
236 |
#ftg-wizard h2 {
|
237 |
font-size: 16px;
|
238 |
text-transform: uppercase;
|
@@ -978,6 +995,8 @@ padding: 10px;
|
|
978 |
.modal h4 {
|
979 |
font-size: 14px;
|
980 |
}
|
|
|
|
|
981 |
.browser-default[type="checkbox"]:not(:checked),
|
982 |
.browser-default[type="checkbox"]:checked {
|
983 |
opacity: 1;
|
3 |
box-sizing: border-box !important;
|
4 |
-webkit-box-sizing: border-box !important;
|
5 |
}
|
6 |
+
a {
|
7 |
+
color: #0073aa;
|
8 |
+
}
|
9 |
td, th {
|
10 |
padding:10px 5px;
|
11 |
}
|
221 |
border: 0;
|
222 |
display: none;
|
223 |
}
|
224 |
+
#ftg-wizard fieldset label{
|
225 |
+
font-size: 16px;
|
226 |
+
color: #333;
|
227 |
+
}
|
228 |
+
#ftg-wizard .ftg-input {
|
229 |
+
display: inline-block;
|
230 |
+
margin-right: 20px;
|
231 |
+
margin-bottom: 10px;
|
232 |
+
}
|
233 |
#ftg-wizard fieldset:first-of-type {
|
234 |
display: block;
|
235 |
}
|
245 |
#ftg-wizard h1 small {
|
246 |
font-size: 12px;
|
247 |
}
|
248 |
+
h2.ftg-subtitle {
|
249 |
+
font-size:16px;
|
250 |
+
color:#666;
|
251 |
+
margin:0;
|
252 |
+
}
|
253 |
#ftg-wizard h2 {
|
254 |
font-size: 16px;
|
255 |
text-transform: uppercase;
|
995 |
.modal h4 {
|
996 |
font-size: 14px;
|
997 |
}
|
998 |
+
.browser-default[type="radio"]:not(:checked),
|
999 |
+
.browser-default[type="radio"]:checked,
|
1000 |
.browser-default[type="checkbox"]:not(:checked),
|
1001 |
.browser-default[type="checkbox"]:checked {
|
1002 |
opacity: 1;
|
admin/edit-gallery.php
CHANGED
@@ -35,8 +35,8 @@
|
|
35 |
(function ($) {
|
36 |
window.onload = function () {
|
37 |
|
38 |
-
$("[name=ftg_source]").val("<?php
|
39 |
-
$("[name=ftg_defaultPostImageSize]").val("<?php
|
40 |
|
41 |
FTG.init_gallery();
|
42 |
|
@@ -72,19 +72,19 @@
|
|
72 |
|
73 |
<div id="groups-modal" class="modal">
|
74 |
<div class="modal-content">
|
75 |
-
<h3><?php _e('Assign group','final-tiles-gallery')?></h3>
|
76 |
-
<p><?php _e('The group name is for internal use and it won\'t be shown, avoid space and special characters','final-tiles-gallery')?></p>
|
77 |
<input type="text" id="group-name-to-assign" />
|
78 |
</div>
|
79 |
<div class="modal-footer">
|
80 |
-
<a href="#!" data-action-assign-group class="action modal-action modal-close waves-effect waves-green btn-flat"><?php _e('Save','final-tiles-gallery')?></a>
|
81 |
-
<a href="#!" data-action="cancel" class="action modal-action modal-close waves-effect waves-yellow btn-flat"><?php _e('Cancel','final-tiles-gallery')?></a>
|
82 |
</div>
|
83 |
</div>
|
84 |
|
85 |
<div id="filters-modal" class="modal">
|
86 |
<div class="modal-content">
|
87 |
-
<h3><?php _e('Assign filters','final-tiles-gallery')?></h3>
|
88 |
|
89 |
<div id="filters-to-assign">
|
90 |
<?php foreach($filters as $filter): ?>
|
@@ -94,10 +94,10 @@
|
|
94 |
</label>
|
95 |
<?php endforeach; ?>
|
96 |
</div>
|
97 |
-
<p><?php _e("If you don't see all filters please save and reload the page",'final-tiles-gallery')?></p>
|
98 |
</div>
|
99 |
<div class="modal-footer">
|
100 |
-
<a href="#!" data-action-assign-filters class="action modal-action modal-close waves-effect waves-green btn-flat"><?php _e('Save','final-tiles-gallery')?></a>
|
101 |
-
<a href="#!" data-action="cancel" class="action modal-action modal-close waves-effect waves-yellow btn-flat"><?php _e('Cancel','final-tiles-gallery')?></a>
|
102 |
</div>
|
103 |
</div>
|
35 |
(function ($) {
|
36 |
window.onload = function () {
|
37 |
|
38 |
+
$("[name=ftg_source]").val("<?php echo $gallery->source ?>").change();
|
39 |
+
$("[name=ftg_defaultPostImageSize]").val("<?php echo $gallery->defaultPostImageSize ?>").change();
|
40 |
|
41 |
FTG.init_gallery();
|
42 |
|
72 |
|
73 |
<div id="groups-modal" class="modal">
|
74 |
<div class="modal-content">
|
75 |
+
<h3><?php _e('Assign group', 'final-tiles-grid-gallery-lite')?></h3>
|
76 |
+
<p><?php _e('The group name is for internal use and it won\'t be shown, avoid space and special characters', 'final-tiles-grid-gallery-lite')?></p>
|
77 |
<input type="text" id="group-name-to-assign" />
|
78 |
</div>
|
79 |
<div class="modal-footer">
|
80 |
+
<a href="#!" data-action-assign-group class="action modal-action modal-close waves-effect waves-green btn-flat"><?php _e('Save', 'final-tiles-grid-gallery-lite')?></a>
|
81 |
+
<a href="#!" data-action="cancel" class="action modal-action modal-close waves-effect waves-yellow btn-flat"><?php _e('Cancel', 'final-tiles-grid-gallery-lite')?></a>
|
82 |
</div>
|
83 |
</div>
|
84 |
|
85 |
<div id="filters-modal" class="modal">
|
86 |
<div class="modal-content">
|
87 |
+
<h3><?php _e('Assign filters', 'final-tiles-grid-gallery-lite')?></h3>
|
88 |
|
89 |
<div id="filters-to-assign">
|
90 |
<?php foreach($filters as $filter): ?>
|
94 |
</label>
|
95 |
<?php endforeach; ?>
|
96 |
</div>
|
97 |
+
<p><?php _e("If you don't see all filters please save and reload the page", 'final-tiles-grid-gallery-lite')?></p>
|
98 |
</div>
|
99 |
<div class="modal-footer">
|
100 |
+
<a href="#!" data-action-assign-filters class="action modal-action modal-close waves-effect waves-green btn-flat"><?php _e('Save', 'final-tiles-grid-gallery-lite')?></a>
|
101 |
+
<a href="#!" data-action="cancel" class="action modal-action modal-close waves-effect waves-yellow btn-flat"><?php _e('Cancel', 'final-tiles-grid-gallery-lite')?></a>
|
102 |
</div>
|
103 |
</div>
|
admin/include/edit-gallery.php
CHANGED
@@ -100,7 +100,7 @@ function ftgSortByName( $a, $b )
|
|
100 |
<li id="images" class="active">
|
101 |
<div class="collapsible-header">
|
102 |
<i class="fa fa-picture-o light-green darken-1 white-text ftg-section-icon"></i> <?php
|
103 |
-
_e( 'Images', 'final-tiles-gallery' );
|
104 |
?>
|
105 |
</div>
|
106 |
<div class="collapsible-body" style="display:block">
|
@@ -110,14 +110,14 @@ _e( 'Images', 'final-tiles-gallery' );
|
|
110 |
<option <?php
|
111 |
ftg_sel( $gallery, "source", "images" );
|
112 |
?> value="images"><?php
|
113 |
-
_e( 'User images', 'final-tiles-gallery' );
|
114 |
?></option>
|
115 |
<option <?php
|
116 |
ftg_sel( $gallery, "source", "posts" );
|
117 |
?> value="posts" <?php
|
118 |
echo ftg_checkDisabledOption( 'ultimate' ) ;
|
119 |
?>><?php
|
120 |
-
_e( 'Recent posts with featured image', 'final-tiles-gallery' );
|
121 |
echo ftg_printPro( 'ultimate' ) ;
|
122 |
?></option>
|
123 |
<?php
|
@@ -129,7 +129,7 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
|
|
129 |
?> value="woocommerce" <?php
|
130 |
echo ftg_checkDisabledOption( 'ultimate' ) ;
|
131 |
?>><?php
|
132 |
-
_e( 'WooCommerce products', 'final-tiles-gallery' );
|
133 |
echo ftg_printPro( 'ultimate' ) ;
|
134 |
?></option>
|
135 |
<?php
|
@@ -147,31 +147,31 @@ foreach ( $this->list_thumbnail_sizes() as $size => $atts ) {
|
|
147 |
|
148 |
<a href="#" class="open-media-panel button">
|
149 |
<?php
|
150 |
-
_e( 'Add images', 'final-tiles-gallery' );
|
151 |
?>
|
152 |
</a>
|
153 |
<?php
|
154 |
?>
|
155 |
<a onclick="alert('Upgrade to unlock')" href="#" class=" button"><?php
|
156 |
-
_e( 'Add video', 'final-tiles-gallery' );
|
157 |
?></a>
|
158 |
<?php
|
159 |
?>
|
160 |
<a class="button button-delete" data-remove-images href="#!"><?php
|
161 |
-
_e( 'Remove selected', 'final-tiles-gallery' );
|
162 |
?></a>
|
163 |
</div>
|
164 |
<div class="row selection-row">
|
165 |
<div class="bulk options">
|
166 |
<span>
|
167 |
<a class="button" href="#" data-action="select"><?php
|
168 |
-
_e( 'Select all', 'final-tiles-gallery' );
|
169 |
?></a>
|
170 |
<a class="button" href="#" data-action="deselect"><?php
|
171 |
-
_e( 'Deselect all', 'final-tiles-gallery' );
|
172 |
?></a>
|
173 |
<a class="button" href="#" data-action="toggle"><?php
|
174 |
-
_e( 'Toggle selection', 'final-tiles-gallery' );
|
175 |
?></a>
|
176 |
</span>
|
177 |
<span>
|
@@ -182,7 +182,7 @@ _e( 'Toggle selection', 'final-tiles-gallery' );
|
|
182 |
</span>
|
183 |
<span>
|
184 |
<a class="button" href="#" data-action="show-hide"><?php
|
185 |
-
_e( 'Toggle visibility', 'final-tiles-gallery' );
|
186 |
?></a>
|
187 |
</span>
|
188 |
</div>
|
@@ -193,7 +193,7 @@ if ( is_array( $filters ) && count( $filters ) > 1 ) {
|
|
193 |
?>
|
194 |
<div class="row filter-list">
|
195 |
<b> <?php
|
196 |
-
_e( 'Select by filter:', 'final-tiles-gallery' );
|
197 |
?> </b>
|
198 |
<span class="filter-select-control">
|
199 |
<?php
|
@@ -217,10 +217,10 @@ if ( is_array( $filters ) && count( $filters ) > 1 ) {
|
|
217 |
<div class="actions">
|
218 |
<div class="row">
|
219 |
<?php
|
220 |
-
_e( 'Add links by clicking the EDIT (pencil) button', 'final-tiles-gallery' );
|
221 |
?><br>
|
222 |
<?php
|
223 |
-
_e( 'Drag the images to change their order.', 'final-tiles-gallery' );
|
224 |
?>
|
225 |
</div>
|
226 |
</div>
|
@@ -266,7 +266,7 @@ foreach ( get_taxonomies( array(), "objects" ) as $taxonomy => $t ) {
|
|
266 |
</div>
|
267 |
<div class="row checkboxes">
|
268 |
<strong class="label"><?php
|
269 |
-
_e( 'Post type:', 'final-tiles-gallery' );
|
270 |
?></strong>
|
271 |
<span>
|
272 |
<?php
|
@@ -377,14 +377,14 @@ _e( $gallery->post_taxonomies );
|
|
377 |
?>" />
|
378 |
<div class="row checkboxes">
|
379 |
<strong class="label"><?php
|
380 |
-
_e( 'Max posts:', 'final-tiles-gallery' );
|
381 |
?></strong>
|
382 |
<span class="aside">
|
383 |
<input type="text" name="ftg_max_posts" value="<?php
|
384 |
echo $gallery->max_posts ;
|
385 |
?>">
|
386 |
<span><?php
|
387 |
-
_e( '(enter 0 for unlimited posts)', 'final-tiles-gallery' );
|
388 |
?></span>
|
389 |
</span>
|
390 |
</div>
|
@@ -396,7 +396,7 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
|
|
396 |
<div class="actions source-woocommerce source-panel">
|
397 |
<div class="row checkboxes">
|
398 |
<strong class="label"><?php
|
399 |
-
_e( 'Categories', 'final-tiles-gallery' );
|
400 |
?>:</strong>
|
401 |
<span>
|
402 |
<?php
|
@@ -442,9 +442,9 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
442 |
?>">
|
443 |
<div class="collapsible-header">
|
444 |
<i class="<?php
|
445 |
-
|
446 |
?> light-green darken-1 white-text ftg-section-icon"></i> <?php
|
447 |
-
_e( $section );
|
448 |
?>
|
449 |
</div>
|
450 |
<div class="collapsible-body tab form-fields">
|
@@ -461,7 +461,7 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
461 |
?>
|
462 |
<select class="browser-default jump">
|
463 |
<option><?php
|
464 |
-
_e( 'Jump to setting', 'final-tiles-gallery' );
|
465 |
?></option>
|
466 |
<?php
|
467 |
foreach ( $jumpFields as $f => $data ) {
|
@@ -471,10 +471,10 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
471 |
if ( is_array( $data["excludeFrom"] ) && !in_array( $ftg_parent_page, $data["excludeFrom"] ) ) {
|
472 |
?>
|
473 |
<option value="<?php
|
474 |
-
_e( $data['_code'] );
|
475 |
?>">
|
476 |
<?php
|
477 |
-
_e( $data["name"] );
|
478 |
?>
|
479 |
</option>
|
480 |
<?php
|
@@ -526,7 +526,7 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
526 |
?>">
|
527 |
<th scope="row">
|
528 |
<label><?php
|
529 |
-
_e( $data["name"] );
|
530 |
?>
|
531 |
<?php
|
532 |
|
@@ -547,7 +547,7 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
547 |
<a data-field="<?php
|
548 |
echo $f ;
|
549 |
?>" data-tooltip="<?php
|
550 |
-
_e( 'Show help', 'final-tiles-gallery' );
|
551 |
?>" class="field-help" href="#"><i class="fa fa-question"></i></a>
|
552 |
<?php
|
553 |
}
|
@@ -578,7 +578,7 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
578 |
echo ftg_fs()->get_upgrade_url() ;
|
579 |
?>"><i class="mdi mdi-bell-ring-outline"></i>
|
580 |
<?php
|
581 |
-
_e( 'Unlock this feature. Upgrade Now!', 'final-tiles-gallery' );
|
582 |
?>
|
583 |
</a>
|
584 |
</div>
|
@@ -610,7 +610,7 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
610 |
?> value="<?php
|
611 |
print $v[0];
|
612 |
?>"><?php
|
613 |
-
|
614 |
echo ftg_printFieldPro( $v ) ;
|
615 |
?></option>
|
616 |
<?php
|
@@ -631,13 +631,19 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
631 |
if ( class_exists( 'Everlightbox_Public' ) ) {
|
632 |
?>
|
633 |
<div class="card-panel light-green lighten-4">
|
634 |
-
<a href="?page=everlightbox_options" target="_blank"
|
|
|
|
|
635 |
</div>
|
636 |
<?php
|
637 |
} else {
|
638 |
?>
|
639 |
<div class="card-panel yellow lighten-3">
|
640 |
-
|
|
|
|
|
|
|
|
|
641 |
</div>
|
642 |
<?php
|
643 |
}
|
@@ -727,8 +733,12 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
727 |
|
728 |
<div class="filters gallery-filters dynamic-table">
|
729 |
<div class="text"></div>
|
730 |
-
<a href="#" class="add button"
|
731 |
-
|
|
|
|
|
|
|
|
|
732 |
<input type="hidden" name="ftg_filters" value="<?php
|
733 |
ftg_p( $gallery, "filters" );
|
734 |
?>" />
|
@@ -756,10 +766,10 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
756 |
<tr>
|
757 |
<th></th>
|
758 |
<th><?php
|
759 |
-
_e( 'Resolution', 'final-tiles-gallery' );
|
760 |
?> (px)</th>
|
761 |
<th><?php
|
762 |
-
_e( 'Size factor', 'final-tiles-gallery' );
|
763 |
?> (%)</th>
|
764 |
</tr>
|
765 |
</thead>
|
@@ -771,7 +781,7 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
771 |
?>" />
|
772 |
<a href="#" class="add button">
|
773 |
<?php
|
774 |
-
_e( 'Add resolution', 'final-tiles-gallery' );
|
775 |
?></a>
|
776 |
</div>
|
777 |
<?php
|
@@ -786,7 +796,7 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
786 |
if ( strlen( $data["description"] ) ) {
|
787 |
?>
|
788 |
<p><?php
|
789 |
-
|
790 |
?></p>
|
791 |
<?php
|
792 |
}
|
@@ -803,7 +813,9 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
803 |
<span id="shortcode-<?php
|
804 |
print $f;
|
805 |
?>">
|
806 |
-
|
|
|
|
|
807 |
<input type="text" class="shortcode-val" readonly="" value='<?php
|
808 |
_e( FinalTilesGalleryUtils::fieldNameToShortcode( $f ) );
|
809 |
?>="<?php
|
@@ -843,21 +855,21 @@ foreach ( $ftg_fields as $section => $s ) {
|
|
843 |
<div class="col s3">
|
844 |
<?php
|
845 |
|
846 |
-
if ( ftg_fs()->is_not_paying()
|
847 |
?>
|
848 |
<ul class="collapsible gallery-actions">
|
849 |
<li class="active">
|
850 |
<div class="collapsible-header"><?php
|
851 |
-
_e( 'Upgrade', 'final-tiles-gallery' );
|
852 |
?>: <?php
|
853 |
-
_e( 'unlock features', 'final-tiles-gallery' );
|
854 |
?></div>
|
855 |
<div class="collapsible-body">
|
856 |
<div class="ftg-upsell">
|
857 |
<a href="<?php
|
858 |
echo ftg_fs()->get_upgrade_url() ;
|
859 |
?>"><i class="fa fa-hand-o-right"></i> <?php
|
860 |
-
_e( 'Upgrade', 'final-tiles-gallery' );
|
861 |
?></a>
|
862 |
</div>
|
863 |
<p>or save 30% purchasing the <strong>BUNDLE</strong>:</p>
|
@@ -865,12 +877,12 @@ if ( ftg_fs()->is_not_paying() || defined( "FTG_DEBUG" ) ) {
|
|
865 |
<a target="_blank" href="https://www.final-tiles-gallery.com/wordpress/bundle">
|
866 |
<i class="fa fa-star"></i>
|
867 |
Bundle: 30% <?php
|
868 |
-
_e( 'discount', 'final-tiles-gallery' );
|
869 |
?></a>
|
870 |
</div>
|
871 |
<p class="upsell-info">
|
872 |
<?php
|
873 |
-
_e( 'GET 3 plugins', 'final-tiles-gallery' );
|
874 |
?>: Final Tiles Gallery Ultimate + EverlightBox + PostSnippet
|
875 |
</p>
|
876 |
</div>
|
@@ -883,7 +895,7 @@ if ( ftg_fs()->is_not_paying() || defined( "FTG_DEBUG" ) ) {
|
|
883 |
<ul class="collapsible gallery-actions">
|
884 |
<li class="active">
|
885 |
<div class="collapsible-header"><?php
|
886 |
-
_e( 'Publish', 'final-tiles-gallery' );
|
887 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
888 |
<div class="collapsible-body">
|
889 |
<div><input readonly="" type="text" value="[FinalTilesGallery id='<?php
|
@@ -891,61 +903,61 @@ print $gid;
|
|
891 |
?>']"></div>
|
892 |
<div>
|
893 |
<button data-update-gallery class="button components-button is-primary"><?php
|
894 |
-
_e( 'Save gallery', 'final-tiles-gallery' );
|
895 |
?></button>
|
896 |
</div>
|
897 |
</div>
|
898 |
</li>
|
899 |
<li>
|
900 |
<div class="collapsible-header"><?php
|
901 |
-
_e( 'Import settings', 'final-tiles-gallery' );
|
902 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
903 |
<div class="collapsible-body">
|
904 |
<p><?php
|
905 |
-
_e( 'Paste Here the configuration code', 'final-tiles-gallery' );
|
906 |
?></p>
|
907 |
<div><textarea data-import-text></textarea></div>
|
908 |
<button data-ftg-import class="button"><i class="fa fa-upload"></i> <?php
|
909 |
-
_e( 'Import', 'final-tiles-gallery' );
|
910 |
?></button>
|
911 |
</div>
|
912 |
</li>
|
913 |
<li>
|
914 |
<div class="collapsible-header"><?php
|
915 |
-
_e( 'Export settings', 'final-tiles-gallery' );
|
916 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
917 |
<div class="collapsible-body">
|
918 |
<p><?php
|
919 |
-
_e( 'Settings', 'final-tiles-gallery' );
|
920 |
?></p>
|
921 |
<div><textarea readonly id="ftg-export-code"></textarea></div>
|
922 |
<button id="ftg-export" class="button"><i class="fa fa-download"></i> <?php
|
923 |
-
_e( 'Refresh code', 'final-tiles-gallery' );
|
924 |
?></button>
|
925 |
</div>
|
926 |
</li>
|
927 |
<li>
|
928 |
<div class="collapsible-header"><?php
|
929 |
-
_e( 'Help', 'final-tiles-gallery' );
|
930 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
931 |
<div class="collapsible-body">
|
932 |
<ul class="collection">
|
933 |
<li class="collection-item">
|
934 |
<i class="fa fa-chevron-right"></i>
|
935 |
<a href="http://issuu.com/greentreelabs/docs/finaltilesgridgallery-documentation?e=17859916/13243836" target="_blank"><?php
|
936 |
-
_e( 'Documentation', 'final-tiles-gallery' );
|
937 |
?></a></li>
|
938 |
<li class="collection-item">
|
939 |
<i class="fa fa-chevron-right"></i>
|
940 |
<a target="_blank" href="https://www.youtube.com/watch?v=RNT4JGjtyrs">
|
941 |
<?php
|
942 |
-
_e( 'Tutorial', 'final-tiles-gallery' );
|
943 |
?></a>
|
944 |
</li>
|
945 |
<li class="collection-item">
|
946 |
<i class="fa fa-chevron-right"></i>
|
947 |
<a href="http://www.wpbeginner.com/wp-tutorials/how-to-create-additional-image-sizes-in-wordpress/" target="_blank"><?php
|
948 |
-
_e( 'How to add additional image sizes', 'final-tiles-gallery' );
|
949 |
?></a>
|
950 |
</li>
|
951 |
</ul>
|
@@ -955,27 +967,27 @@ _e( 'How to add additional image sizes', 'final-tiles-gallery' );
|
|
955 |
<ul class="collapsible gallery-actions">
|
956 |
<li>
|
957 |
<div class="collapsible-header"><?php
|
958 |
-
_e( 'FAQ', 'final-tiles-gallery' );
|
959 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
960 |
<div class="collapsible-body">
|
961 |
<ul class="collapsible gallery-actions">
|
962 |
<li>
|
963 |
<div class="collapsible-header"><?php
|
964 |
-
_e( 'How to add a link to a picture?', 'final-tiles-gallery' );
|
965 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
966 |
<div class="collapsible-body">
|
967 |
<p><?php
|
968 |
-
_e( 'Click the edit (pencil) icon on the image and insert the link inside the "Link" field', 'final-tiles-gallery' );
|
969 |
?></p>
|
970 |
</div>
|
971 |
</li>
|
972 |
<li>
|
973 |
<div class="collapsible-header"><?php
|
974 |
-
_e( 'Why my images look blurry?', 'final-tiles-gallery' );
|
975 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
976 |
<div class="collapsible-body">
|
977 |
<p><?php
|
978 |
-
_e( 'You probably have chosen a small image size. Click the edit (pencil) icon on the blurry image and choose a larger size. Remember, you can choose the size before adding the images to the gallery', 'final-tiles-gallery' );
|
979 |
?></p>
|
980 |
</div>
|
981 |
</li>
|
@@ -992,18 +1004,18 @@ _e( 'You probably have chosen a small image size. Click the edit (pencil) icon o
|
|
992 |
<div id="video-panel-model" class="modal">
|
993 |
<div class="modal-content">
|
994 |
<p><?php
|
995 |
-
_e( 'Paste here the embed code (it must be an ', 'final-tiles-gallery' );
|
996 |
?><strong><?php
|
997 |
-
_e( 'iframe', 'final-tiles-gallery' );
|
998 |
?></strong>
|
999 |
<?php
|
1000 |
-
_e( 'and it must contain the attributes', 'final-tiles-gallery' );
|
1001 |
?> <strong><?php
|
1002 |
-
_e( 'width', 'final-tiles-gallery' );
|
1003 |
?></strong> <?php
|
1004 |
-
_e( 'and', 'final-tiles-gallery' );
|
1005 |
?><strong><?php
|
1006 |
-
_e( ' height', 'final-tiles-gallery' );
|
1007 |
?></strong>)</p>
|
1008 |
<div class="text dark">
|
1009 |
<textarea></textarea>
|
@@ -1016,10 +1028,10 @@ print $gallery->filters;
|
|
1016 |
<input type="hidden" id="video-panel-action" >
|
1017 |
<div class="field buttons modal-footer">
|
1018 |
<a href="#" data-action="edit" class="action positive save modal-action modal-close waves-effect waves-green btn-flat"><?php
|
1019 |
-
_e( 'Save', 'final-tiles-gallery' );
|
1020 |
?></a>
|
1021 |
<a href="#" data-action="cancel" class="action neutral modal-action modal-close waves-effect waves-yellow btn-flat"><?php
|
1022 |
-
_e( 'Cancel', 'final-tiles-gallery' );
|
1023 |
?></a>
|
1024 |
</div>
|
1025 |
</div>
|
@@ -1029,7 +1041,7 @@ _e( 'Cancel', 'final-tiles-gallery' );
|
|
1029 |
<div id="image-panel-model" class="modal">
|
1030 |
<div class="modal-content cf">
|
1031 |
<h4><?php
|
1032 |
-
_e( 'Edit image', 'final-tiles-gallery' );
|
1033 |
?></h4>
|
1034 |
<div class="left">
|
1035 |
<div class="figure"></div>
|
@@ -1038,7 +1050,7 @@ _e( 'Edit image', 'final-tiles-gallery' );
|
|
1038 |
<div class="right-side">
|
1039 |
<div class="field">
|
1040 |
<label><?php
|
1041 |
-
_e( 'Title', 'final-tiles-gallery' );
|
1042 |
?></label>
|
1043 |
<div class="text">
|
1044 |
<textarea name="imageTitle"></textarea>
|
@@ -1046,7 +1058,7 @@ _e( 'Title', 'final-tiles-gallery' );
|
|
1046 |
</div>
|
1047 |
<div class="field">
|
1048 |
<label><?php
|
1049 |
-
_e( 'Caption', 'final-tiles-gallery' );
|
1050 |
?></label>
|
1051 |
<div class="text">
|
1052 |
<textarea name="description"></textarea>
|
@@ -1056,13 +1068,13 @@ _e( 'Caption', 'final-tiles-gallery' );
|
|
1056 |
<input class="browser-default" id="hidden-image" type="checkbox" name="hidden" value="T" />
|
1057 |
<label for="hidden-image">
|
1058 |
<?php
|
1059 |
-
_e( 'Hidden, visible only with lightbox', 'final-tiles-gallery' );
|
1060 |
?>
|
1061 |
</label>
|
1062 |
</div>
|
1063 |
<div class="field js-no-hidden">
|
1064 |
<label><?php
|
1065 |
-
_e( 'Link', 'final-tiles-gallery' );
|
1066 |
?></label>
|
1067 |
<div class="text dark">
|
1068 |
<input type="text" size="20" value="" name="link" />
|
@@ -1070,21 +1082,21 @@ _e( 'Link', 'final-tiles-gallery' );
|
|
1070 |
</div>
|
1071 |
<div class="field js-no-hidden">
|
1072 |
<label><?php
|
1073 |
-
_e( 'Link target', 'final-tiles-gallery' );
|
1074 |
?></label>
|
1075 |
<div class="text">
|
1076 |
<select name="target" class="browser-default">
|
1077 |
<option value="default"><?php
|
1078 |
-
_e( 'Default target', 'final-tiles-gallery' );
|
1079 |
?></option>
|
1080 |
<option value="_self"><?php
|
1081 |
-
_e( 'Open in same page', 'final-tiles-gallery' );
|
1082 |
?></option>
|
1083 |
<option value="_blank"><?php
|
1084 |
-
_e( 'Open in _blank', 'final-tiles-gallery' );
|
1085 |
?></option>
|
1086 |
<option value="_lightbox"><?php
|
1087 |
-
_e( 'Open in lightbox (when using a lightbox)', 'final-tiles-gallery' );
|
1088 |
?></option>
|
1089 |
</select>
|
1090 |
</div>
|
@@ -1095,10 +1107,10 @@ _e( 'Open in lightbox (when using a lightbox)', 'final-tiles-gallery' );
|
|
1095 |
</div>
|
1096 |
<div class="field buttons modal-footer">
|
1097 |
<a href="#" data-action="cancel" class="modal-close action button"><i class="mdi-content-reply"></i> <?php
|
1098 |
-
_e( 'Cancel', 'final-tiles-gallery' );
|
1099 |
?></a>
|
1100 |
<a href="#" data-action="save" class="modal-close button components-button is-primary"><i class="fa fa-save"></i> <?php
|
1101 |
-
_e( 'Save', 'final-tiles-gallery' );
|
1102 |
?></a>
|
1103 |
</div>
|
1104 |
</div>
|
100 |
<li id="images" class="active">
|
101 |
<div class="collapsible-header">
|
102 |
<i class="fa fa-picture-o light-green darken-1 white-text ftg-section-icon"></i> <?php
|
103 |
+
_e( 'Images', 'final-tiles-grid-gallery-lite' );
|
104 |
?>
|
105 |
</div>
|
106 |
<div class="collapsible-body" style="display:block">
|
110 |
<option <?php
|
111 |
ftg_sel( $gallery, "source", "images" );
|
112 |
?> value="images"><?php
|
113 |
+
_e( 'User images', 'final-tiles-grid-gallery-lite' );
|
114 |
?></option>
|
115 |
<option <?php
|
116 |
ftg_sel( $gallery, "source", "posts" );
|
117 |
?> value="posts" <?php
|
118 |
echo ftg_checkDisabledOption( 'ultimate' ) ;
|
119 |
?>><?php
|
120 |
+
_e( 'Recent posts with featured image', 'final-tiles-grid-gallery-lite' );
|
121 |
echo ftg_printPro( 'ultimate' ) ;
|
122 |
?></option>
|
123 |
<?php
|
129 |
?> value="woocommerce" <?php
|
130 |
echo ftg_checkDisabledOption( 'ultimate' ) ;
|
131 |
?>><?php
|
132 |
+
_e( 'WooCommerce products', 'final-tiles-grid-gallery-lite' );
|
133 |
echo ftg_printPro( 'ultimate' ) ;
|
134 |
?></option>
|
135 |
<?php
|
147 |
|
148 |
<a href="#" class="open-media-panel button">
|
149 |
<?php
|
150 |
+
_e( 'Add images', 'final-tiles-grid-gallery-lite' );
|
151 |
?>
|
152 |
</a>
|
153 |
<?php
|
154 |
?>
|
155 |
<a onclick="alert('Upgrade to unlock')" href="#" class=" button"><?php
|
156 |
+
_e( 'Add video', 'final-tiles-grid-gallery-lite' );
|
157 |
?></a>
|
158 |
<?php
|
159 |
?>
|
160 |
<a class="button button-delete" data-remove-images href="#!"><?php
|
161 |
+
_e( 'Remove selected', 'final-tiles-grid-gallery-lite' );
|
162 |
?></a>
|
163 |
</div>
|
164 |
<div class="row selection-row">
|
165 |
<div class="bulk options">
|
166 |
<span>
|
167 |
<a class="button" href="#" data-action="select"><?php
|
168 |
+
_e( 'Select all', 'final-tiles-grid-gallery-lite' );
|
169 |
?></a>
|
170 |
<a class="button" href="#" data-action="deselect"><?php
|
171 |
+
_e( 'Deselect all', 'final-tiles-grid-gallery-lite' );
|
172 |
?></a>
|
173 |
<a class="button" href="#" data-action="toggle"><?php
|
174 |
+
_e( 'Toggle selection', 'final-tiles-grid-gallery-lite' );
|
175 |
?></a>
|
176 |
</span>
|
177 |
<span>
|
182 |
</span>
|
183 |
<span>
|
184 |
<a class="button" href="#" data-action="show-hide"><?php
|
185 |
+
_e( 'Toggle visibility', 'final-tiles-grid-gallery-lite' );
|
186 |
?></a>
|
187 |
</span>
|
188 |
</div>
|
193 |
?>
|
194 |
<div class="row filter-list">
|
195 |
<b> <?php
|
196 |
+
_e( 'Select by filter:', 'final-tiles-grid-gallery-lite' );
|
197 |
?> </b>
|
198 |
<span class="filter-select-control">
|
199 |
<?php
|
217 |
<div class="actions">
|
218 |
<div class="row">
|
219 |
<?php
|
220 |
+
_e( 'Add links by clicking the EDIT (pencil) button', 'final-tiles-grid-gallery-lite' );
|
221 |
?><br>
|
222 |
<?php
|
223 |
+
_e( 'Drag the images to change their order.', 'final-tiles-grid-gallery-lite' );
|
224 |
?>
|
225 |
</div>
|
226 |
</div>
|
266 |
</div>
|
267 |
<div class="row checkboxes">
|
268 |
<strong class="label"><?php
|
269 |
+
_e( 'Post type:', 'final-tiles-grid-gallery-lite' );
|
270 |
?></strong>
|
271 |
<span>
|
272 |
<?php
|
377 |
?>" />
|
378 |
<div class="row checkboxes">
|
379 |
<strong class="label"><?php
|
380 |
+
_e( 'Max posts:', 'final-tiles-grid-gallery-lite' );
|
381 |
?></strong>
|
382 |
<span class="aside">
|
383 |
<input type="text" name="ftg_max_posts" value="<?php
|
384 |
echo $gallery->max_posts ;
|
385 |
?>">
|
386 |
<span><?php
|
387 |
+
_e( '(enter 0 for unlimited posts)', 'final-tiles-grid-gallery-lite' );
|
388 |
?></span>
|
389 |
</span>
|
390 |
</div>
|
396 |
<div class="actions source-woocommerce source-panel">
|
397 |
<div class="row checkboxes">
|
398 |
<strong class="label"><?php
|
399 |
+
_e( 'Categories', 'final-tiles-grid-gallery-lite' );
|
400 |
?>:</strong>
|
401 |
<span>
|
402 |
<?php
|
442 |
?>">
|
443 |
<div class="collapsible-header">
|
444 |
<i class="<?php
|
445 |
+
echo $s["icon"] ;
|
446 |
?> light-green darken-1 white-text ftg-section-icon"></i> <?php
|
447 |
+
_e( $section, 'final-tiles-grid-gallery-lite' );
|
448 |
?>
|
449 |
</div>
|
450 |
<div class="collapsible-body tab form-fields">
|
461 |
?>
|
462 |
<select class="browser-default jump">
|
463 |
<option><?php
|
464 |
+
_e( 'Jump to setting', 'final-tiles-grid-gallery-lite' );
|
465 |
?></option>
|
466 |
<?php
|
467 |
foreach ( $jumpFields as $f => $data ) {
|
471 |
if ( is_array( $data["excludeFrom"] ) && !in_array( $ftg_parent_page, $data["excludeFrom"] ) ) {
|
472 |
?>
|
473 |
<option value="<?php
|
474 |
+
_e( $data['_code'], 'final-tiles-grid-gallery-lite' );
|
475 |
?>">
|
476 |
<?php
|
477 |
+
_e( $data["name"], 'final-tiles-grid-gallery-lite' );
|
478 |
?>
|
479 |
</option>
|
480 |
<?php
|
526 |
?>">
|
527 |
<th scope="row">
|
528 |
<label><?php
|
529 |
+
_e( $data["name"], 'final-tiles-grid-gallery-lite' );
|
530 |
?>
|
531 |
<?php
|
532 |
|
547 |
<a data-field="<?php
|
548 |
echo $f ;
|
549 |
?>" data-tooltip="<?php
|
550 |
+
_e( 'Show help', 'final-tiles-grid-gallery-lite' );
|
551 |
?>" class="field-help" href="#"><i class="fa fa-question"></i></a>
|
552 |
<?php
|
553 |
}
|
578 |
echo ftg_fs()->get_upgrade_url() ;
|
579 |
?>"><i class="mdi mdi-bell-ring-outline"></i>
|
580 |
<?php
|
581 |
+
_e( 'Unlock this feature. Upgrade Now!', 'final-tiles-grid-gallery-lite' );
|
582 |
?>
|
583 |
</a>
|
584 |
</div>
|
610 |
?> value="<?php
|
611 |
print $v[0];
|
612 |
?>"><?php
|
613 |
+
_e( $v[1], 'final-tiles-grid-gallery-lite' );
|
614 |
echo ftg_printFieldPro( $v ) ;
|
615 |
?></option>
|
616 |
<?php
|
631 |
if ( class_exists( 'Everlightbox_Public' ) ) {
|
632 |
?>
|
633 |
<div class="card-panel light-green lighten-4">
|
634 |
+
<a href="?page=everlightbox_options" target="_blank"><?php
|
635 |
+
_e( 'EverlightBox settings', 'final-tiles-grid-gallery-lite' );
|
636 |
+
?></a>
|
637 |
</div>
|
638 |
<?php
|
639 |
} else {
|
640 |
?>
|
641 |
<div class="card-panel yellow lighten-3">
|
642 |
+
<?php
|
643 |
+
_e( 'EverlightBox not installed', 'final-tiles-grid-gallery-lite' );
|
644 |
+
?>. <a target="_blank" class="open-checkout" href="https://checkout.freemius.com/mode/dialog/plugin/1981/plan/2954/"><?php
|
645 |
+
_e( 'Purchase', 'final-tiles-grid-gallery-lite' );
|
646 |
+
?></a>
|
647 |
</div>
|
648 |
<?php
|
649 |
}
|
733 |
|
734 |
<div class="filters gallery-filters dynamic-table">
|
735 |
<div class="text"></div>
|
736 |
+
<a href="#" class="add button"><?php
|
737 |
+
_e( 'Add filter', 'final-tiles-grid-gallery-lite' );
|
738 |
+
?></a>
|
739 |
+
<a href="#" class="reset-default-filter button"><?php
|
740 |
+
_e( 'Reset selected filter', 'final-tiles-grid-gallery-lite' );
|
741 |
+
?></a>
|
742 |
<input type="hidden" name="ftg_filters" value="<?php
|
743 |
ftg_p( $gallery, "filters" );
|
744 |
?>" />
|
766 |
<tr>
|
767 |
<th></th>
|
768 |
<th><?php
|
769 |
+
_e( 'Resolution', 'final-tiles-grid-gallery-lite' );
|
770 |
?> (px)</th>
|
771 |
<th><?php
|
772 |
+
_e( 'Size factor', 'final-tiles-grid-gallery-lite' );
|
773 |
?> (%)</th>
|
774 |
</tr>
|
775 |
</thead>
|
781 |
?>" />
|
782 |
<a href="#" class="add button">
|
783 |
<?php
|
784 |
+
_e( 'Add resolution', 'final-tiles-grid-gallery-lite' );
|
785 |
?></a>
|
786 |
</div>
|
787 |
<?php
|
796 |
if ( strlen( $data["description"] ) ) {
|
797 |
?>
|
798 |
<p><?php
|
799 |
+
echo $data["description"] ;
|
800 |
?></p>
|
801 |
<?php
|
802 |
}
|
813 |
<span id="shortcode-<?php
|
814 |
print $f;
|
815 |
?>">
|
816 |
+
<?php
|
817 |
+
_e( 'Shortcode attribute', 'final-tiles-grid-gallery-lite' );
|
818 |
+
?>:
|
819 |
<input type="text" class="shortcode-val" readonly="" value='<?php
|
820 |
_e( FinalTilesGalleryUtils::fieldNameToShortcode( $f ) );
|
821 |
?>="<?php
|
855 |
<div class="col s3">
|
856 |
<?php
|
857 |
|
858 |
+
if ( ftg_fs()->is_not_paying() ) {
|
859 |
?>
|
860 |
<ul class="collapsible gallery-actions">
|
861 |
<li class="active">
|
862 |
<div class="collapsible-header"><?php
|
863 |
+
_e( 'Upgrade', 'final-tiles-grid-gallery-lite' );
|
864 |
?>: <?php
|
865 |
+
_e( 'unlock features', 'final-tiles-grid-gallery-lite' );
|
866 |
?></div>
|
867 |
<div class="collapsible-body">
|
868 |
<div class="ftg-upsell">
|
869 |
<a href="<?php
|
870 |
echo ftg_fs()->get_upgrade_url() ;
|
871 |
?>"><i class="fa fa-hand-o-right"></i> <?php
|
872 |
+
_e( 'Upgrade', 'final-tiles-grid-gallery-lite' );
|
873 |
?></a>
|
874 |
</div>
|
875 |
<p>or save 30% purchasing the <strong>BUNDLE</strong>:</p>
|
877 |
<a target="_blank" href="https://www.final-tiles-gallery.com/wordpress/bundle">
|
878 |
<i class="fa fa-star"></i>
|
879 |
Bundle: 30% <?php
|
880 |
+
_e( 'discount', 'final-tiles-grid-gallery-lite' );
|
881 |
?></a>
|
882 |
</div>
|
883 |
<p class="upsell-info">
|
884 |
<?php
|
885 |
+
_e( 'GET 3 plugins', 'final-tiles-grid-gallery-lite' );
|
886 |
?>: Final Tiles Gallery Ultimate + EverlightBox + PostSnippet
|
887 |
</p>
|
888 |
</div>
|
895 |
<ul class="collapsible gallery-actions">
|
896 |
<li class="active">
|
897 |
<div class="collapsible-header"><?php
|
898 |
+
_e( 'Publish', 'final-tiles-grid-gallery-lite' );
|
899 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
900 |
<div class="collapsible-body">
|
901 |
<div><input readonly="" type="text" value="[FinalTilesGallery id='<?php
|
903 |
?>']"></div>
|
904 |
<div>
|
905 |
<button data-update-gallery class="button components-button is-primary"><?php
|
906 |
+
_e( 'Save gallery', 'final-tiles-grid-gallery-lite' );
|
907 |
?></button>
|
908 |
</div>
|
909 |
</div>
|
910 |
</li>
|
911 |
<li>
|
912 |
<div class="collapsible-header"><?php
|
913 |
+
_e( 'Import settings', 'final-tiles-grid-gallery-lite' );
|
914 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
915 |
<div class="collapsible-body">
|
916 |
<p><?php
|
917 |
+
_e( 'Paste Here the configuration code', 'final-tiles-grid-gallery-lite' );
|
918 |
?></p>
|
919 |
<div><textarea data-import-text></textarea></div>
|
920 |
<button data-ftg-import class="button"><i class="fa fa-upload"></i> <?php
|
921 |
+
_e( 'Import', 'final-tiles-grid-gallery-lite' );
|
922 |
?></button>
|
923 |
</div>
|
924 |
</li>
|
925 |
<li>
|
926 |
<div class="collapsible-header"><?php
|
927 |
+
_e( 'Export settings', 'final-tiles-grid-gallery-lite' );
|
928 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
929 |
<div class="collapsible-body">
|
930 |
<p><?php
|
931 |
+
_e( 'Settings', 'final-tiles-grid-gallery-lite' );
|
932 |
?></p>
|
933 |
<div><textarea readonly id="ftg-export-code"></textarea></div>
|
934 |
<button id="ftg-export" class="button"><i class="fa fa-download"></i> <?php
|
935 |
+
_e( 'Refresh code', 'final-tiles-grid-gallery-lite' );
|
936 |
?></button>
|
937 |
</div>
|
938 |
</li>
|
939 |
<li>
|
940 |
<div class="collapsible-header"><?php
|
941 |
+
_e( 'Help', 'final-tiles-grid-gallery-lite' );
|
942 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
943 |
<div class="collapsible-body">
|
944 |
<ul class="collection">
|
945 |
<li class="collection-item">
|
946 |
<i class="fa fa-chevron-right"></i>
|
947 |
<a href="http://issuu.com/greentreelabs/docs/finaltilesgridgallery-documentation?e=17859916/13243836" target="_blank"><?php
|
948 |
+
_e( 'Documentation', 'final-tiles-grid-gallery-lite' );
|
949 |
?></a></li>
|
950 |
<li class="collection-item">
|
951 |
<i class="fa fa-chevron-right"></i>
|
952 |
<a target="_blank" href="https://www.youtube.com/watch?v=RNT4JGjtyrs">
|
953 |
<?php
|
954 |
+
_e( 'Tutorial', 'final-tiles-grid-gallery-lite' );
|
955 |
?></a>
|
956 |
</li>
|
957 |
<li class="collection-item">
|
958 |
<i class="fa fa-chevron-right"></i>
|
959 |
<a href="http://www.wpbeginner.com/wp-tutorials/how-to-create-additional-image-sizes-in-wordpress/" target="_blank"><?php
|
960 |
+
_e( 'How to add additional image sizes', 'final-tiles-grid-gallery-lite' );
|
961 |
?></a>
|
962 |
</li>
|
963 |
</ul>
|
967 |
<ul class="collapsible gallery-actions">
|
968 |
<li>
|
969 |
<div class="collapsible-header"><?php
|
970 |
+
_e( 'FAQ', 'final-tiles-grid-gallery-lite' );
|
971 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
972 |
<div class="collapsible-body">
|
973 |
<ul class="collapsible gallery-actions">
|
974 |
<li>
|
975 |
<div class="collapsible-header"><?php
|
976 |
+
_e( 'How to add a link to a picture?', 'final-tiles-grid-gallery-lite' );
|
977 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
978 |
<div class="collapsible-body">
|
979 |
<p><?php
|
980 |
+
_e( 'Click the edit (pencil) icon on the image and insert the link inside the "Link" field', 'final-tiles-grid-gallery-lite' );
|
981 |
?></p>
|
982 |
</div>
|
983 |
</li>
|
984 |
<li>
|
985 |
<div class="collapsible-header"><?php
|
986 |
+
_e( 'Why my images look blurry?', 'final-tiles-grid-gallery-lite' );
|
987 |
?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
|
988 |
<div class="collapsible-body">
|
989 |
<p><?php
|
990 |
+
_e( 'You probably have chosen a small image size. Click the edit (pencil) icon on the blurry image and choose a larger size. Remember, you can choose the size before adding the images to the gallery', 'final-tiles-grid-gallery-lite' );
|
991 |
?></p>
|
992 |
</div>
|
993 |
</li>
|
1004 |
<div id="video-panel-model" class="modal">
|
1005 |
<div class="modal-content">
|
1006 |
<p><?php
|
1007 |
+
_e( 'Paste here the embed code (it must be an ', 'final-tiles-grid-gallery-lite' );
|
1008 |
?><strong><?php
|
1009 |
+
_e( 'iframe', 'final-tiles-grid-gallery-lite' );
|
1010 |
?></strong>
|
1011 |
<?php
|
1012 |
+
_e( 'and it must contain the attributes', 'final-tiles-grid-gallery-lite' );
|
1013 |
?> <strong><?php
|
1014 |
+
_e( 'width', 'final-tiles-grid-gallery-lite' );
|
1015 |
?></strong> <?php
|
1016 |
+
_e( 'and', 'final-tiles-grid-gallery-lite' );
|
1017 |
?><strong><?php
|
1018 |
+
_e( ' height', 'final-tiles-grid-gallery-lite' );
|
1019 |
?></strong>)</p>
|
1020 |
<div class="text dark">
|
1021 |
<textarea></textarea>
|
1028 |
<input type="hidden" id="video-panel-action" >
|
1029 |
<div class="field buttons modal-footer">
|
1030 |
<a href="#" data-action="edit" class="action positive save modal-action modal-close waves-effect waves-green btn-flat"><?php
|
1031 |
+
_e( 'Save', 'final-tiles-grid-gallery-lite' );
|
1032 |
?></a>
|
1033 |
<a href="#" data-action="cancel" class="action neutral modal-action modal-close waves-effect waves-yellow btn-flat"><?php
|
1034 |
+
_e( 'Cancel', 'final-tiles-grid-gallery-lite' );
|
1035 |
?></a>
|
1036 |
</div>
|
1037 |
</div>
|
1041 |
<div id="image-panel-model" class="modal">
|
1042 |
<div class="modal-content cf">
|
1043 |
<h4><?php
|
1044 |
+
_e( 'Edit image', 'final-tiles-grid-gallery-lite' );
|
1045 |
?></h4>
|
1046 |
<div class="left">
|
1047 |
<div class="figure"></div>
|
1050 |
<div class="right-side">
|
1051 |
<div class="field">
|
1052 |
<label><?php
|
1053 |
+
_e( 'Title', 'final-tiles-grid-gallery-lite' );
|
1054 |
?></label>
|
1055 |
<div class="text">
|
1056 |
<textarea name="imageTitle"></textarea>
|
1058 |
</div>
|
1059 |
<div class="field">
|
1060 |
<label><?php
|
1061 |
+
_e( 'Caption', 'final-tiles-grid-gallery-lite' );
|
1062 |
?></label>
|
1063 |
<div class="text">
|
1064 |
<textarea name="description"></textarea>
|
1068 |
<input class="browser-default" id="hidden-image" type="checkbox" name="hidden" value="T" />
|
1069 |
<label for="hidden-image">
|
1070 |
<?php
|
1071 |
+
_e( 'Hidden, visible only with lightbox', 'final-tiles-grid-gallery-lite' );
|
1072 |
?>
|
1073 |
</label>
|
1074 |
</div>
|
1075 |
<div class="field js-no-hidden">
|
1076 |
<label><?php
|
1077 |
+
_e( 'Link', 'final-tiles-grid-gallery-lite' );
|
1078 |
?></label>
|
1079 |
<div class="text dark">
|
1080 |
<input type="text" size="20" value="" name="link" />
|
1082 |
</div>
|
1083 |
<div class="field js-no-hidden">
|
1084 |
<label><?php
|
1085 |
+
_e( 'Link target', 'final-tiles-grid-gallery-lite' );
|
1086 |
?></label>
|
1087 |
<div class="text">
|
1088 |
<select name="target" class="browser-default">
|
1089 |
<option value="default"><?php
|
1090 |
+
_e( 'Default target', 'final-tiles-grid-gallery-lite' );
|
1091 |
?></option>
|
1092 |
<option value="_self"><?php
|
1093 |
+
_e( 'Open in same page', 'final-tiles-grid-gallery-lite' );
|
1094 |
?></option>
|
1095 |
<option value="_blank"><?php
|
1096 |
+
_e( 'Open in _blank', 'final-tiles-grid-gallery-lite' );
|
1097 |
?></option>
|
1098 |
<option value="_lightbox"><?php
|
1099 |
+
_e( 'Open in lightbox (when using a lightbox)', 'final-tiles-grid-gallery-lite' );
|
1100 |
?></option>
|
1101 |
</select>
|
1102 |
</div>
|
1107 |
</div>
|
1108 |
<div class="field buttons modal-footer">
|
1109 |
<a href="#" data-action="cancel" class="modal-close action button"><i class="mdi-content-reply"></i> <?php
|
1110 |
+
_e( 'Cancel', 'final-tiles-grid-gallery-lite' );
|
1111 |
?></a>
|
1112 |
<a href="#" data-action="save" class="modal-close button components-button is-primary"><i class="fa fa-save"></i> <?php
|
1113 |
+
_e( 'Save', 'final-tiles-grid-gallery-lite' );
|
1114 |
?></a>
|
1115 |
</div>
|
1116 |
</div>
|
admin/include/fields.php
CHANGED
@@ -149,7 +149,7 @@ $this->fields = array(
|
|
149 |
),
|
150 |
);
|
151 |
$this->addField( "Advanced", "loadMethod", array(
|
152 |
-
"name" => "Loading method",
|
153 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
154 |
"type" => "select",
|
155 |
"values" => array(
|
@@ -160,43 +160,43 @@ $this->addField( "Advanced", "loadMethod", array(
|
|
160 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
161 |
) );
|
162 |
$this->addField( "Advanced", "ajaxLoading", array(
|
163 |
-
"name" => "
|
164 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
165 |
"type" => "select",
|
166 |
"values" => array(
|
167 |
"Loading method" => array( "F|Complete markup on page", "lazy|Enable ajax loading" ),
|
168 |
),
|
169 |
-
"description" => "Don't enable ajax loading if you need to index your images on search engines",
|
170 |
"proCall" => false,
|
171 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
172 |
) );
|
173 |
$this->addField( "Advanced", "tilesPerPage", array(
|
174 |
-
"name" => "Number of images to load via ajax",
|
175 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
176 |
"type" => "number",
|
177 |
"proCall" => false,
|
178 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
179 |
) );
|
180 |
$this->addField( "General", "name", array(
|
181 |
-
"name" => "Name",
|
182 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
183 |
"type" => "text",
|
184 |
-
"description" => "Name of the gallery, for internal use.",
|
185 |
"proCall" => false,
|
186 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
187 |
) );
|
188 |
$this->addField( "General", "description", array(
|
189 |
-
"name" => "Description",
|
190 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
191 |
"type" => "text",
|
192 |
-
"description" => "Description of the gallery, for internal use.",
|
193 |
"proCall" => false,
|
194 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
195 |
) );
|
196 |
$this->addField( "General", "layout", array(
|
197 |
-
"name" => "Layout",
|
198 |
"type" => "select",
|
199 |
-
"description" => "<strong>Final Tiles</strong>: use images with different sizes<br><strong>Masonry</strong>: multi-column layout, use this one if you need images of the same size.",
|
200 |
"values" => array(
|
201 |
"Layout" => array( "final|Final Tiles", "columns|Masonry" ),
|
202 |
),
|
@@ -204,16 +204,16 @@ $this->addField( "General", "layout", array(
|
|
204 |
"excludeFrom" => array(),
|
205 |
) );
|
206 |
$this->addField( "General", "width", array(
|
207 |
-
"name" => "Width",
|
208 |
"type" => "text",
|
209 |
-
"description" => "Width of the gallery in pixels or percentage.",
|
210 |
"proCall" => false,
|
211 |
"excludeFrom" => array(),
|
212 |
) );
|
213 |
$this->addField( "General", "margin", array(
|
214 |
-
"name" => "Margin",
|
215 |
"type" => "number",
|
216 |
-
"description" => "Margin between images",
|
217 |
"mu" => "px",
|
218 |
"min" => 0,
|
219 |
"max" => 50,
|
@@ -221,7 +221,7 @@ $this->addField( "General", "margin", array(
|
|
221 |
"excludeFrom" => array(),
|
222 |
) );
|
223 |
$this->addField( "General", "columns", array(
|
224 |
-
"name" => "Number of columns",
|
225 |
"type" => "number",
|
226 |
"description" => "",
|
227 |
"mu" => "",
|
@@ -231,9 +231,9 @@ $this->addField( "General", "columns", array(
|
|
231 |
"excludeFrom" => array(),
|
232 |
) );
|
233 |
$this->addField( "General", "imagesOrder", array(
|
234 |
-
"name" => "Images order",
|
235 |
"type" => "select",
|
236 |
-
"description" => "Choose the order of the images",
|
237 |
"default" => "",
|
238 |
"values" => array(
|
239 |
"Images order" => array( "user|User", "reverse|Reverse", "random|Random" ),
|
@@ -242,47 +242,47 @@ $this->addField( "General", "imagesOrder", array(
|
|
242 |
"excludeFrom" => array(),
|
243 |
) );
|
244 |
$this->addField( "General", "filter", array(
|
245 |
-
"name" => "Filters",
|
246 |
"type" => FinalTiles_Gallery::getFieldType( "filter" ),
|
247 |
-
"description" => "Manage here all the filters of this gallery",
|
248 |
"proCall" => true,
|
249 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
250 |
) );
|
251 |
if ( ftg_fs()->is_plan_or_trial( 'ultimate' ) ) {
|
252 |
$this->addField( "General", "filterClick", array(
|
253 |
-
"name" => "Reload Page on filter click",
|
254 |
"type" => "toggle",
|
255 |
-
"description" => "Turn this feature ON if you want to use filters with most lightboxes",
|
256 |
"proCall" => false,
|
257 |
"excludeFrom" => array(),
|
258 |
) );
|
259 |
}
|
260 |
$this->addField( "General", "gridCellSize", array(
|
261 |
-
"name" => "Size of the grid",
|
262 |
"type" => "number",
|
263 |
"default" => 25,
|
264 |
"min" => 1,
|
265 |
"max" => 100,
|
266 |
"mu" => "px",
|
267 |
-
"description" => "Tiles are snapped to a virtual grid, <strong>the higher this value the higher the chance to get bottom aligned tiles</strong> (but it needs to crop vertically).",
|
268 |
"proCall" => false,
|
269 |
"excludeFrom" => array(),
|
270 |
) );
|
271 |
$this->addField( "General", "gridCellSizeDisabledBelow", array(
|
272 |
-
"name" => "Disable grid size below resolution",
|
273 |
"type" => "number",
|
274 |
"default" => 800,
|
275 |
"min" => 0,
|
276 |
"max" => 4000,
|
277 |
"mu" => "px",
|
278 |
-
"description" => "If you have small tiny images under certain resolutions then you can switch off grid size (image cropping) when the screen resolution is below this value.",
|
279 |
"proCall" => false,
|
280 |
"excludeFrom" => array(),
|
281 |
) );
|
282 |
/*"scrollEffect" , array(
|
283 |
-
"name" => "Scroll effect",
|
284 |
"type" => "select",
|
285 |
-
"description" => "Effect on tiles when scrolling the page",
|
286 |
"values" => array(
|
287 |
"Scroll effect" => array(
|
288 |
"none|None", "slide|Sliding tiles", "zoom|Zoom", "rotate-left|Left rotation", "rotate-right|Right rotation"
|
@@ -294,7 +294,7 @@ $this->addField( "General", "gridCellSizeDisabledBelow", array(
|
|
294 |
$this->addField( "Links & Lightbox", "lightbox", array(
|
295 |
"name" => "Links & Lightbox",
|
296 |
"type" => "select",
|
297 |
-
"description" => "Define here what happens when user click on the images. Lightboxes with video support: EverlightBox, LightGallery, Magnific popup, Colorbox (require embed URL)); PrettyPhoto, FancyBox (require embed URL)",
|
298 |
"values" => array(
|
299 |
"Link" => array( " |No link", "direct|Direct link to image (useful for external lightboxes)|disabled", "post|Post or WooCommerce product|disabled" ),
|
300 |
"Lightboxes" => array(
|
@@ -314,7 +314,7 @@ $this->addField( "Links & Lightbox", "lightbox", array(
|
|
314 |
$this->addField( "Links & Lightbox", "mobileLightbox", array(
|
315 |
"name" => "Links & Lightbox (mobile)",
|
316 |
"type" => "select",
|
317 |
-
"description" => "Define here what happens when user click on the images. Lightboxes with video support: EverlightBox, LightGallery, Magnific popup, Colorbox (require embed URL)); PrettyPhoto, FancyBox (require embed URL)",
|
318 |
"values" => array(
|
319 |
"Link" => array( " |No link", "direct|Direct link to image (useful for external lightboxes)", "post|Post or WooCommerce product|disabled" ),
|
320 |
"Lightboxes" => array(
|
@@ -332,7 +332,7 @@ $this->addField( "Links & Lightbox", "mobileLightbox", array(
|
|
332 |
"excludeFrom" => array(),
|
333 |
) );
|
334 |
$this->addField( "Links & Lightbox", "lightboxImageSize", array(
|
335 |
-
"name" => "Image size for the lightbox",
|
336 |
"type" => "select",
|
337 |
"description" => "",
|
338 |
"values" => array(
|
@@ -342,64 +342,64 @@ $this->addField( "Links & Lightbox", "lightboxImageSize", array(
|
|
342 |
"excludeFrom" => array(),
|
343 |
) );
|
344 |
$this->addField( "Links & Lightbox", "disableLightboxGroups", array(
|
345 |
-
"name" => "Disable lightbox grouping",
|
346 |
"type" => "toggle",
|
347 |
-
"description" => "Flag this option if you don't want to group images when opened in a lightbox.",
|
348 |
"default" => "F",
|
349 |
"proCall" => false,
|
350 |
"excludeFrom" => array(),
|
351 |
) );
|
352 |
$this->addField( "Links & Lightbox", "blank", array(
|
353 |
-
"name" => "Links target",
|
354 |
"type" => "toggle",
|
355 |
-
"description" => "Open links in a blank page.",
|
356 |
"proCall" => false,
|
357 |
"excludeFrom" => array(),
|
358 |
) );
|
359 |
$this->addField( "Links & Lightbox", "enableTwitter", array(
|
360 |
-
"name" => "Enable Twitter icon",
|
361 |
"type" => "toggle",
|
362 |
-
"description" => "Enable Twitter sharing.",
|
363 |
"default" => "F",
|
364 |
"proCall" => false,
|
365 |
"excludeFrom" => array(),
|
366 |
) );
|
367 |
$this->addField( "Links & Lightbox", "enableFacebook", array(
|
368 |
-
"name" => "Enable Facebook icon",
|
369 |
"type" => "toggle",
|
370 |
-
"description" => "Enable Facebook sharing. Note: after the last version of OpenGraph API it's not possible to share a specific image anymore.",
|
371 |
"default" => "F",
|
372 |
"proCall" => false,
|
373 |
"excludeFrom" => array(),
|
374 |
) );
|
375 |
$this->addField( "Links & Lightbox", "enableGplus", array(
|
376 |
-
"name" => "Enable Google Plus icon",
|
377 |
"type" => "toggle",
|
378 |
-
"description" => "Enable Google Plus sharing",
|
379 |
"default" => "F",
|
380 |
"proCall" => false,
|
381 |
"excludeFrom" => array(),
|
382 |
) );
|
383 |
$this->addField( "Links & Lightbox", "enablePinterest", array(
|
384 |
-
"name" => "Enable Pinterest icon",
|
385 |
"type" => "toggle",
|
386 |
-
"description" => "Enable Pinterest sharing",
|
387 |
"default" => "F",
|
388 |
"proCall" => false,
|
389 |
"excludeFrom" => array(),
|
390 |
) );
|
391 |
$this->addField( "Links & Lightbox", "socialIconColor", array(
|
392 |
-
"name" => "Color of social sharing icons",
|
393 |
"type" => "color",
|
394 |
-
"description" => "Set the color of the social sharing icons",
|
395 |
"default" => "#ffffff",
|
396 |
"proCall" => false,
|
397 |
"excludeFrom" => array(),
|
398 |
) );
|
399 |
$this->addField( "Links & Lightbox", "socialIconStyle", array(
|
400 |
-
"name" => "Style of the social icons panel",
|
401 |
"type" => "select",
|
402 |
-
"description" => "Set the color of the social sharing icons",
|
403 |
"default" => "none",
|
404 |
"values" => array(
|
405 |
"Style" => array( "none|None", "circle|Circles", "bar|Bar" ),
|
@@ -408,9 +408,9 @@ $this->addField( "Links & Lightbox", "socialIconStyle", array(
|
|
408 |
"excludeFrom" => array(),
|
409 |
) );
|
410 |
$this->addField( "Links & Lightbox", "socialIconPosition", array(
|
411 |
-
"name" => "Position of the social icons panel",
|
412 |
"type" => "select",
|
413 |
-
"description" => "Set the position of the social sharing icons",
|
414 |
"default" => "bottom",
|
415 |
"values" => array(
|
416 |
"Position" => array( "bottom|Bottom", "right|Right" ),
|
@@ -419,9 +419,9 @@ $this->addField( "Links & Lightbox", "socialIconPosition", array(
|
|
419 |
"excludeFrom" => array(),
|
420 |
) );
|
421 |
$this->addField( "Captions", "captionBehavior", array(
|
422 |
-
"name" => "Caption behavior",
|
423 |
"type" => "select",
|
424 |
-
"description" => "Effect used to show the captions.",
|
425 |
"values" => array(
|
426 |
"Effect" => array(
|
427 |
"none|Fade in",
|
@@ -438,9 +438,9 @@ $this->addField( "Captions", "captionBehavior", array(
|
|
438 |
"excludeFrom" => array(),
|
439 |
) );
|
440 |
$this->addField( "Captions", "captionMobileBehavior", array(
|
441 |
-
"name" => "Caption mobile behavior",
|
442 |
"type" => "select",
|
443 |
-
"description" => "Caption behavior for mobile devices.",
|
444 |
"values" => array(
|
445 |
"Behavior" => array(
|
446 |
"desktop|Same as desktop",
|
@@ -454,9 +454,9 @@ $this->addField( "Captions", "captionMobileBehavior", array(
|
|
454 |
"excludeFrom" => array(),
|
455 |
) );
|
456 |
$this->addField( "Captions", "captionPosition", array(
|
457 |
-
"name" => "Position",
|
458 |
"type" => "select",
|
459 |
-
"description" => "Choose the position of the caption.",
|
460 |
"values" => array(
|
461 |
"Behavior" => array( "inside|Inside", "outside|Outside (EXPERIMENTAL)" ),
|
462 |
),
|
@@ -464,17 +464,17 @@ $this->addField( "Captions", "captionPosition", array(
|
|
464 |
"excludeFrom" => array(),
|
465 |
) );
|
466 |
/*"captionFullHeight" , array(
|
467 |
-
"name" => "Caption full height",
|
468 |
"type" => "toggle",
|
469 |
-
"description" => "Enable this option for full height captions. <strong>This is required if you want to use caption icons and caption effects other than <i>fade</i>.</strong>",
|
470 |
"default" => "T",
|
471 |
"proCall" => false,
|
472 |
"excludeFrom" => array()
|
473 |
));*/
|
474 |
$this->addField( "Captions", "captionEmpty", array(
|
475 |
-
"name" => "Empty captions",
|
476 |
"type" => "select",
|
477 |
-
"description" => "Choose if empty caption has to be shown.",
|
478 |
"values" => array(
|
479 |
"Empty captions" => array( "hide|Don't show empty captions", "show|Show empty captions|disabled" ),
|
480 |
),
|
@@ -482,9 +482,9 @@ $this->addField( "Captions", "captionEmpty", array(
|
|
482 |
"excludeFrom" => array(),
|
483 |
) );
|
484 |
$this->addField( "Captions", "captionIcon", array(
|
485 |
-
"name" => "Caption icon",
|
486 |
"type" => "select",
|
487 |
-
"description" => "Choose the icon for the captions.",
|
488 |
"values" => array(
|
489 |
"Icon" => array(
|
490 |
"|None",
|
@@ -507,24 +507,24 @@ $this->addField( "Captions", "captionIcon", array(
|
|
507 |
"excludeFrom" => array(),
|
508 |
) );
|
509 |
$this->addField( "Captions", "customCaptionIcon", array(
|
510 |
-
"name" => "Custom caption icon",
|
511 |
"type" => FinalTiles_Gallery::getFieldType( "customCaptionIcon" ),
|
512 |
-
"description" => "Use this field to insert the class of a FontAwesome icon (i.e.: fa-heart). <a href='https://fontawesome.com/v4.7.0/icons/' target='blank'>See all available icons</a>. <strong>This value override the <i>Caption icon</i> value</strong>.",
|
513 |
"proCall" => false,
|
514 |
"excludeFrom" => array(),
|
515 |
) );
|
516 |
$this->addField( "Captions", "captionIconColor", array(
|
517 |
-
"name" => "Caption icon color",
|
518 |
"type" => "color",
|
519 |
-
"description" => "Color of the icon in captions.",
|
520 |
"default" => "#ffffff",
|
521 |
"proCall" => false,
|
522 |
"excludeFrom" => array(),
|
523 |
) );
|
524 |
$this->addField( "Captions", "captionIconSize", array(
|
525 |
-
"name" => "Caption icon size",
|
526 |
"type" => "number",
|
527 |
-
"description" => "Size of the icon in captions.",
|
528 |
"default" => 12,
|
529 |
"min" => 10,
|
530 |
"max" => 96,
|
@@ -533,9 +533,9 @@ $this->addField( "Captions", "captionIconSize", array(
|
|
533 |
"excludeFrom" => array(),
|
534 |
) );
|
535 |
$this->addField( "Captions", "captionFontSize", array(
|
536 |
-
"name" => "Caption font size",
|
537 |
"type" => "number",
|
538 |
-
"description" => "Size of the font in captions.",
|
539 |
"default" => 12,
|
540 |
"min" => 10,
|
541 |
"max" => 96,
|
@@ -544,9 +544,9 @@ $this->addField( "Captions", "captionFontSize", array(
|
|
544 |
"excludeFrom" => array(),
|
545 |
) );
|
546 |
$this->addField( "Captions", "captionEasing", array(
|
547 |
-
"name" => "Caption effect easing",
|
548 |
"type" => "select",
|
549 |
-
"description" => "Easing function for the caption animation, works better with sliding animations.",
|
550 |
"values" => array(
|
551 |
"Easing" => array(
|
552 |
"ease|Ease",
|
@@ -560,33 +560,33 @@ $this->addField( "Captions", "captionEasing", array(
|
|
560 |
"excludeFrom" => array(),
|
561 |
) );
|
562 |
$this->addField( "Captions", "captionFrame", array(
|
563 |
-
"name" => "Caption frame",
|
564 |
"type" => "toggle",
|
565 |
-
"description" => "Add a frame around the caption",
|
566 |
"default" => "F",
|
567 |
"proCall" => false,
|
568 |
"excludeFrom" => array(),
|
569 |
) );
|
570 |
$this->addField( "Captions", "captionFrameColor", array(
|
571 |
-
"name" => "Caption frame color",
|
572 |
"type" => "color",
|
573 |
-
"description" => "Color of the frame around the caption",
|
574 |
"default" => "#ffffff",
|
575 |
"proCall" => false,
|
576 |
"excludeFrom" => array(),
|
577 |
) );
|
578 |
$this->addField( "Captions", "captionColor", array(
|
579 |
-
"name" => "Caption color",
|
580 |
"type" => "color",
|
581 |
-
"description" => "Text color of the captions.",
|
582 |
"default" => "#ffffff",
|
583 |
"proCall" => false,
|
584 |
"excludeFrom" => array(),
|
585 |
) );
|
586 |
$this->addField( "Captions", "captionEffectDuration", array(
|
587 |
-
"name" => "Caption effect duration",
|
588 |
"type" => "text",
|
589 |
-
"description" => "Duration of the caption animation.",
|
590 |
"default" => 250,
|
591 |
"mu" => "ms",
|
592 |
"min" => 0,
|
@@ -595,17 +595,17 @@ $this->addField( "Captions", "captionEffectDuration", array(
|
|
595 |
"excludeFrom" => array(),
|
596 |
) );
|
597 |
$this->addField( "Captions", "captionBackgroundColor", array(
|
598 |
-
"name" => "Caption background color",
|
599 |
"type" => "color",
|
600 |
-
"description" => "Caption background color",
|
601 |
"default" => "#000000",
|
602 |
"proCall" => false,
|
603 |
"excludeFrom" => array(),
|
604 |
) );
|
605 |
$this->addField( "Captions", "captionOpacity", array(
|
606 |
-
"name" => "Caption opacity",
|
607 |
"type" => "text",
|
608 |
-
"description" => "Opacity of the caption, 0% means 'invisible' while 100% is a plain color without opacity.",
|
609 |
"default" => 80,
|
610 |
"min" => 0,
|
611 |
"max" => 100,
|
@@ -614,9 +614,9 @@ $this->addField( "Captions", "captionOpacity", array(
|
|
614 |
"excludeFrom" => array(),
|
615 |
) );
|
616 |
$this->addField( "Captions", "wp_field_caption", array(
|
617 |
-
"name" => "WordPress caption field",
|
618 |
"type" => "select",
|
619 |
-
"description" => "WordPress field used for captions. <strong>This field is used ONLY when images are added to the gallery, </strong> however, if you want to ignore captions just set it to '<i>Don't use captions</i>'.",
|
620 |
"values" => array(
|
621 |
"Field" => array(
|
622 |
"none|Don't use captions",
|
@@ -629,9 +629,9 @@ $this->addField( "Captions", "wp_field_caption", array(
|
|
629 |
"excludeFrom" => array( "shortcode" ),
|
630 |
) );
|
631 |
$this->addField( "Captions", "wp_field_title", array(
|
632 |
-
"name" => "WordPress title field",
|
633 |
"type" => "select",
|
634 |
-
"description" => "WordPress field used for titles. <strong>This field is used ONLY when images are added to the gallery, </strong> however, if you want to ignore titles just set it to '<i>Don't use titles</i>'.",
|
635 |
"values" => array(
|
636 |
"Field" => array( "none|Don't use titles", "title|Title", "description|Description" ),
|
637 |
),
|
@@ -639,9 +639,9 @@ $this->addField( "Captions", "wp_field_title", array(
|
|
639 |
"excludeFrom" => array( "shortcode" ),
|
640 |
) );
|
641 |
$this->addField( "Captions", "recentPostsCaption", array(
|
642 |
-
"name" => "Recent posts caption",
|
643 |
"type" => "select",
|
644 |
-
"description" => "Field of the post used for captions when using \"Recent posts\" as source.",
|
645 |
"values" => array(
|
646 |
"Field" => array(
|
647 |
"none|Don't use captions",
|
@@ -657,15 +657,15 @@ $this->addField( "Captions", "recentPostsCaption", array(
|
|
657 |
$this->addField( "Captions", "recentPostsCaptionAutoExcerptLength", array(
|
658 |
"name" => "Max number of words for 'Auto excerpt'",
|
659 |
"type" => "text",
|
660 |
-
"description" => "Define the max number of words of the caption when <i>Recent posts caption</i> is set to <i>Auto excerpt</i>.",
|
661 |
"default" => "20",
|
662 |
"proCall" => false,
|
663 |
"excludeFrom" => array(),
|
664 |
) );
|
665 |
$this->addField( "Captions", "captionVerticalAlignment", array(
|
666 |
-
"name" => "Caption Vertical Alignment",
|
667 |
"type" => "select",
|
668 |
-
"description" => "Choose the vertical alignment of the caption",
|
669 |
"values" => array(
|
670 |
"Caption vertical alignment" => array( "top|Top", "middle|Middle", "bottom|Bottom" ),
|
671 |
),
|
@@ -673,9 +673,9 @@ $this->addField( "Captions", "captionVerticalAlignment", array(
|
|
673 |
"excludeFrom" => array(),
|
674 |
) );
|
675 |
$this->addField( "Captions", "captionHorizontalAlignment", array(
|
676 |
-
"name" => "Caption Horizontal Alignment",
|
677 |
"type" => "select",
|
678 |
-
"description" => "Choose the horizontal alignment of the caption",
|
679 |
"values" => array(
|
680 |
"Caption horizontal alignment" => array( "left|Left", "center|Center", "right|Right" ),
|
681 |
),
|
@@ -683,9 +683,9 @@ $this->addField( "Captions", "captionHorizontalAlignment", array(
|
|
683 |
"excludeFrom" => array(),
|
684 |
) );
|
685 |
$this->addField( "Captions", "titleFontSize", array(
|
686 |
-
"name" => "Title font size",
|
687 |
"type" => "number",
|
688 |
-
"description" => "Size of the font in captions.",
|
689 |
"min" => 10,
|
690 |
"max" => 96,
|
691 |
"mu" => "px",
|
@@ -693,9 +693,9 @@ $this->addField( "Captions", "titleFontSize", array(
|
|
693 |
"excludeFrom" => array(),
|
694 |
) );
|
695 |
$this->addField( "Hover effects", "hoverZoom", array(
|
696 |
-
"name" => "Zoom",
|
697 |
"type" => FinalTiles_gallery::getFieldType( "hoverZoom" ),
|
698 |
-
"description" => "Scale value.",
|
699 |
"default" => 100,
|
700 |
"min" => 0,
|
701 |
"max" => 600,
|
@@ -704,9 +704,9 @@ $this->addField( "Hover effects", "hoverZoom", array(
|
|
704 |
"excludeFrom" => array(),
|
705 |
) );
|
706 |
$this->addField( "Hover effects", "hoverRotation", array(
|
707 |
-
"name" => "Rotation",
|
708 |
"type" => FinalTiles_gallery::getFieldType( "hoverRotation" ),
|
709 |
-
"description" => "Rotation value in degrees.",
|
710 |
"min" => 0,
|
711 |
"max" => 360,
|
712 |
"mu" => "deg",
|
@@ -715,7 +715,7 @@ $this->addField( "Hover effects", "hoverRotation", array(
|
|
715 |
"excludeFrom" => array(),
|
716 |
) );
|
717 |
$this->addField( "Hover effects", "hoverDuration", array(
|
718 |
-
"name" => "Duration",
|
719 |
"description" => "",
|
720 |
"type" => FinalTiles_gallery::getFieldType( "hoverDuration" ),
|
721 |
"min" => 10,
|
@@ -726,15 +726,15 @@ $this->addField( "Hover effects", "hoverDuration", array(
|
|
726 |
"excludeFrom" => array(),
|
727 |
) );
|
728 |
$this->addField( "Hover effects", "hoverIconRotation", array(
|
729 |
-
"name" => "Rotate icon",
|
730 |
"type" => "toggle",
|
731 |
"default" => "F",
|
732 |
-
"description" => "Enable rotation of the icon.",
|
733 |
"proCall" => false,
|
734 |
"excludeFrom" => array(),
|
735 |
) );
|
736 |
$this->addField( "Image loaded effects", "loadedDuration", array(
|
737 |
-
"name" => "Duration",
|
738 |
"description" => "",
|
739 |
"type" => "slider",
|
740 |
"min" => 10,
|
@@ -745,9 +745,9 @@ $this->addField( "Image loaded effects", "loadedDuration", array(
|
|
745 |
"excludeFrom" => array(),
|
746 |
) );
|
747 |
$this->addField( "Image loaded effects", "loadedEasing", array(
|
748 |
-
"name" => "Easing curve",
|
749 |
"type" => "select",
|
750 |
-
"description" => "Choose the easing curve for the loading effect animation",
|
751 |
"values" => array(
|
752 |
"Easing curve" => array(
|
753 |
"linear|Linear",
|
@@ -764,7 +764,7 @@ $this->addField( "Image loaded effects", "loadedEasing", array(
|
|
764 |
"excludeFrom" => array(),
|
765 |
) );
|
766 |
$this->addField( "Image loaded effects", "loadedScaleY", array(
|
767 |
-
"name" => "Vertical scaling",
|
768 |
"description" => "",
|
769 |
"type" => "slider",
|
770 |
"min" => 1,
|
@@ -775,7 +775,7 @@ $this->addField( "Image loaded effects", "loadedScaleY", array(
|
|
775 |
"excludeFrom" => array(),
|
776 |
) );
|
777 |
$this->addField( "Image loaded effects", "loadedScaleX", array(
|
778 |
-
"name" => "Horizontal scaling",
|
779 |
"description" => "",
|
780 |
"type" => "slider",
|
781 |
"min" => 1,
|
@@ -786,7 +786,7 @@ $this->addField( "Image loaded effects", "loadedScaleX", array(
|
|
786 |
"excludeFrom" => array(),
|
787 |
) );
|
788 |
$this->addField( "Image loaded effects", "loadedRotateY", array(
|
789 |
-
"name" => "Vertical rotation",
|
790 |
"description" => "",
|
791 |
"type" => "slider",
|
792 |
"min" => -180,
|
@@ -797,7 +797,7 @@ $this->addField( "Image loaded effects", "loadedRotateY", array(
|
|
797 |
"excludeFrom" => array(),
|
798 |
) );
|
799 |
$this->addField( "Image loaded effects", "loadedRotateX", array(
|
800 |
-
"name" => "Horizontal rotation",
|
801 |
"description" => "",
|
802 |
"type" => "slider",
|
803 |
"min" => -180,
|
@@ -808,7 +808,7 @@ $this->addField( "Image loaded effects", "loadedRotateX", array(
|
|
808 |
"excludeFrom" => array(),
|
809 |
) );
|
810 |
$this->addField( "Image loaded effects", "loadedHSlide", array(
|
811 |
-
"name" => "Horizontal slide",
|
812 |
"description" => "",
|
813 |
"type" => "slider",
|
814 |
"min" => -1000,
|
@@ -819,7 +819,7 @@ $this->addField( "Image loaded effects", "loadedHSlide", array(
|
|
819 |
"excludeFrom" => array(),
|
820 |
) );
|
821 |
$this->addField( "Image loaded effects", "loadedVSlide", array(
|
822 |
-
"name" => "Vertical slide",
|
823 |
"description" => "",
|
824 |
"type" => "slider",
|
825 |
"min" => -1000,
|
@@ -830,9 +830,9 @@ $this->addField( "Image loaded effects", "loadedVSlide", array(
|
|
830 |
"excludeFrom" => array(),
|
831 |
) );
|
832 |
$this->addField( "Style", "borderSize", array(
|
833 |
-
"name" => "Border size",
|
834 |
"type" => "number",
|
835 |
-
"description" => "Size of the border of each image.",
|
836 |
"default" => 0,
|
837 |
"min" => 0,
|
838 |
"max" => 10,
|
@@ -841,9 +841,9 @@ $this->addField( "Style", "borderSize", array(
|
|
841 |
"excludeFrom" => array(),
|
842 |
) );
|
843 |
$this->addField( "Style", "borderRadius", array(
|
844 |
-
"name" => "Border radius",
|
845 |
"type" => "number",
|
846 |
-
"description" => "Border radius of the images.",
|
847 |
"default" => 0,
|
848 |
"min" => 0,
|
849 |
"max" => 100,
|
@@ -852,33 +852,33 @@ $this->addField( "Style", "borderRadius", array(
|
|
852 |
"excludeFrom" => array(),
|
853 |
) );
|
854 |
$this->addField( "Style", "borderColor", array(
|
855 |
-
"name" => "Border color",
|
856 |
"type" => "color",
|
857 |
-
"description" => "Color of the border when size is greater than 0.",
|
858 |
"default" => "#000000",
|
859 |
"proCall" => false,
|
860 |
"excludeFrom" => array(),
|
861 |
) );
|
862 |
$this->addField( "Style", "loadingBarColor", array(
|
863 |
-
"name" => "Loading Bar color",
|
864 |
"type" => "color",
|
865 |
-
"description" => "Color of the loading bar",
|
866 |
"default" => "#000000",
|
867 |
"proCall" => false,
|
868 |
"excludeFrom" => array(),
|
869 |
) );
|
870 |
$this->addField( "Style", "loadingBarBackgroundColor", array(
|
871 |
-
"name" => "Loading Bar background color",
|
872 |
"type" => "color",
|
873 |
-
"description" => "Background color of the loading bar",
|
874 |
"default" => "#cccccc",
|
875 |
"proCall" => false,
|
876 |
"excludeFrom" => array(),
|
877 |
) );
|
878 |
$this->addField( "Style", "shadowSize", array(
|
879 |
-
"name" => "Shadow size",
|
880 |
"type" => "number",
|
881 |
-
"description" => "Shadow size of the images.",
|
882 |
"default" => 0,
|
883 |
"min" => 0,
|
884 |
"max" => 20,
|
@@ -887,69 +887,69 @@ $this->addField( "Style", "shadowSize", array(
|
|
887 |
"excludeFrom" => array(),
|
888 |
) );
|
889 |
$this->addField( "Style", "shadowColor", array(
|
890 |
-
"name" => "Shadow color",
|
891 |
"type" => "color",
|
892 |
-
"description" => "Color of the shadow when size is greater than 0.",
|
893 |
"default" => "#000000",
|
894 |
"proCall" => false,
|
895 |
"excludeFrom" => array(),
|
896 |
) );
|
897 |
$this->addField( "Style", "backgroundColor", array(
|
898 |
-
"name" => "Tile background color",
|
899 |
"type" => "color",
|
900 |
-
"description" => "Background color of tiles",
|
901 |
"default" => "#fafafa",
|
902 |
"proCall" => false,
|
903 |
"excludeFrom" => array(),
|
904 |
) );
|
905 |
$this->addField( "Customizations", "aClass", array(
|
906 |
-
"name" => "Additional CSS class on A tag",
|
907 |
"type" => "text",
|
908 |
-
"description" => "Use this field if you need to add additional CSS classes to the link that contains the image.",
|
909 |
"default" => "",
|
910 |
"proCall" => false,
|
911 |
"excludeFrom" => array(),
|
912 |
) );
|
913 |
$this->addField( "Customizations", "rel", array(
|
914 |
-
"name" => "Value of 'rel' attribute on the link that contains the image.",
|
915 |
"type" => "text",
|
916 |
-
"description" => "Use this field if you need to add additional CSS classes to the link that contains the image. This is useful mostly to integrate the gallery with other lightbox plugins.",
|
917 |
"default" => "",
|
918 |
"proCall" => false,
|
919 |
"excludeFrom" => array(),
|
920 |
) );
|
921 |
$this->addField( "Customizations", "beforeGalleryText", array(
|
922 |
-
"name" => "Text before gallery",
|
923 |
"type" => "textarea",
|
924 |
-
"description" => "Use this field to add text/html to be placed just before your gallery.",
|
925 |
"proCall" => false,
|
926 |
"excludeFrom" => array( "shortcode" ),
|
927 |
) );
|
928 |
$this->addField( "Customizations", "afterGalleryText", array(
|
929 |
-
"name" => "Text after gallery",
|
930 |
"type" => "textarea",
|
931 |
-
"description" => "Use this field to add text/html to be placed just after your gallery.",
|
932 |
"proCall" => false,
|
933 |
"excludeFrom" => array( "shortcode" ),
|
934 |
) );
|
935 |
$this->addField( "Customizations", "style", array(
|
936 |
-
"name" => "Custom CSS",
|
937 |
"type" => "textarea",
|
938 |
-
"description" => "<strong>Write just the code without using the <style> tag.</strong><br>List of useful selectors:<br>\n <br>\n <ul>\n <li>\n <em>.final-tiles-gallery</em> : gallery container;\n </li>\n <li>\n <em>.final-tiles-gallery .tile-inner</em> : tile content;\n </li>\n <li>\n <em>.final-tiles-gallery .tile-inner .item</em> : image of the tile;\n </li>\n <li>\n <em>.final-tiles-gallery .tile-inner .caption</em> : caption of the tile;\n </li>\n <li>\n <em>.final-tiles-gallery .ftg-filters</em> : filters container\n </li>\n <li>\n <em>.final-tiles-gallery .ftg-filters a</em> : filter\n </li>\n <li>\n <em>.final-tiles-gallery .ftg-filters a.selected</em> : selected filter\n </li>\n </ul>",
|
939 |
"proCall" => false,
|
940 |
"excludeFrom" => array( "shortcode" ),
|
941 |
) );
|
942 |
$this->addField( "Customizations", "script", array(
|
943 |
-
"name" => "Custom scripts",
|
944 |
"type" => "textarea",
|
945 |
-
"description" => "This script will be called after the gallery initialization. Useful for custom lightboxes.\n <br />\n <br />\n <strong>Write just the code without using the <script></script> tags</strong>",
|
946 |
"proCall" => false,
|
947 |
"excludeFrom" => array( "shortcode" ),
|
948 |
) );
|
949 |
$this->addField( "Customizations", "delay", array(
|
950 |
-
"name" => "Delay",
|
951 |
"type" => "text",
|
952 |
-
"description" => "Delay (in milliseconds) before firing the gallery. Sometimes it's needed to avoid conflicts with other plugins.",
|
953 |
"min" => 0,
|
954 |
"max" => 5000,
|
955 |
"mu" => "ms",
|
@@ -958,9 +958,9 @@ $this->addField( "Customizations", "delay", array(
|
|
958 |
"excludeFrom" => array(),
|
959 |
) );
|
960 |
$this->addField( "Customizations", "support", array(
|
961 |
-
"name" => "Show developer link",
|
962 |
"type" => "toggle",
|
963 |
-
"description" => "I want to support this plugin, show the developer link!",
|
964 |
"default" => "F",
|
965 |
"proCall" => false,
|
966 |
"excludeFrom" => array(),
|
@@ -968,15 +968,15 @@ $this->addField( "Customizations", "support", array(
|
|
968 |
"excludeFrom" => array(),
|
969 |
) );
|
970 |
$this->addField( "Customizations", "supportText", array(
|
971 |
-
"name" => "Developer link text",
|
972 |
"type" => "text",
|
973 |
-
"description" => "Text for the developer link",
|
974 |
"default" => "powered by Final Tiles Grid Gallery",
|
975 |
"proCall" => false,
|
976 |
"excludeFrom" => array(),
|
977 |
) );
|
978 |
$this->addField( "Advanced", "columnsTabletLandscape", array(
|
979 |
-
"name" => "Number of columns (Tablet landscape)",
|
980 |
"type" => "number",
|
981 |
"description" => "",
|
982 |
"mu" => "",
|
@@ -986,7 +986,7 @@ $this->addField( "Advanced", "columnsTabletLandscape", array(
|
|
986 |
"excludeFrom" => array(),
|
987 |
) );
|
988 |
$this->addField( "Advanced", "columnsTabletPortrait", array(
|
989 |
-
"name" => "Number of columns (Tablet portrait)",
|
990 |
"type" => "number",
|
991 |
"description" => "",
|
992 |
"mu" => "",
|
@@ -996,7 +996,7 @@ $this->addField( "Advanced", "columnsTabletPortrait", array(
|
|
996 |
"excludeFrom" => array(),
|
997 |
) );
|
998 |
$this->addField( "Advanced", "columnsPhoneLandscape", array(
|
999 |
-
"name" => "Number of columns (Phone landscape)",
|
1000 |
"type" => "number",
|
1001 |
"description" => "",
|
1002 |
"mu" => "",
|
@@ -1006,7 +1006,7 @@ $this->addField( "Advanced", "columnsPhoneLandscape", array(
|
|
1006 |
"excludeFrom" => array(),
|
1007 |
) );
|
1008 |
$this->addField( "Advanced", "columnsPhonePortrait", array(
|
1009 |
-
"name" => "Number of columns (Phone portrait)",
|
1010 |
"type" => "number",
|
1011 |
"description" => "",
|
1012 |
"mu" => "",
|
@@ -1016,9 +1016,9 @@ $this->addField( "Advanced", "columnsPhonePortrait", array(
|
|
1016 |
"excludeFrom" => array(),
|
1017 |
) );
|
1018 |
$this->addField( "Advanced", "imageSizeFactor", array(
|
1019 |
-
"name" => "Image size factor",
|
1020 |
"type" => "slider",
|
1021 |
-
"description" => "Percentage of image size, i.e.: if an image of the gallery is 300x200 and the size factor is 50% then the resulting image will be 150x100.\n 90% is a suggested default value, because under some circumstances, the images could be enlarged by the script (to fill gaps and avoid blank spaces between tiles).",
|
1022 |
"default" => 90,
|
1023 |
"min" => 1,
|
1024 |
"max" => 100,
|
@@ -1029,7 +1029,7 @@ $this->addField( "Advanced", "imageSizeFactor", array(
|
|
1029 |
$this->addField( "Advanced", "imageSizeFactorTabletLandscape", array(
|
1030 |
"name" => "Image size factor (Tablet Landscape)",
|
1031 |
"type" => "slider",
|
1032 |
-
"description" => "Image size factor to apply when the viewport is 1024px, typically for tablets with landscape orientation",
|
1033 |
"default" => 80,
|
1034 |
"min" => 1,
|
1035 |
"max" => 100,
|
@@ -1038,9 +1038,9 @@ $this->addField( "Advanced", "imageSizeFactorTabletLandscape", array(
|
|
1038 |
"excludeFrom" => array(),
|
1039 |
) );
|
1040 |
$this->addField( "Advanced", "imageSizeFactorTabletPortrait", array(
|
1041 |
-
"name" => "Image size factor Tablet Portrait",
|
1042 |
"type" => "slider",
|
1043 |
-
"description" => "Image size factor to apply when the viewport is 768px, typically for tablets with portrait orientation",
|
1044 |
"default" => 70,
|
1045 |
"min" => 1,
|
1046 |
"max" => 100,
|
@@ -1049,9 +1049,9 @@ $this->addField( "Advanced", "imageSizeFactorTabletPortrait", array(
|
|
1049 |
"excludeFrom" => array(),
|
1050 |
) );
|
1051 |
$this->addField( "Advanced", "imageSizeFactorPhoneLandscape", array(
|
1052 |
-
"name" => "Image size factor Smartphone Landscape",
|
1053 |
"type" => "slider",
|
1054 |
-
"description" => "Image size factor to apply when the viewport is 640px, typically for smartphones with landscape orientation",
|
1055 |
"default" => 60,
|
1056 |
"min" => 1,
|
1057 |
"max" => 100,
|
@@ -1060,9 +1060,9 @@ $this->addField( "Advanced", "imageSizeFactorPhoneLandscape", array(
|
|
1060 |
"excludeFrom" => array(),
|
1061 |
) );
|
1062 |
$this->addField( "Advanced", "imageSizeFactorPhonePortrait", array(
|
1063 |
-
"name" => "Image size factor Phone Portrait",
|
1064 |
"type" => "slider",
|
1065 |
-
"description" => "Image size factor to apply when the viewport is 320px, typically for smartphones with portrait orientation",
|
1066 |
"default" => 50,
|
1067 |
"min" => 1,
|
1068 |
"max" => 100,
|
@@ -1071,25 +1071,25 @@ $this->addField( "Advanced", "imageSizeFactorPhonePortrait", array(
|
|
1071 |
"excludeFrom" => array(),
|
1072 |
) );
|
1073 |
$this->addField( "Advanced", "imageSizeFactorCustom", array(
|
1074 |
-
"name" => "Custom image size factor",
|
1075 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
1076 |
"type" => FinalTiles_Gallery::getFieldType( "custom_isf" ),
|
1077 |
-
"description" => "Use this field if you need further resolutions. Make custom layout for any device and resolution.",
|
1078 |
"proCall" => true,
|
1079 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
1080 |
) );
|
1081 |
$this->addField( "Advanced", "compressHTML", array(
|
1082 |
-
"name" => "Compress HTML",
|
1083 |
"type" => "toggle",
|
1084 |
-
"description" => "Enable or disable HTML compression, some themes prefer uncompressed, switch it off in case of problems.",
|
1085 |
"default" => "T",
|
1086 |
"proCall" => false,
|
1087 |
"excludeFrom" => array(),
|
1088 |
) );
|
1089 |
$this->addField( "Advanced", "minTileWidth", array(
|
1090 |
-
"name" => "Tile minimum width",
|
1091 |
"type" => "number",
|
1092 |
-
"description" => "Minimum width of each tile, <strong>multiply this value for the image size factor to get the real size</strong>.",
|
1093 |
"mu" => "px",
|
1094 |
"min" => 50,
|
1095 |
"max" => 500,
|
@@ -1098,9 +1098,9 @@ $this->addField( "Advanced", "minTileWidth", array(
|
|
1098 |
"excludeFrom" => array(),
|
1099 |
) );
|
1100 |
$this->addField( "Advanced", "enlargeImages", array(
|
1101 |
-
"name" => "Allow image enlargement",
|
1102 |
"type" => "toggle",
|
1103 |
-
"description" => "Images can be occasionally enlarged to avoid gaps. If you notice a quality loss try to reduce the <strong>Image size factor</strong> parameter.",
|
1104 |
"default" => "T",
|
1105 |
"proCall" => false,
|
1106 |
"excludeFrom" => array(),
|
@@ -1109,7 +1109,7 @@ if ( ftg_fs()->is_plan_or_trial( 'ultimate' ) ) {
|
|
1109 |
$this->addField( "Advanced", "allFilterLabel", array(
|
1110 |
"name" => "Text for 'All' filter",
|
1111 |
"type" => "text",
|
1112 |
-
"description" => "Write here the label for the 'All' filter",
|
1113 |
"proCall" => false,
|
1114 |
"excludeFrom" => array(),
|
1115 |
) );
|
149 |
),
|
150 |
);
|
151 |
$this->addField( "Advanced", "loadMethod", array(
|
152 |
+
"name" => __( "Loading method" ),
|
153 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
154 |
"type" => "select",
|
155 |
"values" => array(
|
160 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
161 |
) );
|
162 |
$this->addField( "Advanced", "ajaxLoading", array(
|
163 |
+
"name" => __( "Asynchronous loading" ),
|
164 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
165 |
"type" => "select",
|
166 |
"values" => array(
|
167 |
"Loading method" => array( "F|Complete markup on page", "lazy|Enable ajax loading" ),
|
168 |
),
|
169 |
+
"description" => __( "Don't enable ajax loading if you need to index your images on search engines", "final-tiles-grid-gallery-lite" ),
|
170 |
"proCall" => false,
|
171 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
172 |
) );
|
173 |
$this->addField( "Advanced", "tilesPerPage", array(
|
174 |
+
"name" => __( "Number of images to load via ajax" ),
|
175 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
176 |
"type" => "number",
|
177 |
"proCall" => false,
|
178 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
179 |
) );
|
180 |
$this->addField( "General", "name", array(
|
181 |
+
"name" => __( "Name" ),
|
182 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
183 |
"type" => "text",
|
184 |
+
"description" => __( "Name of the gallery, for internal use.", "final-tiles-grid-gallery-lite" ),
|
185 |
"proCall" => false,
|
186 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
187 |
) );
|
188 |
$this->addField( "General", "description", array(
|
189 |
+
"name" => __( "Description" ),
|
190 |
"hiddenFor" => array( "dashboard", "shortcode" ),
|
191 |
"type" => "text",
|
192 |
+
"description" => __( "Description of the gallery, for internal use.", "final-tiles-grid-gallery-lite" ),
|
193 |
"proCall" => false,
|
194 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
195 |
) );
|
196 |
$this->addField( "General", "layout", array(
|
197 |
+
"name" => __( "Layout" ),
|
198 |
"type" => "select",
|
199 |
+
"description" => __( "<strong>Final Tiles</strong>: use images with different sizes<br><strong>Masonry</strong>: multi-column layout, use this one if you need images of the same size.", "final-tiles-grid-gallery-lite" ),
|
200 |
"values" => array(
|
201 |
"Layout" => array( "final|Final Tiles", "columns|Masonry" ),
|
202 |
),
|
204 |
"excludeFrom" => array(),
|
205 |
) );
|
206 |
$this->addField( "General", "width", array(
|
207 |
+
"name" => __( "Width" ),
|
208 |
"type" => "text",
|
209 |
+
"description" => __( "Width of the gallery in pixels or percentage.", "final-tiles-grid-gallery-lite" ),
|
210 |
"proCall" => false,
|
211 |
"excludeFrom" => array(),
|
212 |
) );
|
213 |
$this->addField( "General", "margin", array(
|
214 |
+
"name" => __( "Margin" ),
|
215 |
"type" => "number",
|
216 |
+
"description" => __( "Margin between images", "final-tiles-grid-gallery-lite" ),
|
217 |
"mu" => "px",
|
218 |
"min" => 0,
|
219 |
"max" => 50,
|
221 |
"excludeFrom" => array(),
|
222 |
) );
|
223 |
$this->addField( "General", "columns", array(
|
224 |
+
"name" => __( "Number of columns" ),
|
225 |
"type" => "number",
|
226 |
"description" => "",
|
227 |
"mu" => "",
|
231 |
"excludeFrom" => array(),
|
232 |
) );
|
233 |
$this->addField( "General", "imagesOrder", array(
|
234 |
+
"name" => __( "Images order" ),
|
235 |
"type" => "select",
|
236 |
+
"description" => __( "Choose the order of the images", "final-tiles-grid-gallery-lite" ),
|
237 |
"default" => "",
|
238 |
"values" => array(
|
239 |
"Images order" => array( "user|User", "reverse|Reverse", "random|Random" ),
|
242 |
"excludeFrom" => array(),
|
243 |
) );
|
244 |
$this->addField( "General", "filter", array(
|
245 |
+
"name" => __( "Filters" ),
|
246 |
"type" => FinalTiles_Gallery::getFieldType( "filter" ),
|
247 |
+
"description" => __( "Manage here all the filters of this gallery", "final-tiles-grid-gallery-lite" ),
|
248 |
"proCall" => true,
|
249 |
"excludeFrom" => array( "dashboard", "shortcode" ),
|
250 |
) );
|
251 |
if ( ftg_fs()->is_plan_or_trial( 'ultimate' ) ) {
|
252 |
$this->addField( "General", "filterClick", array(
|
253 |
+
"name" => __( "Reload Page on filter click" ),
|
254 |
"type" => "toggle",
|
255 |
+
"description" => __( "Turn this feature ON if you want to use filters with most lightboxes", "final-tiles-grid-gallery-lite" ),
|
256 |
"proCall" => false,
|
257 |
"excludeFrom" => array(),
|
258 |
) );
|
259 |
}
|
260 |
$this->addField( "General", "gridCellSize", array(
|
261 |
+
"name" => __( "Size of the grid" ),
|
262 |
"type" => "number",
|
263 |
"default" => 25,
|
264 |
"min" => 1,
|
265 |
"max" => 100,
|
266 |
"mu" => "px",
|
267 |
+
"description" => __( "Tiles are snapped to a virtual grid, <strong>the higher this value the higher the chance to get bottom aligned tiles</strong> (but it needs to crop vertically).", "final-tiles-grid-gallery-lite" ),
|
268 |
"proCall" => false,
|
269 |
"excludeFrom" => array(),
|
270 |
) );
|
271 |
$this->addField( "General", "gridCellSizeDisabledBelow", array(
|
272 |
+
"name" => __( "Disable grid size below resolution" ),
|
273 |
"type" => "number",
|
274 |
"default" => 800,
|
275 |
"min" => 0,
|
276 |
"max" => 4000,
|
277 |
"mu" => "px",
|
278 |
+
"description" => __( "If you have small tiny images under certain resolutions then you can switch off grid size (image cropping) when the screen resolution is below this value.", "final-tiles-grid-gallery-lite" ),
|
279 |
"proCall" => false,
|
280 |
"excludeFrom" => array(),
|
281 |
) );
|
282 |
/*"scrollEffect" , array(
|
283 |
+
"name" => __("Scroll effect"),
|
284 |
"type" => "select",
|
285 |
+
"description" => __("Effect on tiles when scrolling the page", "final-tiles-grid-gallery-lite"),
|
286 |
"values" => array(
|
287 |
"Scroll effect" => array(
|
288 |
"none|None", "slide|Sliding tiles", "zoom|Zoom", "rotate-left|Left rotation", "rotate-right|Right rotation"
|
294 |
$this->addField( "Links & Lightbox", "lightbox", array(
|
295 |
"name" => "Links & Lightbox",
|
296 |
"type" => "select",
|
297 |
+
"description" => __( "Define here what happens when user click on the images. Lightboxes with video support: EverlightBox, LightGallery, Magnific popup, Colorbox (require embed URL)); PrettyPhoto, FancyBox (require embed URL)", "final-tiles-grid-gallery-lite" ),
|
298 |
"values" => array(
|
299 |
"Link" => array( " |No link", "direct|Direct link to image (useful for external lightboxes)|disabled", "post|Post or WooCommerce product|disabled" ),
|
300 |
"Lightboxes" => array(
|
314 |
$this->addField( "Links & Lightbox", "mobileLightbox", array(
|
315 |
"name" => "Links & Lightbox (mobile)",
|
316 |
"type" => "select",
|
317 |
+
"description" => __( "Define here what happens when user click on the images. Lightboxes with video support: EverlightBox, LightGallery, Magnific popup, Colorbox (require embed URL)); PrettyPhoto, FancyBox (require embed URL)", "final-tiles-grid-gallery-lite" ),
|
318 |
"values" => array(
|
319 |
"Link" => array( " |No link", "direct|Direct link to image (useful for external lightboxes)", "post|Post or WooCommerce product|disabled" ),
|
320 |
"Lightboxes" => array(
|
332 |
"excludeFrom" => array(),
|
333 |
) );
|
334 |
$this->addField( "Links & Lightbox", "lightboxImageSize", array(
|
335 |
+
"name" => __( "Image size for the lightbox" ),
|
336 |
"type" => "select",
|
337 |
"description" => "",
|
338 |
"values" => array(
|
342 |
"excludeFrom" => array(),
|
343 |
) );
|
344 |
$this->addField( "Links & Lightbox", "disableLightboxGroups", array(
|
345 |
+
"name" => __( "Disable lightbox grouping" ),
|
346 |
"type" => "toggle",
|
347 |
+
"description" => __( "Flag this option if you don't want to group images when opened in a lightbox.", "final-tiles-grid-gallery-lite" ),
|
348 |
"default" => "F",
|
349 |
"proCall" => false,
|
350 |
"excludeFrom" => array(),
|
351 |
) );
|
352 |
$this->addField( "Links & Lightbox", "blank", array(
|
353 |
+
"name" => __( "Links target" ),
|
354 |
"type" => "toggle",
|
355 |
+
"description" => __( "Open links in a blank page.", "final-tiles-grid-gallery-lite" ),
|
356 |
"proCall" => false,
|
357 |
"excludeFrom" => array(),
|
358 |
) );
|
359 |
$this->addField( "Links & Lightbox", "enableTwitter", array(
|
360 |
+
"name" => __( "Enable Twitter icon" ),
|
361 |
"type" => "toggle",
|
362 |
+
"description" => __( "Enable Twitter sharing.", "final-tiles-grid-gallery-lite" ),
|
363 |
"default" => "F",
|
364 |
"proCall" => false,
|
365 |
"excludeFrom" => array(),
|
366 |
) );
|
367 |
$this->addField( "Links & Lightbox", "enableFacebook", array(
|
368 |
+
"name" => __( "Enable Facebook icon" ),
|
369 |
"type" => "toggle",
|
370 |
+
"description" => __( "Enable Facebook sharing. Note: after the last version of OpenGraph API it's not possible to share a specific image anymore.", "final-tiles-grid-gallery-lite" ),
|
371 |
"default" => "F",
|
372 |
"proCall" => false,
|
373 |
"excludeFrom" => array(),
|
374 |
) );
|
375 |
$this->addField( "Links & Lightbox", "enableGplus", array(
|
376 |
+
"name" => __( "Enable Google Plus icon" ),
|
377 |
"type" => "toggle",
|
378 |
+
"description" => __( "Enable Google Plus sharing", "final-tiles-grid-gallery-lite" ),
|
379 |
"default" => "F",
|
380 |
"proCall" => false,
|
381 |
"excludeFrom" => array(),
|
382 |
) );
|
383 |
$this->addField( "Links & Lightbox", "enablePinterest", array(
|
384 |
+
"name" => __( "Enable Pinterest icon" ),
|
385 |
"type" => "toggle",
|
386 |
+
"description" => __( "Enable Pinterest sharing", "final-tiles-grid-gallery-lite" ),
|
387 |
"default" => "F",
|
388 |
"proCall" => false,
|
389 |
"excludeFrom" => array(),
|
390 |
) );
|
391 |
$this->addField( "Links & Lightbox", "socialIconColor", array(
|
392 |
+
"name" => __( "Color of social sharing icons" ),
|
393 |
"type" => "color",
|
394 |
+
"description" => __( "Set the color of the social sharing icons", "final-tiles-grid-gallery-lite" ),
|
395 |
"default" => "#ffffff",
|
396 |
"proCall" => false,
|
397 |
"excludeFrom" => array(),
|
398 |
) );
|
399 |
$this->addField( "Links & Lightbox", "socialIconStyle", array(
|
400 |
+
"name" => __( "Style of the social icons panel" ),
|
401 |
"type" => "select",
|
402 |
+
"description" => __( "Set the color of the social sharing icons", "final-tiles-grid-gallery-lite" ),
|
403 |
"default" => "none",
|
404 |
"values" => array(
|
405 |
"Style" => array( "none|None", "circle|Circles", "bar|Bar" ),
|
408 |
"excludeFrom" => array(),
|
409 |
) );
|
410 |
$this->addField( "Links & Lightbox", "socialIconPosition", array(
|
411 |
+
"name" => __( "Position of the social icons panel" ),
|
412 |
"type" => "select",
|
413 |
+
"description" => __( "Set the position of the social sharing icons", "final-tiles-grid-gallery-lite" ),
|
414 |
"default" => "bottom",
|
415 |
"values" => array(
|
416 |
"Position" => array( "bottom|Bottom", "right|Right" ),
|
419 |
"excludeFrom" => array(),
|
420 |
) );
|
421 |
$this->addField( "Captions", "captionBehavior", array(
|
422 |
+
"name" => __( "Caption behavior" ),
|
423 |
"type" => "select",
|
424 |
+
"description" => __( "Effect used to show the captions.", "final-tiles-grid-gallery-lite" ),
|
425 |
"values" => array(
|
426 |
"Effect" => array(
|
427 |
"none|Fade in",
|
438 |
"excludeFrom" => array(),
|
439 |
) );
|
440 |
$this->addField( "Captions", "captionMobileBehavior", array(
|
441 |
+
"name" => __( "Caption mobile behavior" ),
|
442 |
"type" => "select",
|
443 |
+
"description" => __( "Caption behavior for mobile devices.", "final-tiles-grid-gallery-lite" ),
|
444 |
"values" => array(
|
445 |
"Behavior" => array(
|
446 |
"desktop|Same as desktop",
|
454 |
"excludeFrom" => array(),
|
455 |
) );
|
456 |
$this->addField( "Captions", "captionPosition", array(
|
457 |
+
"name" => __( "Position" ),
|
458 |
"type" => "select",
|
459 |
+
"description" => __( "Choose the position of the caption.", "final-tiles-grid-gallery-lite" ),
|
460 |
"values" => array(
|
461 |
"Behavior" => array( "inside|Inside", "outside|Outside (EXPERIMENTAL)" ),
|
462 |
),
|
464 |
"excludeFrom" => array(),
|
465 |
) );
|
466 |
/*"captionFullHeight" , array(
|
467 |
+
"name" => __("Caption full height"),
|
468 |
"type" => "toggle",
|
469 |
+
"description" => __("Enable this option for full height captions. <strong>This is required if you want to use caption icons and caption effects other than <i>fade</i>.</strong>", "final-tiles-grid-gallery-lite"),
|
470 |
"default" => "T",
|
471 |
"proCall" => false,
|
472 |
"excludeFrom" => array()
|
473 |
));*/
|
474 |
$this->addField( "Captions", "captionEmpty", array(
|
475 |
+
"name" => __( "Empty captions" ),
|
476 |
"type" => "select",
|
477 |
+
"description" => __( "Choose if empty caption has to be shown.", "final-tiles-grid-gallery-lite" ),
|
478 |
"values" => array(
|
479 |
"Empty captions" => array( "hide|Don't show empty captions", "show|Show empty captions|disabled" ),
|
480 |
),
|
482 |
"excludeFrom" => array(),
|
483 |
) );
|
484 |
$this->addField( "Captions", "captionIcon", array(
|
485 |
+
"name" => __( "Caption icon" ),
|
486 |
"type" => "select",
|
487 |
+
"description" => __( "Choose the icon for the captions.", "final-tiles-grid-gallery-lite" ),
|
488 |
"values" => array(
|
489 |
"Icon" => array(
|
490 |
"|None",
|
507 |
"excludeFrom" => array(),
|
508 |
) );
|
509 |
$this->addField( "Captions", "customCaptionIcon", array(
|
510 |
+
"name" => __( "Custom caption icon" ),
|
511 |
"type" => FinalTiles_Gallery::getFieldType( "customCaptionIcon" ),
|
512 |
+
"description" => __( "Use this field to insert the class of a FontAwesome icon (i.e.: fa-heart). <a href='https://fontawesome.com/v4.7.0/icons/' target='blank'>See all available icons</a>. <strong>This value override the <i>Caption icon</i> value</strong>.", "final-tiles-grid-gallery-lite" ),
|
513 |
"proCall" => false,
|
514 |
"excludeFrom" => array(),
|
515 |
) );
|
516 |
$this->addField( "Captions", "captionIconColor", array(
|
517 |
+
"name" => __( "Caption icon color" ),
|
518 |
"type" => "color",
|
519 |
+
"description" => __( "Color of the icon in captions.", "final-tiles-grid-gallery-lite" ),
|
520 |
"default" => "#ffffff",
|
521 |
"proCall" => false,
|
522 |
"excludeFrom" => array(),
|
523 |
) );
|
524 |
$this->addField( "Captions", "captionIconSize", array(
|
525 |
+
"name" => __( "Caption icon size" ),
|
526 |
"type" => "number",
|
527 |
+
"description" => __( "Size of the icon in captions.", "final-tiles-grid-gallery-lite" ),
|
528 |
"default" => 12,
|
529 |
"min" => 10,
|
530 |
"max" => 96,
|
533 |
"excludeFrom" => array(),
|
534 |
) );
|
535 |
$this->addField( "Captions", "captionFontSize", array(
|
536 |
+
"name" => __( "Caption font size" ),
|
537 |
"type" => "number",
|
538 |
+
"description" => __( "Size of the font in captions.", "final-tiles-grid-gallery-lite" ),
|
539 |
"default" => 12,
|
540 |
"min" => 10,
|
541 |
"max" => 96,
|
544 |
"excludeFrom" => array(),
|
545 |
) );
|
546 |
$this->addField( "Captions", "captionEasing", array(
|
547 |
+
"name" => __( "Caption effect easing" ),
|
548 |
"type" => "select",
|
549 |
+
"description" => __( "Easing function for the caption animation, works better with sliding animations.", "final-tiles-grid-gallery-lite" ),
|
550 |
"values" => array(
|
551 |
"Easing" => array(
|
552 |
"ease|Ease",
|
560 |
"excludeFrom" => array(),
|
561 |
) );
|
562 |
$this->addField( "Captions", "captionFrame", array(
|
563 |
+
"name" => __( "Caption frame" ),
|
564 |
"type" => "toggle",
|
565 |
+
"description" => __( "Add a frame around the caption", "final-tiles-grid-gallery-lite" ),
|
566 |
"default" => "F",
|
567 |
"proCall" => false,
|
568 |
"excludeFrom" => array(),
|
569 |
) );
|
570 |
$this->addField( "Captions", "captionFrameColor", array(
|
571 |
+
"name" => __( "Caption frame color" ),
|
572 |
"type" => "color",
|
573 |
+
"description" => __( "Color of the frame around the caption", "final-tiles-grid-gallery-lite" ),
|
574 |
"default" => "#ffffff",
|
575 |
"proCall" => false,
|
576 |
"excludeFrom" => array(),
|
577 |
) );
|
578 |
$this->addField( "Captions", "captionColor", array(
|
579 |
+
"name" => __( "Caption color" ),
|
580 |
"type" => "color",
|
581 |
+
"description" => __( "Text color of the captions.", "final-tiles-grid-gallery-lite" ),
|
582 |
"default" => "#ffffff",
|
583 |
"proCall" => false,
|
584 |
"excludeFrom" => array(),
|
585 |
) );
|
586 |
$this->addField( "Captions", "captionEffectDuration", array(
|
587 |
+
"name" => __( "Caption effect duration" ),
|
588 |
"type" => "text",
|
589 |
+
"description" => __( "Duration of the caption animation.", "final-tiles-grid-gallery-lite" ),
|
590 |
"default" => 250,
|
591 |
"mu" => "ms",
|
592 |
"min" => 0,
|
595 |
"excludeFrom" => array(),
|
596 |
) );
|
597 |
$this->addField( "Captions", "captionBackgroundColor", array(
|
598 |
+
"name" => __( "Caption background color" ),
|
599 |
"type" => "color",
|
600 |
+
"description" => __( "Caption background color", "final-tiles-grid-gallery-lite" ),
|
601 |
"default" => "#000000",
|
602 |
"proCall" => false,
|
603 |
"excludeFrom" => array(),
|
604 |
) );
|
605 |
$this->addField( "Captions", "captionOpacity", array(
|
606 |
+
"name" => __( "Caption opacity" ),
|
607 |
"type" => "text",
|
608 |
+
"description" => __( "Opacity of the caption, 0% means 'invisible' while 100% is a plain color without opacity.", "final-tiles-grid-gallery-lite" ),
|
609 |
"default" => 80,
|
610 |
"min" => 0,
|
611 |
"max" => 100,
|
614 |
"excludeFrom" => array(),
|
615 |
) );
|
616 |
$this->addField( "Captions", "wp_field_caption", array(
|
617 |
+
"name" => __( "WordPress caption field" ),
|
618 |
"type" => "select",
|
619 |
+
"description" => __( "WordPress field used for captions. <strong>This field is used ONLY when images are added to the gallery, </strong> however, if you want to ignore captions just set it to '<i>Don't use captions</i>'.", "final-tiles-grid-gallery-lite" ),
|
620 |
"values" => array(
|
621 |
"Field" => array(
|
622 |
"none|Don't use captions",
|
629 |
"excludeFrom" => array( "shortcode" ),
|
630 |
) );
|
631 |
$this->addField( "Captions", "wp_field_title", array(
|
632 |
+
"name" => __( "WordPress title field" ),
|
633 |
"type" => "select",
|
634 |
+
"description" => __( "WordPress field used for titles. <strong>This field is used ONLY when images are added to the gallery, </strong> however, if you want to ignore titles just set it to '<i>Don't use titles</i>'.", "final-tiles-grid-gallery-lite" ),
|
635 |
"values" => array(
|
636 |
"Field" => array( "none|Don't use titles", "title|Title", "description|Description" ),
|
637 |
),
|
639 |
"excludeFrom" => array( "shortcode" ),
|
640 |
) );
|
641 |
$this->addField( "Captions", "recentPostsCaption", array(
|
642 |
+
"name" => __( "Recent posts caption" ),
|
643 |
"type" => "select",
|
644 |
+
"description" => __( "Field of the post used for captions when using \"Recent posts\" as source.", "final-tiles-grid-gallery-lite" ),
|
645 |
"values" => array(
|
646 |
"Field" => array(
|
647 |
"none|Don't use captions",
|
657 |
$this->addField( "Captions", "recentPostsCaptionAutoExcerptLength", array(
|
658 |
"name" => "Max number of words for 'Auto excerpt'",
|
659 |
"type" => "text",
|
660 |
+
"description" => __( "Define the max number of words of the caption when <i>Recent posts caption</i> is set to <i>Auto excerpt</i>.", "final-tiles-grid-gallery-lite" ),
|
661 |
"default" => "20",
|
662 |
"proCall" => false,
|
663 |
"excludeFrom" => array(),
|
664 |
) );
|
665 |
$this->addField( "Captions", "captionVerticalAlignment", array(
|
666 |
+
"name" => __( "Caption Vertical Alignment" ),
|
667 |
"type" => "select",
|
668 |
+
"description" => __( "Choose the vertical alignment of the caption", "final-tiles-grid-gallery-lite" ),
|
669 |
"values" => array(
|
670 |
"Caption vertical alignment" => array( "top|Top", "middle|Middle", "bottom|Bottom" ),
|
671 |
),
|
673 |
"excludeFrom" => array(),
|
674 |
) );
|
675 |
$this->addField( "Captions", "captionHorizontalAlignment", array(
|
676 |
+
"name" => __( "Caption Horizontal Alignment" ),
|
677 |
"type" => "select",
|
678 |
+
"description" => __( "Choose the horizontal alignment of the caption", "final-tiles-grid-gallery-lite" ),
|
679 |
"values" => array(
|
680 |
"Caption horizontal alignment" => array( "left|Left", "center|Center", "right|Right" ),
|
681 |
),
|
683 |
"excludeFrom" => array(),
|
684 |
) );
|
685 |
$this->addField( "Captions", "titleFontSize", array(
|
686 |
+
"name" => __( "Title font size" ),
|
687 |
"type" => "number",
|
688 |
+
"description" => __( "Size of the font in captions.", "final-tiles-grid-gallery-lite" ),
|
689 |
"min" => 10,
|
690 |
"max" => 96,
|
691 |
"mu" => "px",
|
693 |
"excludeFrom" => array(),
|
694 |
) );
|
695 |
$this->addField( "Hover effects", "hoverZoom", array(
|
696 |
+
"name" => __( "Zoom" ),
|
697 |
"type" => FinalTiles_gallery::getFieldType( "hoverZoom" ),
|
698 |
+
"description" => __( "Scale value.", "final-tiles-grid-gallery-lite" ),
|
699 |
"default" => 100,
|
700 |
"min" => 0,
|
701 |
"max" => 600,
|
704 |
"excludeFrom" => array(),
|
705 |
) );
|
706 |
$this->addField( "Hover effects", "hoverRotation", array(
|
707 |
+
"name" => __( "Rotation" ),
|
708 |
"type" => FinalTiles_gallery::getFieldType( "hoverRotation" ),
|
709 |
+
"description" => __( "Rotation value in degrees.", "final-tiles-grid-gallery-lite" ),
|
710 |
"min" => 0,
|
711 |
"max" => 360,
|
712 |
"mu" => "deg",
|
715 |
"excludeFrom" => array(),
|
716 |
) );
|
717 |
$this->addField( "Hover effects", "hoverDuration", array(
|
718 |
+
"name" => __( "Duration" ),
|
719 |
"description" => "",
|
720 |
"type" => FinalTiles_gallery::getFieldType( "hoverDuration" ),
|
721 |
"min" => 10,
|
726 |
"excludeFrom" => array(),
|
727 |
) );
|
728 |
$this->addField( "Hover effects", "hoverIconRotation", array(
|
729 |
+
"name" => __( "Rotate icon" ),
|
730 |
"type" => "toggle",
|
731 |
"default" => "F",
|
732 |
+
"description" => __( "Enable rotation of the icon.", "final-tiles-grid-gallery-lite" ),
|
733 |
"proCall" => false,
|
734 |
"excludeFrom" => array(),
|
735 |
) );
|
736 |
$this->addField( "Image loaded effects", "loadedDuration", array(
|
737 |
+
"name" => __( "Duration" ),
|
738 |
"description" => "",
|
739 |
"type" => "slider",
|
740 |
"min" => 10,
|
745 |
"excludeFrom" => array(),
|
746 |
) );
|
747 |
$this->addField( "Image loaded effects", "loadedEasing", array(
|
748 |
+
"name" => __( "Easing curve" ),
|
749 |
"type" => "select",
|
750 |
+
"description" => __( "Choose the easing curve for the loading effect animation", "final-tiles-grid-gallery-lite" ),
|
751 |
"values" => array(
|
752 |
"Easing curve" => array(
|
753 |
"linear|Linear",
|
764 |
"excludeFrom" => array(),
|
765 |
) );
|
766 |
$this->addField( "Image loaded effects", "loadedScaleY", array(
|
767 |
+
"name" => __( "Vertical scaling" ),
|
768 |
"description" => "",
|
769 |
"type" => "slider",
|
770 |
"min" => 1,
|
775 |
"excludeFrom" => array(),
|
776 |
) );
|
777 |
$this->addField( "Image loaded effects", "loadedScaleX", array(
|
778 |
+
"name" => __( "Horizontal scaling" ),
|
779 |
"description" => "",
|
780 |
"type" => "slider",
|
781 |
"min" => 1,
|
786 |
"excludeFrom" => array(),
|
787 |
) );
|
788 |
$this->addField( "Image loaded effects", "loadedRotateY", array(
|
789 |
+
"name" => __( "Vertical rotation" ),
|
790 |
"description" => "",
|
791 |
"type" => "slider",
|
792 |
"min" => -180,
|
797 |
"excludeFrom" => array(),
|
798 |
) );
|
799 |
$this->addField( "Image loaded effects", "loadedRotateX", array(
|
800 |
+
"name" => __( "Horizontal rotation" ),
|
801 |
"description" => "",
|
802 |
"type" => "slider",
|
803 |
"min" => -180,
|
808 |
"excludeFrom" => array(),
|
809 |
) );
|
810 |
$this->addField( "Image loaded effects", "loadedHSlide", array(
|
811 |
+
"name" => __( "Horizontal slide" ),
|
812 |
"description" => "",
|
813 |
"type" => "slider",
|
814 |
"min" => -1000,
|
819 |
"excludeFrom" => array(),
|
820 |
) );
|
821 |
$this->addField( "Image loaded effects", "loadedVSlide", array(
|
822 |
+
"name" => __( "Vertical slide" ),
|
823 |
"description" => "",
|
824 |
"type" => "slider",
|
825 |
"min" => -1000,
|
830 |
"excludeFrom" => array(),
|
831 |
) );
|
832 |
$this->addField( "Style", "borderSize", array(
|
833 |
+
"name" => __( "Border size" ),
|
834 |
"type" => "number",
|
835 |
+
"description" => __( "Size of the border of each image.", "final-tiles-grid-gallery-lite" ),
|
836 |
"default" => 0,
|
837 |
"min" => 0,
|
838 |
|