Available Variables#

The following are common methods you will want to call in your front end templates:

craft.socialFeeds.getAllFeeds()#

Returns a collection of Feed objects.

craft.socialFeeds.getAllEnabledFeeds()#

Returns a collection of enabled Feed objects.

craft.socialFeeds.getFeedById(id)#

Returns a Feed object by its ID.

craft.socialFeeds.getFeedByHandle(handle)#

Returns a Feed object by its handle.

craft.socialFeeds.getAllSources()#

Returns a collection of Source objects.

craft.socialFeeds.getAllEnabledSources()#

Returns a collection of enabled Source objects.

craft.socialFeeds.getAllConfiguredSources()#

Returns a collection of configured Source objects.

craft.socialFeeds.getSourceById(id)#

Returns a Source object by its ID.

craft.socialFeeds.getSourceByHandle(handle)#

Returns a Source object by its handle.

craft.socialFeeds.getPosts(feedHandle, options)#

Returns a collection of Post objects for the provided Feed handle.

craft.socialFeeds.renderPosts(feedHandle, options)#

Returns the HTML of rendered Post objects for the provided Feed handle.

Previous ← YouTube Next Rendering Posts →

Get started with Social Feeds

Available for Craft 4. Get it from the plugin store.