I don't want certain folders displayed in the navigation, but I want to use the contents in a few spots in the pages... however, using {{ entries:listing }}
on a hidden folder does not work like it does with published folders, is there a work-around other than making the navigation static and publishing the hidden folders?
layouts/default.html
<div id="camera_wrap">
{{ entries:listing folder="home-slider" limit="3" }}
{{ theme:partial src="slider_content" use_context="true" }}
{{ /entries:listing }}
</div>
partials/slider_content.html
{{ if upload:0 }}
<div data-src="{{ transform src='{{ upload:0 }}' }}">
{{ else }}
<div data-src="{{ transform src='{{ upload }}' }}">
{{ /if }}
<div class="caption fadeIn">
<div class="caption_bg">
<span class="slider_txt1">{{ title|widont }}</span>
<span class="slider_txt2">{{ content }}</span>
</div>
</div>
</div>
Result:
<div id="camera_wrap">
<div data-src="' }}">
<div class="caption fadeIn">
<div class="caption_bg">
<span class="slider_txt1">Home</span>
<span class="slider_txt2"></span>
</div>
</div>
</div>