WordPress.org

Ready to get started?Download WordPress

Forums

Eazyest Gallery
[resolved] Remove Folder Title in Posts (4 posts)

  1. sandgropher
    Member
    Posted 8 months ago #

    I have added a gallery to my post and would like to remove the folder name. Is there an obvious way to do this?

    http://wordpress.org/plugins/eazyest-gallery/

  2. klihelp
    Member
    Plugin Author

    Posted 8 months ago #

    Missing 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 ) {    
    
    ...
    
    }
  3. sandgropher
    Member
    Posted 8 months ago #

    Hi klihelp, thanks for the help with this but can not get it to work for me. I have copied the Frontend::subfolders to my child-theme and added the above functions to my function list but nothing happens. Have I done this/understood you correctly?

    sandgropher.

  4. klihelp
    Member
    Plugin Author

    Posted 1 month ago #

    Sandra, the code above were just starting point, the main function body needs to be written. How did you resolve it.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.