Clone Project

CMS post navigation with filter

Created by
arthurvveen
Similar Projects
Oops! Something went wrong while submitting the form.

0 Comments

Be the first to leave a comment.
Loading
User is typing...
No Name
Set
4 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
No Name
Set
2 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
Load More
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Load More
Description:  
Description from Webflow:  
With this solution you can use the filters in the cms collection items. The project has a collection list page and a collection item page. On both you can set a filter (in this example the facebook link is set or not set). When using this filter, the navigation will show only the items that match the filter settings Thanks to the first contributors @hammerhouse and @lux in the posts below https://forum.webflow.com/t/native-linking-to-previous-and-next-post-or-page-using-cms/19525/2 and https://forum.webflow.com/t/native-linking-to-previous-and-next-post-with-titles-using-cms/55240 on the webflow forum. I added some changes in the script part. So please read the posts, specially how to set the ID's and then use the script in the custom code part of the collection item page. It will only work after publishing. Make sure to set the style display from inline to none to hide the collection list in the collection item page
Tags from Webflow: 
navigation, filter, filtering
.