Stars and Tags
SnipShare provides two lightweight ways to organise and discover pastes: stars for bookmarking and tags for categorisation.
Stars are a personal bookmarking system. Star any public paste to save it to your starred list for easy retrieval later.
Requires Stars / Favourites to be enabled in Settings → General.
Starring a Paste
Section titled “Starring a Paste”
On any public paste page, click the ⭐ Star button. The button toggles:
- Star — adds to your starred list, increments the paste’s
star_count - Unstar — removes from your starred list, decrements
star_count
The star count is visible on paste cards in listings and on the single paste view.
Viewing Starred Pastes
Section titled “Viewing Starred Pastes”Your starred pastes appear on your user profile under the Starred tab:
/pastes/user/{username}/Switch to the Starred tab to see all pastes you’ve starred.
BuddyPress Notification
Section titled “BuddyPress Notification”When you star someone else’s paste, SnipShare sends a BuddyPress notification to the paste owner:
{Your Name} starred your paste “{Paste Title}”
This requires BuddyPress and the bp_notifications setting to be enabled. You never receive a notification for starring your own paste.
Tags are site-wide labels for categorising pastes by technology, topic, or purpose. Tags are shared across all users.
Requires Tags to be enabled in Settings → General.
Adding Tags to a Paste
Section titled “Adding Tags to a Paste”On the create or edit form, type tags in the Tags field as a comma-separated list:
php, wordpress, utilities, helper-functionsTags are normalised to lowercase URL-safe slugs. New tags are created automatically; existing tags have their usage count incremented.
Browsing by Tag
Section titled “Browsing by Tag”All pastes tagged with a specific tag are accessible at:
/pastes/tag/{slug}/For example: /pastes/tag/php/ shows all public pastes tagged with “php”.
The tag archive supports the same filters and sorting as the main archive, and uses the same list/grid layout.
- Tags have a UNIQUE constraint on their slug — the same tag is reused across all pastes
- Removing all pastes from a tag does not automatically delete the tag record
- Tag slugs are URL-safe: spaces become hyphens, special characters are stripped
- There is no maximum number of tags per paste (subject to the platform’s data limits)

