ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.
Simple Gallery Plugin. Easy to use gallery plugin that lets you add gallery feature to your website. Supports lightbox and shortcodes to display your gallery images anywhere.
ეკრანული სურათები
დაყენება
This section describes how to install the plugin and get it working.
e.g.
Upload code-gallery folder to the /wp-content/plugins/ directory
Activate the plugin through the ‘Plugins’ menu in WordPress
The #1 reason why I like this plugin is that you can select 100+ images from your Media library and they are added instantly. The list of images for a gallery is displayed as a collection of thumbnails, which makes it easy to see what images you have selected for your gallery. Removing an image from the gallery does not immediately delete it from the Media library, which is excellent. Also, it does not make changes to the Media library as some plugins do. Very smooth and unobtrusive.
The Gallery is displayed using blueimp.Gallery. You can find the details here: https://blueimp.github.io/Gallery/
This Lightbox gallery implementation is lightweight and easy to customize. This was all it took to customize the plugin and make it display file names as title:
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
diff code_gallery.php code_gallery.php_org
283,285d282
< $attachment_title =
pathinfo($attachment_url_full[0],PATHINFO_BASENAME);
< $attachment_title = substr($attachment_title,0,-4);
< $attachment_title = str_replace("_"," ",$attachment_title);
287,288c284
< <div class="images">
< <a>" title="<?php echo
$attachment_title;?>" >
—
> <div class="images"></a><a>"
290,292c286
< </a>
< <div class="title"><?php echo $attachment_title;?></div>
< </div>
—
> </div>
10 out of 10 would use again!