Featured Sticky Posts are paginated?
I love the ability to feature posts and make them sticky through custom metadata which I've added to my template e.g.
Sticky: yes
Rest of post here...
However, one issue I've found is that pagination unsticks the posts. As soon as they have gone off of the front page, they are no longer sticky. Is there any way to change this? Thanks!
If you wrap the template code which pins sticky posts with {{#all_entries}}...{{/all_entries}}
you should get the behaviour you're after. My suspicion is that your current implementation uses the {{#entires}}
block, which is paginated. It'll look something like this:
{{#all_entries}}
{{#metadata.sticky}}
<a href="{{{url}}}">{{title}}</a><br>
{{/metadata.sticky}}
{{/all_entries}}
Does that get you what you're after? Please let me know if you have any questions about the specifics
Answered a year ago · Edit answer