klihelp
Forum Replies Created
-
Forum: Plugins
In reply to: [Eazyest Gallery] Issue selecting media view in media popup(Using RC-14)
Can’t insert images for Subfolders.
The dropdown options in the media popup box have only two options, missing the default ones.Only this two:
– Uploaded to this folder,
– ImagesThis is how I fixed in the plugin:
Display Caption without the extra – characters:
in admin/class-eazyest-folder-list-table.php#Line521 // $pad = str_repeat( '— ', $level ); $pad = '';
Display Name without the extra – characters:
# in admin/class-eazyest-folder-editor.php # Line926 // $edit_name = str_repeat( '— ', substr_count( $gallery_path, '/' ) ) . $edit_name; $edit_name = substr_count( $gallery_path, '/' ) . $edit_name; # in admin/class-eazyest-folder-editor.php # Line891 - add line before the foreach() $current_directory = ezg_get_gallery_path( $post_id ); # Line894 // $edit_name = str_repeat( '— ', substr_count( $gallery_path, '/' ) ) . $edit_name; $edit_name = str_repeat( '— ', substr_count( $directory, '/' ) - substr_count( $current_directory, '/' ) ) . $edit_name;
Forum: Plugins
In reply to: [Eazyest Gallery] Disable column in admin table?Nice to adjust the plugin to WordPress core settings.
yes, it is.Forum: Plugins
In reply to: [Eazyest Gallery] Disable column in admin table?This problem is still there in plugin v.0.1.RC14
Ok.
In this case we have to overwrite the [gallery] output,
and copy the output code from the plugin function to support the extra fields option … and hopefully this will not break future plugin options.Hope in the future the plugin will optionally support it’s own markup for Eazyest Gallery pages.
ps: For others who have the same problem:
This is not resolved by the core plugin, need a workaround in theme functions.Interestingly Lazyest Gallery did have a different gallery view without affecting the normal [gallery] output and [gallery] shortcode theme settings.
The logic is the same if the extra fields options are set, then the plugin overwrites the [gallery] shortcode …
In this case why there is a eazyest_gallery filter?Line 133 in class-eazyest-shortcodes.php: // Eazyest_Shortcodes::gallery_shortcode() // Allow plugins/themes to override the default gallery template. $output = apply_filters( 'eazyest_gallery', '', $attr ); if ( $output != '' ) return $output;
>>> The plugin only overwrites the gallery output when you have extra fields and you have selected to show descriptions in thumbnail view.
There is no full control how to separate Eazyest Gallery output from gallery output for other pages.
eg. How it’s possible to change Blog galleries without affecting Eazyest Gallery pages?
– In case the theme overwrites the [gallery] output, than will break the plugin options for future plugin versions.Forum: Plugins
In reply to: [Eazyest Gallery] Really hide thumbnail caption from the outputI think (now I’m not sure) that the plugin overwrites the [gallery] shortcode output:
Eazyest_Shortcodes::gallery_shortcode()
Forum: Plugins
In reply to: [Eazyest Gallery] Classes and output markup for gallery thumbnailsHow to make Eazyest Gallery [gallery] output markup to be different from other [gallery] output?
Can’t find how to customize the gallery_div tag only for Eazyest Gallery.
The eazyest_gallery_itemtag filter special for the plugin.
So why not have a gallery_div tag special for the plugin?function kli_eazyest_gallery_itemtag() { return "li"; } add_filter("eazyest_gallery_itemtag", "kli_eazyest_gallery_itemtag",10,2);
ps: The shortcode_atts_gallery filter has no effect for Eazyest Gallery.
function kli_ezg_gallery_atts( $attr ) { $attr['itemtag'] = 'div'; $attr['nolinkwrap'] = false; //custom return $attr; } add_filter( 'shortcode_atts_gallery', 'kli_ezg_gallery_atts',2099 );
(using plugin v.0.1.RC14)
The plugin overwrites the output for the[gallery] shortcode.
There is an extra option for captions. So you could have an extra option for image-anchor .Line 228 in class-eazyest-shortcodes.php: // Eazyest_Shortcodes::gallery_shortcode() foreach ( $attachments as $id => $attachment ) { if ( isset($attr['nolinkwrap']) && $attr['nolinkwrap'] ){ // just image $attr_image = array( 'src' => $attachment->guid, 'class' => "", 'alt' => wptexturize($attachment->post_excerpt) ); $link = wp_get_attachment_image( $attachment->ID, $size, false, $attr_image ); } else { // as it was, output the link image $link = isset($attr['link']) && 'file' == $attr['link'] ? wp_get_attachment_link($id, $size, false, false) : wp_get_attachment_link($id, $size, true, false); }
Forum: Plugins
In reply to: [Eazyest Gallery] Classes and output markup for gallery thumbnailsManaged to change the gallery_div markup with a filter.
function kli_style_div() { $gallery_div = "<ul class="small-block-grid-2">" return $gallery_div; } add_filter( 'gallery_style', 'kli_style_div', 99 );
Forum: Plugins
In reply to: [Eazyest Gallery] 'More Thumbnails' not workingHis website username/password are the same word: trueform
Forum: Plugins
In reply to: [W3 Total Cache] [0.9.26] Unable to save minified settingsWaiting for this too …
Image urls are still broken on subfolder WordPress install and with custom wp-content root. (using RC9)
/wp/
/wp-content/
/index.php
/wp-config.phpObservations – with EZG setup /wp-content/ftp/
1. Expected to create folders inside in /wp-content/ftp/, but folders created inside /wp/wp-content/ftp/
2. Folders not getting indexed from /wp-content/ftp/, only from /wp/wp-content/ftp/ps: Everything works with /wp/wp-content/ setup (wp-content root inside /wp/ subfolder)
Forum: Plugins
In reply to: [Eazyest Gallery] Why this plugin deletes the Lazyest Gallery plugin?That’s ok. Thank you for your help with this great plugin