WordPress.org

Ready to get started?Download WordPress

Forums

Eazyest Gallery
[resolved] Change gallery template (9 posts)

  1. drinkingsouls
    Member
    Posted 1 year ago #

    Hey, I've used lazyest gallery for years and I liked how you could modify the theme by using custom page templates. However as this release of easyest gallery is archive based it adopts the theme for news archives (archives.php). How can I create a custom theme for easyest gallery without it adopting archives.php as its theme?

    Thanks,
    Chris

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

  2. drinkingsouls
    Member
    Posted 1 year ago #

    it says 'The plugin includes templates for the WordPress default themes TwentyTen, TwentyEleven and TwentyTwelve. You may copy and adjust these templates to your (child) theme.' but I am not using any of those themes. How can I adjust these and apply them to my theme? Thanks

  3. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin has templates included for the default WordPress twenty* and weaverii themes.
    You could copy the archive-galleryfolder.php to your child theme and adapt it to your theme.
    The files are in plugins/eazyest-gallery/themes/
    However, you could also use the [eazyest_gallery] shortcode in one of your page, to get the same gallery archive pages as you had with Lazyest Gallery. If you use the shortcode, you'd better remove the breadcrumb trail to prevent visitors to stumble upon the default archive page.

  4. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    If you want to adjust the templates compare the template with the template in your theme and add your theme's stuff to the eazyest gallery template.

  5. drinkingsouls
    Member
    Posted 1 year ago #

    Hey, thanks for the reply.
    I tried copying archive-galleryfolder.php but it didnt work as a stand-alone file. I'm really confused about the way easyest gallery is setup. Its like it displays every folder as a post? Whereas lazyest gallery seemed to display them as pages? I have to go into all my folders to disable comments individually now, which is taking a while. I just dont understand how I'm going to be able to change the look of the gallery now. The folders are all displayed using the single.php template which I cant edit as it will mess with the way my posts are displayed. Is there no way to set it up as pages like lazyest gallery?
    Thanks

  6. drinkingsouls
    Member
    Posted 1 year ago #

    I don't get it, it the gallery supposed to be adopting my archives.php template? Why would it be doing that? They're not posts, it's a gallery. In my recent posts widget its showing the gallery folders as posts. They shouldn't be there surely?

  7. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, they should be. Eazyest Gallery folders actually are posts. The plugin stores folder information in custom posts types.
    It uses single-galleryfolder.php to display folders. If that can't be found, it will use single.php.

  8. drinkingsouls
    Member
    Posted 1 year ago #

    Well I decided to revert back to lazyest gallery for now as displaying gallery folders as posts isn't appropriate for my site. I can't have galleries coming up in the recent posts widget, that just makes no sense to me. If I wanted galleries to be posts I would post the images in a post. Anyway, now I've run into a new problem. After installing eazyest gallery, removing it and then trying to instal lazyest gallery again, lazyest gallery is not working. It instals, I run through the setup but then when i try to go to the gallery page it just reverts to the homepage of my site. The widgets also don't display any images.
    Whats gone wrong here?
    Thanks

  9. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    OK, there are filters to disable folders to show up in your recent posts list.
    Check if your gallery page still exists and the slug is valid.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic