FeedSpring
  • Getting Started
    • 👋Introduction
    • 📖Overview
    • 🏁Getting Started
    • ❓FAQ and Troubleshooting
    • ⚡Options & Advanced
      • Feed Options
      • Dynamic Feeds
      • Placeholder & Loading
      • Timestamps
      • Custom Code
  • Feeds
    • ⚫Instagram
      • Webflow
      • Framer
      • HTML
    • ⚫Google Reviews
      • Webflow
      • Framer
      • HTML
    • ⚫TikTok
      • Webflow
      • Framer
      • HTML
    • ⚫Dribbble
      • Webflow
      • Framer
      • HTML
Powered by GitBook
On this page
  • 1.0. Dynamic Feed
  • 1.1. What's the advantage of a dynamic feed?
  • 1.2 How do you add the dynamic attribute?
  • 1.3 How do you set a limit with the dynamic attribute?
  1. Getting Started
  2. Options & Advanced

Dynamic Feeds

Learn about how to render your feed with our dynamic method

PreviousFeed OptionsNextPlaceholder & Loading

Last updated 9 months ago

1.0. Dynamic Feed

The Dynamic Feed Attribute can be applied to your feed wrapper to automatically generate posts based on the layout of a single 'main' post.

1.1. What's the advantage of a dynamic feed?

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.

1.2 How do you add the dynamic attribute?

1.3 How do you set a limit with the dynamic attribute?

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.

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 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 here.

⚡
feed-options attribute
feed-options attribute