WordPress.org

Ready to get started?Download WordPress

Forums

Eazyest Gallery
[resolved] Folder description to the top (5 posts)

  1. Steven de Jong
    Member
    Posted 1 year ago #

    Hello,
    When I made a folder the description is below all the images, How/where can I move this to the top?
    Steven de Jong

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

  2. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    Add this to your child theme functions.php:

    function content_before_thumbnails() {
      remove_action( 'eazyest_gallery_before_content', 'ezg_folder', 10 );
      add_action( 'eazyest_gallery_after_folder_content', 'ezg_folder', 4 );
    }
    add_action( 'eazyest_gallery_ready', 'content_before_thumbnails' );

    Amazing how flexible Eazyest Gallery is eh? ;-)

  3. Steven de Jong
    Member
    Posted 1 year ago #

    Thanks but now I have one folder above and one folders below the description
    Screenshot of the folder

  4. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    ow yeah. I was to fast in typing my answer. It should have been:

    function content_before_thumbnails() {
      remove_action( 'eazyest_gallery_before_folder_content', 'ezg_folder', 10 );
      add_action( 'eazyest_gallery_after_folder_content', 'ezg_folder', 4 );
    }
    add_action( 'eazyest_gallery_ready', 'content_before_thumbnails' );

    nu zou het moeten werken.

  5. Steven de Jong
    Member
    Posted 1 year ago #

    Bedankt!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.