October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How to Display Announcements in Your WordPress Blog

Choose a sticky post to keep an update at the top of your blog feed, or use an announcement bar to show a short notice across selected pages.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To keep an announcement above newer blog posts, publish it as a regular post and mark it sticky. To show a short notice across selected pages, use an announcement-bar plugin or have a developer add a custom bar. A sticky post belongs in the posts feed; it does not automatically create a sitewide banner.

Choose the display that fits your announcement

What you need Best starting point Trade-off
A dated update that belongs among your articles A regular post, optionally marked sticky It appears in the blog feed, not necessarily on every page. WordPress.org documentation describes sticky posts as a feature for the built-in post type post, not custom post types.
A short notice or call to action visible beyond the feed An announcement-bar plugin You add a plugin dependency, and its features and compatibility depend on the plugin. Check its current listing and test it on your site.
A custom design or specific display rules Theme or plugin code It requires developer work and ongoing maintenance. WordPress Developer Blog demonstrates one implementation using the wp_body_open hook.
A browsable series of announcements A dedicated page, category, or custom post type with an archive You need a suitable archive or display design; core sticky posts do not apply to custom post types. WordPress.org documentation explains the built-in post-type limitation.

Pin an announcement post to the top of the blog

  1. In the dashboard, go to Posts → All Posts and edit the announcement, or choose Posts → Add New to create it.
  2. In the post settings sidebar, open the document or post settings and find the visibility or status controls.
  3. Enable Stick to the Front Page, or the equivalent sticky option in your editor, then publish or update the post.
  4. Visit the front page that displays your posts and check that the announcement appears above newer posts. Theme templates can affect how sticky posts look, so verify the result on your actual site.
  5. When the announcement is no longer current, edit the post and turn off its sticky status. WordPress.com’s guide to sticking a post also describes removing the status when the post should no longer stay above the feed.

Use sticky status sparingly. If many unrelated posts are pinned, readers may find it harder to tell which update matters most, and themes may present sticky items differently. The core feature keeps a post at the top of the front page of posts; it is not a guarantee that the post appears across every page.

Show a short notice across pages with a plugin

An announcement bar is a better fit when a brief message—such as a maintenance notice or feature update—should accompany pages rather than function as a full article. The WordPress.org listing for Announcement Notification Bar describes top or bottom placement, fixed or scrolling display, targeting the homepage, blog, or selected posts and pages, a call to action, and a dismissal control. These are plugin-listing claims, not guarantees about WordPress core.

The listing for Announcer describes installing and activating the plugin, opening its announcement-management screen, creating and configuring an announcement, and publishing it. It also describes floating bars and multiple announcements. Before choosing either plugin, review its current release information, compatibility, support activity, and settings in the directory; plugin features can change.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

As an Amazon Associate I earn from qualifying purchases.

After setup, check the message on the pages and devices where readers will see it. Confirm that its placement does not obscure navigation or page content, that any call to action works, and that dismissal behaves as expected.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Have a developer build a custom announcement bar

For a site with developer support, the WordPress Developer Blog’s March 2024 example uses the wp_body_open hook to render a front-end bar. The example retrieves a saved message and passes it through esc_html() before output, which helps prevent message content from being interpreted as markup.

Treat that example as a starting point, not code to paste blindly into a live theme. The implementation needs to fit your theme and define when the bar appears, how it is styled, and how it works for people using assistive technology. A developer should also account for how the message is maintained and removed.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Keep the announcement current

  • Give the message a clear purpose and, when relevant, a date or end point.
  • Use a sticky post when readers should find a fuller update in the blog feed; use a bar when the short notice should appear on other pages.
  • Review the live display after changing the theme, editor, plugin, or announcement settings.
  • Remove sticky status or unpublish the bar when the information is no longer useful.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.