Eazyest Gallery
[resolved] Use a page post type for Eazyest Gallery folders; not post (5 posts)

  1. visionlaunchers
    Posted 3 years ago #

    It seems Eazyest Gallery defaults to a post taxonomy when viewing folder contents, meaning there is no way to set the page template used. Consequently, when a Eazyest Gallery folder is viewed, it's displaying my blog sidebar which I don't want to show. I'd rather a custom sidebar (or no sidebar, i.e. a full-width template) be used. The only way I can see this happening is if Eazyest Gallery used a "page" post type rather than the standard post type.

    How can I accomplish this?


  2. klihelp
    Plugin Author

    Posted 3 years ago #

    The wordpress template page calculations are simple -
    If single-galleryfolder.php doen't exist it takes the single.php.
    There is a nice picture in the WordPress codex:

    Copy the special theme files from Eazyest Gallery plugin directory to your template directory and feel free to edit the code.

  3. visionlaunchers
    Posted 3 years ago #

    Thanks for the reply! I'll give this a shot.

    Will the plugin literally look for a file named "single-galleryfolder.php" to use to display the image folders or are you just using the "galleryfolder" as a placeholder for the actual gallery folder name? (I hope that phrasing makes sense). I'd just hate to have to code a special template each time I create a gallery folder with a new name. I'd potentially have 100s of them eventually.

  4. klihelp
    Plugin Author

    Posted 3 years ago #

    no, wordpress will look for the custom-post-type template files.
    The default custom-post-types are: post, page, menu ...

    Eazyest Gallery plugin uses galleryfolder for that.
    There is only 1 special template file for the plugin: eazyest_image.php, all the others are wordpress based.

  5. visionlaunchers
    Posted 3 years ago #

    Thanks for your help!!!!!! Got it working perfectly. You're awesome!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Eazyest Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic