• Resolved visionlaunchers

    (@visionlaunchers)


    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?

    https://www.ads-software.com/extend/plugins/eazyest-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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:
    https://codex.www.ads-software.com/Template_Hierarchy

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

    Thread Starter visionlaunchers

    (@visionlaunchers)

    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.

    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.

    Thread Starter visionlaunchers

    (@visionlaunchers)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Use a page post type for Eazyest Gallery folders; not post’ is closed to new replies.