Support » Plugin: Eazyest Gallery » Widget: EZG Recent folders

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author klihelp

    (@klihelp)

    You can use the eazyest_gallery_folder_icon filter.

    The plugin uses that filter for the folder icon:
    $icon = apply_filters( ‘eazyest_gallery_folder_icon’, eazyest_gallery()->plugin_url . ‘frontend/images/folder-icon.png’ );

    WordPress page about how to add filters:
    http://codex.wordpress.org/Function_Reference/add_filter

    Plugin Author klihelp

    (@klihelp)

    The code for your functions.php:

    // Custom folder icon thumbnail
    function custom_folder_icon() {
    	return 'custom/path/to/image.jpg';
    }
    add_filter('eazyest_gallery_folder_icon','custom_folder_icon');

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget: EZG Recent folders’ is closed to new replies.