What would you like to know more about?

Sermon Widget

You've created a sermon series, and you're using sermons and sermon series in your app. Want to get those same great sermons onto your website? We have a widget for that!

You can use the sample embed code below anywhere on your website, and you'll immediately see the published sermon series and sermons – the same as users see in your app. Be sure to replace "[[customerSlug]]" with the information you got from Support. If you don't have that yet, reach out to Support to request it.

<div id="sermons-widget"></div>
<script src="https://static-files.prod.pocketplatform.io/PocketPlatform.js"></script>
<script>
    PocketPlatform.sermons().then(sermons => {
    sermons.init(document.getElementById('sermons-widget'), {
      customerSlug: '[[customerSlug]]'
      });
    });
</script>

Filtering the Sermon Widget

You can filter the widget to show a certain Sermon Series Type, which is like a "bucket" of media. For example, you might add the widget on a page of your website dedicated to kids and filter it by Children's Lessons. You might set the widget to show Devotionals on your home page.

To do this, use the code above and add the following after your customerSlug: , Sermon_Series_Type_ID: then enter the ID number of the sermon series type. For example:

<div id="sermons-widget"></div>
<script src="https://static-files.prod.pocketplatform.io/PocketPlatform.js"></script>
<script>
    PocketPlatform.sermons().then(sermons => {
    sermons.init(document.getElementById('sermons-widget'), {
      customerSlug: '[[customerSlug]]',
      Sermon_Series_Type_ID: 1
      });
    });
</script>
Note: Want to filter the Sermon widget by something else? Let us know your thoughts via the Idea Board!