Pinned Feed Notices – Sticky Announcements for BuddyPress

Beschreibung

Important news gets lost in a busy activity feed. A welcome message, a rule change or next week’s event is pushed down by the first few updates and most members never see it.

Pinned Feed Notices keeps those announcements at the top of the main activity feed, above every update, until each member dismisses them. Write a notice in the normal WordPress editor, choose which member types should not see it, and publish.

Requires: BuddyPress with the Activity component, or BuddyBoss Platform.

Works with: BuddyPress member types and BuddyBoss profile types.

Who it is for

🎓 Schools and online courses: welcome messages, timetable changes and events for students or teachers only.

🏢 Membership sites and intranets: policy updates, maintenance windows and new features.

💬 Communities and clubs: house rules, meetups and announcements every member should read once.

How it works

  1. Go to Feed Notices > Add New in your WordPress admin and write the notice.
  2. Optionally tick the member types the notice should be hidden from.
  3. Publish. The notice appears at the top of the activity feed, and each member can close it with the × button.

Features

📌 Pin as many notices as you like to the top of the main activity feed. They show on the first page only, above the newest update.

✏️ Write them in the WordPress editor: text, links, images, and embeds for administrators allowed to use them.

👥 Hide a notice from chosen member types, so students and teachers, or free and paid members, each see the announcements meant for them.

✖️ Every notice can be dismissed. A member’s choice is saved to their account and follows them between devices. Logged-out visitors‘ choices are remembered for a year.

🗓️ Schedule a notice with the normal publish date. It appears on the feed when it goes live, and drafts never show.

♿ Accessible: the dismiss control is a real button that works from the keyboard and is announced to screen readers.

⚡ Lightweight: the stylesheet and script load on the activity page only.

🧹 Clean uninstall: deleting the plugin removes its notices, settings and dismissal records, on every site of a network.

Documentation and support

📖 Documentation: setup and a guide for every feature, from creating a notice to hiding notices by member type and dismissing notices.

🛟 Support forum: questions and bug reports. We answer every topic.

✉️ Contact us: anything that is not a support question.

Like it?

A 5-star review is the most useful thing you can do for a small plugin. It takes a minute and helps other community owners find it.

More from The WP Garden

Pinned Feed Notices is made and maintained by The WP Garden, small focused plugins for WooCommerce, BuddyPress and WordPress.

Screenshots

Installation

  1. In your WordPress admin, go to Plugins > Add New Plugin, search for „Pinned Feed Notices“, then click Install Now and Activate.
  2. BuddyPress with the Activity component, or BuddyBoss Platform, must be active.
  3. Go to Feed Notices > Add New, write your first notice and publish it.

FAQ

Where do the notices appear?

At the top of the main activity feed (the Activity page), on its first page. They do not appear on member profiles or in group feeds.

Can members dismiss a notice?

Yes. Every notice has a × button. Logged-in members‘ choices are saved to their account, so a dismissed notice stays gone on every device. Logged-out visitors‘ choices are kept in a cookie for a year.

Can I show a notice only to some members?

Yes. On the notice’s edit screen, tick the member types it should be hidden from under „Hide for the following Member Types“. Members holding any of those types do not see it; everyone else does. Member types have to exist first: set them up under BuddyPress member types, or profile types on BuddyBoss.

Does it work with BuddyBoss?

Yes. It works with BuddyBoss Platform as well as BuddyPress, and BuddyBoss profile types can be used to hide notices.

Can I add images, links or videos?

Yes. Notices are written in the WordPress editor, so links, images and formatting work as in a post. Embeds such as videos work for administrators who are allowed to post them.

Can I schedule a notice?

Yes. Set a future publish date and the notice appears on the feed when it goes live. Drafts, pending and scheduled notices are never shown.

In what order are notices shown?

Oldest first. Developers can change the order with the bp-pinned-feed-notices-query-order filter.

Who can create notices?

Editors and administrators, the same users who can edit pages.

Where is the documentation?

At thewpgarden.com/docs/bp-pinned-feed-notices: setup, plus a guide for every feature.

How do I get support?

Open a topic in the WordPress.org support forum. For anything else, contact us.

Can I translate Pinned Feed Notices?

Yes. You can translate Pinned Feed Notices into your language on translate.wordpress.org.

Rezensionen

3. Dezember 2023 1 Antwort
Great plugin. It is possible to realize many practical ideas with it.Thank you for a great plugin!
Alle 2 Rezensionen lesen

Mitwirkende und Entwickler

„Pinned Feed Notices – Sticky Announcements for BuddyPress“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Änderungsprotokoll

1.1.0

  • Security: Added nonce and capability checks to the member type save handler.
  • Security: The dismiss endpoint now confirms the submitted ID is a real published notice before storing it.
  • Security: Escaping corrections in the notice markup and the admin member type list.
  • Fix: Notices hidden for a member type could still show to members holding more than one member type.
  • Fix: Draft, pending and scheduled notices were displayed on the activity feed to every visitor.
  • Fix: Quick Edit, bulk edit and autosave no longer wipe a notice’s „Hide for Member Types“ selection.
  • Fix: The „Hide for Member Types“ boxes did not load their saved values in every edit context.
  • Fix: The member type checkboxes were hidden on sites with exactly one member type.
  • Fix: Logged out visitors could not dismiss a notice at all. Their choice is now remembered in a cookie for a year.
  • Fix: Notices never appeared on template packs that render the first page of the feed server-side.
  • Fix: Embedded content such as iframes no longer disappears from notices written by administrators who are allowed to use it.
  • Accessibility: The dismiss control is now a real button, so it can be reached with the Tab key and activated with Enter or Space, and it exposes a proper label to screen readers.
  • Accessibility: Dismissing a notice is announced through a polite live region, and keyboard focus moves to the next notice instead of being lost.
  • Change: Notices are no longer public posts. They have no front-end URL, archive or rewrite rules, since they only ever render inside the feed.
  • Change: The stylesheet and script now load only on the activity directory instead of on every page.
  • Change: An admin notice now explains that the plugin is idle when neither BuddyPress nor BuddyBoss Platform is active, instead of failing silently.
  • Change: Admin-only code no longer loads on the front end, and both classes now use a single shared instance.
  • Change: Deleting the plugin now removes its notices, post meta, per member dismissal lists and options, on every site of a network.
  • Update: WordPress 7.0.2
  • Update: BuddyPress 14.5.0

1.0.3

  • Update: WordPress 6.7.1
  • Update: BuddyPress 14.3.3

1.0.2

  • Update: WordPress 6.2
  • Update: BuddyPress 11.1.0

1.0.1

  • Sanitization, Escaping attributes, Title change

1.0

  • First Edition release