Skip to content

Broadcasts: Export: Greeting, Sign-off and Read on the Web settings - #1260

Merged
n7studios merged 8 commits into
broadcasts-export-preview-textfrom
broadcasts-export-greeting
Oct 30, 2026
Merged

n7studios merged 8 commits into
broadcasts-export-preview-textfrom
broadcasts-export-greeting

Conversation

@n7studios

Copy link
Copy Markdown
Contributor

Summary

Adds settings to Broadcasts > Export, so draft Broadcasts created from WordPress Posts are closer to ready to send:

Screenshot 2026-10-26 at 12 20 33
  • Greeting: HTML added to the start of the Broadcast. Supports Liquid e.g. Hi {{ subscriber.first_name | default: "there" }},
  • Sign-off: HTML added to the end of the Broadcast. Supports Liquid.
  • Read on the Web: adds a "Read this on the web" link to the Post's permalink at the top or bottom of the Broadcast. Only added once the Post is published, as a draft Post's link won't work. The link text can be changed using the convertkit_broadcasts_exporter_web_link_text filter.

Greeting and Sign-off are sanitized with wp_kses_post() and added after Disable Styles is applied. Conditional display JS now supports <textarea> fields.

Testing

  • BroadcastsExportTest: Greeting and Sign-off, Read on the Web (top, bottom, filter), no link for draft Posts.
  • BroadcastsToPostsSettingsCest::testSaveGreetingSignOffAndWebLink: settings save, keeping Liquid and removing scripts.

Checklist

@n7studios n7studios added this to the 3.4.8 milestone Oct 26, 2026
@n7studios n7studios self-assigned this Oct 26, 2026
@n7studios
n7studios changed the base branch from broadcasts-export-link-back to tests-resource-order-assertion October 28, 2026 08:24
@n7studios
n7studios changed the base branch from tests-resource-order-assertion to broadcasts-export-preview-text October 28, 2026 08:26
@github-actions

Copy link
Copy Markdown

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios
n7studios marked this pull request as ready for review October 29, 2026 03:08
@n7studios
n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team October 29, 2026 03:08
@n7studios
n7studios merged commit d26171e into broadcasts-export-preview-text Oct 30, 2026
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants