Closed ErikXXon closed 9 years ago
After that you have enabled the streamer pre-text (wp-admin -> Manage Lists -> Settings) you will get two text inputs when you activate the streamer on an article. You access the pre-text using the variable {{options.streamerPre}}
. The code in your article template might look something like:
{{#options.streamerPre}}
<div class="streamer divided">
<div class="alignleft">{{{options.streamerPre}}}</div>
<div class="alignright">{{{options.streamerContent}}}</div>
</div>
{{/options.streamerPre}}
{{^options.streamerPre}}
{{#html_streamer}}
<div class="streamer"> {{{html_streamer}}} </div>
{{/html_streamer}}
{{/options.streamerPre}}
Thanks Victor! :)
When fill in the extra pre field, my custom streamer dont work.
When i don fill anything into the pre-field everything works.
The wrapper needs automatic overflow
.streamer.divided {
overflow: auto;
}
How do you use the "new" streamer_pre?
Templates, Filters?