Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macOS Dots Pro

macOS Dots Pro is a free WordPress plugin that adds Finder-inspired color labels to posts, pages, media, and category list screens.

Features

  • Five familiar labels: red, orange, yellow, green, and blue
  • One-click labels directly in WordPress list tables
  • Subtle row tinting for quick visual scanning
  • Color filters for posts, pages, media, and categories
  • Sortable color columns and authorization-safe bulk actions
  • Keyboard-accessible controls with screen-reader announcements
  • Stable hover palettes and original label hues in Admin Dark Mode
  • Extensible post type and taxonomy support through WordPress filters
  • No settings screen, tracking, external requests, or build step

Requirements

  • WordPress 6.0 or newer
  • PHP 7.4 or newer

Installation

  1. Download macos-dots-pro-4.1.2.zip from the latest GitHub release.
  2. In WordPress, open Plugins > Add New > Upload Plugin.
  3. Select the ZIP, install it, and activate macOS Dots Pro.
  4. Open Posts, Pages, Media, or Categories and use the new color column.

You can also clone this repository into wp-content/plugins/macos-dots-pro.

Extending support

The plugin supports posts, pages, attachments, and categories by default. Developers can add public admin post types or taxonomies:

add_filter(
	'mcd_supported_post_types',
	static function ( $post_types ) {
		$post_types[] = 'product';
		return $post_types;
	}
);

add_filter(
	'mcd_supported_taxonomies',
	static function ( $taxonomies ) {
		$taxonomies[] = 'product_cat';
		return $taxonomies;
	}
);

Every update remains subject to the current user's WordPress capabilities for the target content item or taxonomy.

Data

Post, page, and attachment labels use the _mcd_color post meta key. Taxonomy labels use the mcd_color term meta key. Uninstalling the plugin removes both.

Development

The production source is maintained in the coded-letter-monorepo and released to this public repository. The plugin has no build step.

Validate JavaScript changes with:

node --check assets/macos-dots-pro.js

Validate PHP changes, when PHP is available, with:

php -l macos-dots-pro.php
php -l uninstall.php

License

macOS Dots Pro is free software licensed under the GNU General Public License v2.0 or later.

About

Accessible macOS-style color labels for WordPress content list screens.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages