WordPress.org

Support

Support » Plugins and Hacks » Eazyest Gallery » [Resolved] Change gallery template

[Resolved] Change gallery template

  • 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/

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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

    Plugin Author Marcel Brinkkemper

    @macbrink

    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.

    Plugin Author Marcel Brinkkemper

    @macbrink

    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.

    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

    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?

    Plugin Author Marcel Brinkkemper

    @macbrink

    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.

    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

    Plugin Author Marcel Brinkkemper

    @macbrink

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Change gallery template’ is closed to new replies.
Skip to toolbar