Repository navigation
Description
Feature Overview & Value
Summary:
This feature provides AI-powered alternative titles for posts, based on the full post content and editorial context. It helps users improve clarity, engagement, SEO, or tone without requiring manual rewrites. It aligns with modern editorial practices by offering tailored suggestions that match different writing goals.
Why it matters:
Strong titles are critical to content success across platforms—impacting SEO, click-through rates, and reader trust. Title writing is often subjective and time-consuming. This feature streamlines that process by offering intelligent, editable suggestions that reflect the actual post content and user goals.
Sample Use Cases:
- Someone trying this AI feature for the first time wants simple suggestions they can control.
- A first-time user has written most of the post body but hasn’t entered a title yet. When they click into the empty title field, they’re offered AI-generated titles to help them get started.
- A content team is backfilling older or migrated posts that contain body content but no meaningful title. They want suggestions that reflect the actual post content.
- A content author wants help making their draft title more attention-grabbing.
- An editor wants to improve a title’s clarity and keyword usage.
Editorial Intent Handling
Why this matters:
Title rewriting reflects editorial strategy. A compelling title may aim to inform, drive clicks, perform in search, or reinforce tone. Without understanding the user’s intent, AI suggestions risk being misaligned.
How Editorial Intent is Set
- Global user preference (primary mechanism)
- Set once in plugin settings.
- Options might include: “Improve clarity,” “Drive engagement,” “Optimize for SEO,” “Match brand tone,” etc.
- This controls prompt strategy and remains persistent.
- Per-post override (secondary)
- Shown in the UI as an advanced dropdown.
- Lets user change rewrite goal for a single post without altering global default.
- Prompt construction
- Prompt templates adjust based on selected intent.
Example: “Rewrite this title to increase SEO performance without distorting the original meaning.”
User Interaction Flow (Draft)
Overview:
The goal is to provide authors and editors with meaningful, context-aware AI title suggestions at a point in the editorial process where they’re likely to be needed—after the main content has been drafted. The interaction should feel native to the WordPress editor, simple to trigger, transparent in intent, and always reversible.
User Actions
- User sees the “Rewrite Title” button
- Appears next to the post title field.
- Grayed out until a draft title exists and post content contains at least ~100 words.
- Tooltip when inactive: “Add content to get rewrite suggestions”
- User clicks the active button
- A popover or modal opens near the title field.
- Short intro: “Here are some alternate titles based on your content. Pick one or edit it before applying.”
- System displays suggested titles
- The number of suggestions defaults to 3 but can be adjusted in plugin settings (e.g., 1–5)
- Each shown as a selectable block or card.
- Options per card: “Use this title,” “Edit,” or “Regenerate”
- User selects or edits
- “Use” updates the post title field directly
- “Edit” allows users to revise the suggestion before saving
- Upon applying a new title, the system creates a post revision so the change can be undone via the native WordPress revision history
- User may override rewrite goal (optional)
- Collapsed dropdown: “Optimize for...”
- Defaults to previously saved global preference
- Failure states
- Friendly error messaging if API fails or content is too short
Alternate Entry Point: Empty Title with Post Content
This flow supports users who have written a post body but haven't yet entered a title—common during early drafting or editorial cleanup.
Trigger Condition
- Post content contains ≥ ~100 words
- Title field is empty
System Behavior
- A light callout appears near or inside the title field when focused: “Need a title? Get AI suggestions based on your content.”
User Action
- User clicks the prompt to open the suggestion UI
Suggestion UI
- Same as core flow: 2–3 title options appear, each with “Use,” “Edit,” or “Regenerate”
- Chosen title is inserted into the title field
Intent Dropdown (Optional)
- User may adjust rewrite goal before generating or regenerating suggestions
- Defaults to global setting, just like the standard Rewrite Title flow
Technical Requirements (High-Level)
AI Input Requirements:
- Current post/page title
- Full post/page content (or summarized excerpt if very long)
- Post/page author, excerpt, terms, post meta
- Rewrite goal (from user or inferred)
AI Output Requirements:
- 2–3 suggested titles
- Each title under 80 characters
- Clean strings, no markdown, bullets, or formatting
Model Agnosticism:
- Supports models via AI Services plugin (e.g. OpenAI, Claude, local LLMs)
- Prompt construction is modular and override-friendly
Fail States & UX Expectations:
- Errors must not block editing
- Clear retry or fallback messaging
Privacy & Config:
- API keys handled via AI Services
- No user-generated content is stored without consent
Extensibility Notes:
- Hookable prompt pipeline
- Override mechanism for content filtering or tone presets
- Designed to support future learning loops or performance feedback
Open Questions / Design Notes
- How should the UI balance simplicity with the ability to customize intent?
- Should users receive passive feedback (e.g., "Your selected intent is: SEO")?
- Should title suggestions vary format (e.g. list-based, question, statement)?
- Do we allow user-defined presets (e.g., "Use house tone")?
Design mockups
Version 1
Version 2
Props to Lina Wiezkowiak for the product definition, Rachael Cortellessa for the designs, and Darin Kotter for technical review of both.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
matysanchez commentedon Aug 26, 2025
I really like the Version 1
Did you consider adding a new tab. Right now in the sidebar we have: Post | Block. I was thinking could be beneficial to add a new tab: AI. This will allow other to keep extending, which breaking the default WP style.
karmatosed commentedon Aug 26, 2025
Here is my feedback based on the flows in a rather unfiltered format.
V1
V2
In summary, the following I think should be a consideration:
justlevine commentedon Aug 26, 2025
Re the design mockups: personally, I see modals as major point of UX friction, since it makes these tools "blocking" instead of collaborative. That said, I'm not sure a block embed (especially at the bottom of the content window, removed from the item being iterated on) is the best approach for a title.
IDK if there's prior art, but perhaps there's a way we can display the generator box + suggestions as an inline tooltip next to the title/icon, instead of as an overlay?
(There's also some ux goodies coming to WordPress core via the Admin UI rewrite, the Command Palette, and initial work on Collab features, so if we ship initially with one of these and iterate, we might have some other patterns to draw from in the future.)
prabinjha commentedon Aug 26, 2025
Accessibility & Global Usability
• Multilingual Support: Many WordPress users create content in languages other than English. The feature should support multilingual AI suggestions (including right-to-left languages like Arabic, and non-Latin scripts like Nepali, Hindi, etc.).
• Localization of Editorial Goals: Options like “Improve clarity,” “Drive engagement,” or “Optimize for SEO” should be translatable and culturally adaptable (different markets have different SEO/click behaviors).
prabinjha commentedon Aug 26, 2025
My Feedback: If a user has already written a title, there should be an option to revert back to the original title.
swissspidy commentedon Aug 26, 2025
I'd take some inspiration from e.g. Google Docs:
A few options to choose between shorter, longer, casual, professional, and an input field to customize would cover everything. Plus you don't have to deal with internationalization differences.
Meenakshi-bose commentedon Aug 26, 2025
I like v1 flow over the second one, as the tool it right where the title block is, so it's easy to spot and use. The flow also looks good, but I would love to add two things to the final result view (where the title is generated)
Ref34t commentedon Aug 27, 2025
@justlevine raises a good point about modal friction. What about a hybrid approach?
This could solve both the friction concern and the cognitive load issue @karmatosed mentioned.
13 remaining items
dkotter commentedon Nov 14, 2025
As I've started to implement this (see #83) have some questions on a few things.
Looking at the screenshots from the last message, the one thing not shown here is what happens after title results are received? If we don't want to go with a modal approach, how do we want to show the user the various title options and allow them to choose one?
I also see there's conversation on this thread around the "other" options that we can show here (title case, sentence case, etc). It sounds like those two options may only apply to English speakers so curious if we want to keep those or if there are other options we'd want here? Or do we need to keep any of these for this initial version?
I have made progress on bringing the normal toolbar component into the title field though there are challenges here as that field isn't a normal WordPress block, unless you're in the template preview mode. This makes it more difficult to use this component as we basically have to inject it ourselves and then manage the state (i.e. deciding when it should show/hide, ensuring it's styled correctly, etc). I think it is working okay right now but this is something that will likely need some refinement to get perfect and could be worth a different approach that works better outside of a block context.
jeffpaul commentedon Nov 18, 2025
I think for the first iteration, a modal is totally fine. The only other UI treatments that come to mind would be a TypeAheadFind sort of response where we show the results in a dropdown of sort or just pushing the post content down a bit and showing the results below the title with an option to select the replacement title (neither of which I wildly prefer over a modal).
On the toolbar component in the title field, I think that's also another case of getting it into a release and we can iterate as needed from there.
karmatosed commentedon Nov 20, 2025
I actually like the idea of best guessing one first and having the option of ‘show more’ or ‘generate again’ over a modal. However, for a v1 I have absolutely no issues with a modal. I feel the same for anything as you mentioned @jeffpaul let’s get a first pass and iterate. Thank you @dkotter.
jeffpaul commentedon Nov 22, 2025
The general sentiment that we've seen in folks using ClassifAI over the years has trended away from "let AI do things automatically" and towards "allow AI to present me recommendations but I want to chose what gets added to my post/content" which is why I angle more towards a modal here than applying the topmost AI recommendation immediately. In any case, yes let's get something released and we can iterate as we get community feedback.
Merge pull request #10 from westonruter/improve/slug-vs-file-usage