klihelp
Forum Replies Created
-
Forum: Plugins
In reply to: [Eazyest Gallery] How to get comments per image?Your template should have own copy of eazyest-image.php from plugins/eazyest-gallery/themes directory, modify the file and insert the comment section:
<?php comments_template(); ?>WordPress 3.7 have new filters to use:
ajax_query_attachments_args – http://core.trac.wordpress.org/ticket/24285
count_posts – http://core.trac.wordpress.org/changeset/25554Forum: Plugins
In reply to: [Eazyest Gallery] Number of thumbails in eazyest galleryGo to Eazyest Gallery settings in Image Options set Thumbnails per page to 0 (zero).
Forum: Plugins
In reply to: [Eazyest Gallery] Eazyest vs LazyestYou can have your own copy of templates files from the plugin/eazyest-gallery/themes directory.
Forum: Plugins
In reply to: [Eazyest Gallery] Edit text on Next and PreviousYou can have your own copy of eazyest-image.php from the eazyest-gallery/themes directory.
Forum: Plugins
In reply to: [Eazyest Gallery] Eazyest Gallery Display PageDelete the Page with the gallery slug (and delete it from the Trash as well). Now that the gallery slug is free, go to Eazyest Gallery settings and use update the slug.
Forum: Plugins
In reply to: [Eazyest Gallery] Moving pics to another folderThat would be a nice feature!
ps: You will get different problems if you use FTP to move the pictures to another folder.
http://wordpress.org/support/topic/zomby-attachments-left-behind-if-you-delete-folders-on-ftp-in-adminForum: Plugins
In reply to: [Admin Columns] Make compatible with WordPress subfolder installThank you, it’s working:)
Forum: Plugins
In reply to: [Eazyest Gallery] Use standard WordPress categories?Eazyest Gallery is using pages and page hierarchy for subfolders, not categories. eg. Main folder is the parent page, and subfolders are children of the page …
Forum: Plugins
In reply to: [Admin Columns] Suggestion : Control Based on User LevelThis would be good! Eg. Admins could have more columns than subscribers..
Forum: Plugins
In reply to: [Eazyest Gallery] Subfolders in submenuYou put the code part into the functions.php.
And you call the function in your theme, in the header.php but this is depends of your design. This function only outputs the subfolders in a raw html list, ready to use programatically.Forum: Plugins
In reply to: [Eazyest Gallery] Subfolders in submenuHope this function helps:
my_ezg_subfolders_links();
or
my_ezg_subfolders_links( $postID, ‘hash’, ‘data-any:”thing”‘ )/* my_ezg_subfolders_links() * * post_id - parent post id * type - hash OR no-hash * data - include additional attributes string * */ function my_ezg_get_subfolders_links( $post_id = 0, $type = 'no-hash', $data = '' ) { $output = ''; list( $orderby, $order ) = explode( '-', eazyest_gallery()->sort_by() ); $children = get_children( array( 'numberposts' => -1, 'post_parent' => $post_id, 'post_type' => eazyest_gallery()->post_type, 'order' => $order, 'orderby' => $orderby, 'post_status' => array( 'publish', 'inherit' ) )); foreach ( $children as $post ) { $output .= "<li><a href=". ( $type == 'hash' ? $post->guid : "#{$post->post_name}"); $output .= " data-id= $post->ID "; if ( $type == 'hash' ) $output .= " data-href= $post->guid "; if ( $data ) $output .= " {$data}"; $output .= ">{$post->post_title}</a></li>"; } return $output; } function my_ezg_subfolders_links( $post_id = 0, $type = 'no-hash', $data = '' ) { echo my_ezg_get_subfolders_links( $post_id, $type , $data ); return; }Forum: Plugins
In reply to: [Eazyest Gallery] Subfolder showing in postThe wordpress template page calculations are simple – default custom-post-types are: post, page, menu …
Eazyest Gallery plugin uses galleryfolder for that.
If single-galleryfolder.php doen’t exist it takes the single.php.
Copy the theme files from Eazyest Gallery plugin directory to your template directory and feel free to edit the code.Forum: Plugins
In reply to: [Eazyest Gallery] Remove Folder Title in PostsMissing filter for that.
You copy and modify the ezg_subfolders() to your theme functions.php, just swap out to your custom subfolders listing function.// Own subfolders list function my_ezg_subfolders_swap( $columns ) { remove_action('eazyest_gallery_after_folder_content','ezg_subfolders', 5); add_action('eazyest_gallery_before_folder_content','my_ezg_subfolders', 6); } add_action('eazyest_gallery_before_folder_content','my_ezg_subfolders_swap', 1); /** * Eazyest_Frontend::subfolders() * Echo subfolders listing for galleryfolder */ function my_ezg_subfolders( $post_id = 0, $page = 1 ) { ... }There is a plugin with Universal Analytics support: