Empty Featured section with Source theme and Search header style

Issue Summary

Using the Source theme (latest on GhostPro) with the Search header style selected, it sometimes (not always) generates an empty Featured section.

My understanding is that there should be no Featured section for header styles Search, Landing, and Off since there is no “Show featured posts” slider in the theme settings for these header styles.

See a discussion of this elsewhere in the forum: Source theme, Search header style, and Featured posts

Side note: A great fix would be to actually support Featured posts with the Search header style.

Steps to Reproduce

In the Source theme configuration, select Search for the header style and have no posts marked featured (though this shouldn’t matter). Unfortunately, this is a bit of a heisenbug because it does not happen every time. The good news is that I got a screenshot of it happening.


Setup information

Ghost Version
GhostPro (hosted).

Version says 5.110.1-1-g42ceeba0+moya

Node.js Version
N/A

How did you install Ghost?
N/A

Provide details of your host & operating system
N/A

Database type
N/A

Browser & OS version
Chrome 133.0.6943.142 (desktop)
Chrome on iOS 18.3.1 (not sure how to check Chrome version)

Relevant log / error output
N/A

Screenshot of occurrence on desktop Chrome:

I just recreated the bug by simply publishing a post. Attaching a screen shot from Chrome on Windows 10 and iOS 18.3.1.

UPDATE: I fixed it by changing the header style to Off, saving, changing the header style back to Search, and saving again.

Not ideal if I have to do this after every post, but a work-around for now.

I noticed a while back that ‘Featured’ posts had disappeared in Source. Despite setting posts to ‘Featured’ they were not. Be nice to get it back, otherwise, remove the featured post toggle, as confusing otherwise. I’d like to see it in Landing view but it just doesn’t show at all.