Newspaper theme blocks JSON-LD schema output from wp_head / MU plugins

Posted in: Newspaper
Post count: 26

Hi tagDiv team,

We’re seeing a reproducible issue with Newspaper that breaks standard WordPress extensibilit for https://radiofacts.com

When the Newspaper theme is active, MU plugins cannot execute callbacks attached to wp_head(), even though wp_head() itself is rendering output.

Reproduction:
1. Activate Newspaper (current version)
2. Add the attached MU plugin that echoes HTML comments via wp_head
3. View page source on any frontend page

Expected:
<!– RF_WP_HEAD_TEST_EXECUTED –>
<!– RF_WP_HEAD_TEST_LATE_EXECUTED –>

Actual:
Neither marker appears.

Notes:
– The same MU plugin works immediately on standard themes
– Cloudflare is not involved (verified via origin IP tests)
– OPcache reset does not change behavior
– Output buffering works, but wp_head hooks from MU plugins do not

This prevents programmatic injection of schema, meta tags, or SEO logic via hooks and forces HTML-level buffering as a workaround.

Questions:
1. Is Newspaper intentionally bypassing or re-rendering the wp_head lifecycle?
2. Does Newspaper start/flush output buffers that prevent MU plugin hooks from firing?
3. Is there a supported hook intended for injecting <head> content from MU plugins?
4. Is this expected behavior or a regression?

Thanks — happy to provide additional diagnostics if needed.

Post count: 35449

Hi,
This depends on the code you have set in the MU plugin. It’s possible that the code behaves differently with a standard WordPress theme compared to our theme.
Please try a test by disabling all theme plugins and check whether the behavior is the same when using our theme. If it is, this means that one of the theme plugins is overriding the theme code most likely tagDiv Composer or tagDiv Cloud Library.
If this is JavaScript code, you can add it directly in the theme from this section:
https://prnt.sc/39cY8Pyoeowg

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.