This code changes the core file of the “Lazyest Gallery” Plugin for WordPress.
PURPOSE: Make the breadcrumb show the single image filename rather than the entire caption of the image. Be sure this is what you want before you make this change. I prefer the file name of the picture for the link in the breadcrumb because my captions are very, very long. Long captions as breadcrumb links look silly.
You only need to make one change on one line, in only one file of the plugin.
FILE: wp-content/plugins/lazyestgallery/inc/frontend.php
LINE: 892
The original line 892 looks like this:
$image->title()
Change that line into this:
$image->form_name()// use filename rather than caption, isa
That’s all. Now you have shorter breadcrumbs.
Questions and Comments are Welcome