Dynamic Feeds
Learn about how to render your feed with our dynamic method
Last updated
Learn about how to render your feed with our dynamic method
Last updated
The Dynamic Feed Attribute can be applied to your feed wrapper to automatically generate posts based on the layout of a single 'main' post.
The key advantage of the dynamic feed is having a single source of truth for your post layout, which simplifies making changes. Instead of duplicating each post element, the dynamic attribute allows you to display multiple posts from one layout. This approach enables FeedSpring to generate additional posts for you, streamlining the process and ensuring consistency.
To add the dynamic attribute navigate to your feed wrapper and add an additional attribute with name="feed-options"
and value="render:dynamic"
. With this setup, you only need to create one element with the post wrapper, and FeedSpring will handle generating all the additional posts for you. You can learn more about the feed-options attribute here.
You can set the post limit directly within your FeedSpring dashboard under the additional settings. Alternatively, you can specify the limit within the attribute itself by including the value as a feed option. You can learn more about the feed-options attribute here.
name="feed-options"
andvalue="render:dynamic|limit:8"
As of version 1.3.0, the attribute value limit
has replaced the previously used count
. The count
attribute is no longer supported in this and future versions.