What are you looking for?

Get help quickly.

Create Rotating Devotionals

Advanced Topics

Create Rotating Devotionals

Display randomized daily devotionals on your website.

Last updated on 05 Feb, 2026

TL;DR

1
Access Daily Devotional Posts
Go to Posts and view the Daily Devotional category.
2
Edit Daily Devotional Page
Navigate to Pages and edit the Daily Devotional page.
3
Configure Query Loop
Set up a Query Loop to display posts.
4
Customize Display Settings
Choose how to display the Daily Devotional content.
5
Set Random Display
Modify code for random post display on refresh.
6
Preview Changes
Check the preview and refresh to test functionality.

Let's Do It Together!

Step 1: Access Posts

  1. Navigate to Posts in your dashboard.

  2. Find the category Daily Devotional which contains your existing posts.

  3. Click on the category to view all posts.

You will see all Daily Devotional posts listed for use.

Snapshot

Step 2: Edit Daily Devotional Page

  1. Go to Pages and find the Daily Devotional page.

  2. Edit the page and expand the Document Overview.

  3. Add a Query Loop using the Plus icon and search for it, then click on the block to add it to the page.

Snapshot

Step 3: Configure Query Loop

  1. Expand the Query Loop settings.

  2. Select the desired Post Type to display (e.g., Posts).

  3. Select the Categories to filter the content to (e.g. Daily Devotional).

  4. Choose how many you want to display in a result in the Items per Page (e.g. 1)

  5. In the Document Overview, customize the Post Template.

  6. Remove unnecessary elements like date, spacer, and pagination.

  7. Use the + icon to search for any other content elements you want to include from the post into the Query Loop template (e.g. Content, which is the full content of the Post).

Your Daily Devotional will now display the selected content correctly.

Snapshot

Step 5: Implement Random Display

  1. Access the Code Editor by clicking the three dots (Options) in the top right corner.

  2. Change the Order By setting from "date" to "rand" for random display.

  3. Exit the code editor.

Your setup will now show a random Daily Devotional on each refresh.

Snapshot

Step 6: Preview and Test

  1. Click the Preview option to view changes in a new tab.

  2. Refresh the page to see a new Daily Devotional displayed.

You should now have a functional rotating Daily Devotional display.

Snapshot

Did you find this article helpful?
Previous

Using Advanced Custom Fields (ACF)

Next