WordPress.org

Ready to get started?Download WordPress

Forums

Eazyest Gallery
[resolved] Folder Description Location (6 posts)

  1. crackedjar
    Member
    Posted 1 year ago #

    Sometimes I type a description for my folders. If using the built-in gallery in WP, the description shows above the photo thumbnails, but in Eazyest Gallery, it shows below the thumbnails. Is there any way to change this?

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

  2. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, add this to your child theme functions.php:
    It will move the thumbnails and slideshow link to below the description.

    function move_eazyest_actions() {
    	remove_action('eazyest_gallery_before_folder_content', 'ezg_slideshow_button', 9);
    	remove_action('eazyest_gallery_before_folder_content', 'ezg_folder', 10);
    	add_action('eazyest_gallery_after_folder_content', 'ezg_slideshow_button', 1);
    	add_action('eazyest_gallery_after_folder_content', 'ezg_folder', 2);
    }
    add_action( 'eazyest_gallery_ready', 'move_eazyest_actions' );
  3. crackedjar
    Member
    Posted 1 year ago #

    Just tried to do this and got an error, then I saw you had already done it, and now I can't get into my blog at all. I get this error message.

    Fatal error: Cannot redeclare move_eazyest_actions() (previously declared in /home/this2671/public_html/wp-content/themes/eazyest-matala/functions.php:8) in /home/this2671/public_html/wp-content/themes/eazyest-matala/functions.php on line 20

  4. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    yes, it was already in your functions.php (see my mail)

  5. crackedjar
    Member
    Posted 1 year ago #

    Thanks. All fixed. :)

  6. Vala Palmadottir
    Member
    Posted 8 months ago #

    Thanks for this tip. Worked like a charm on my site :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.