I am working on a project that would like to create single page exhibits using the ExhibitBuilder plugin, which is really setup for nested multi-section/multi-page entries (and just looks and feels wrong with single section/page entries). As such, I created a custom template in my theme, and thought I'd share it in case anyone else is trying to do something similar.
Create a custom template and place in your theme directory in
exhibit-builder/exhibits/show.php (generally, the best way to start is to copy the existing one from the plugin directory). Replace the navigation code with something like this:
<?php // if theres more than one section, display the section nav $total_sections= count($exhibit->Sections); echo ($total_sections > 1) ? exhibit_builder_section_nav() : ''; ?> <?php // if there's more than one page in the section, show the section page nav $exhibitSection = exhibit_builder_get_current_section(); $total_pages= count($exhibitSection->Pages); echo ($total_pages > 1) ? exhibit_builder_page_nav() : ''; ?> <?php // if there's more than one section, show the page title echo ($total_sections > 1) ? '<h2>'.exhibit_page('title').'</h2>' : '<br>'; ?>