Skip to content

Document dash substitution for category slugs in shortcodes - #322

Merged
dgershman merged 1 commit into
mainfrom
feature/mayo-321-category-spaces-dash-shortcodes
Aug 9, 2026
Merged

Document dash substitution for category slugs in shortcodes#322
dgershman merged 1 commit into
mainfrom
feature/mayo-321-category-spaces-dash-shortcodes

Conversation

@dgershman

Copy link
Copy Markdown
Contributor

Summary

  • Documents that category and tag names with spaces should use dashes in shortcode parameters (e.g., "Cell Awareness" → cell-awareness)
  • Adds a general "Category and Tag Slugs" section to the admin shortcode docs table of contents
  • Adds a [mayo_announcement_form] example for categories with spaces in their names

Closes #321

Test plan

  • Open Mayo → Shortcodes in WordPress admin
  • Confirm the "Category and Tag Slugs" note appears in the table of contents card
  • Scroll to the [mayo_announcement_form] section and confirm the updated parameter descriptions and "Category with Spaces in Name" example

Made with Cursor

Clarify in admin shortcode docs that category/tag names with spaces
use dashes in shortcode parameters, with a mayo_announcement_form example.

Co-authored-by: Cursor <cursoragent@cursor.com>
Crow-Session: 27A03518-C5C4-47E9-BE0A-5F0A07A0B444
Co-Authored-By: Claude <noreply@anthropic.com>
@dgershman
dgershman merged commit 990b7f5 into main Aug 9, 2026
3 checks passed
@dgershman
dgershman deleted the feature/mayo-321-category-spaces-dash-shortcodes branch August 9, 2026 19:08
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.

Documentation only: Unclear that categories with spaces should substitute dashes in shortcodes

1 participant