Support » Plugin: Eazyest Gallery » Modify Folder Icon

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can enable Extra Fields for Folders for the icon url, than custom code the gallery output.

    Also this could be done with folder Featured Images (not supported yet) and custom gallery output to exclude this image from the attachments.

    You can use also 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:

    The code for your functions.php:

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modify Folder Icon’ is closed to new replies.