Skip to content

Title Generation / Rewriting #10

Closed
Closed

Description

@jeffpaul

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

  1. 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.
  1. 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.
  1. 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

  1. 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”
  1. 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.”
  1. 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”
  1. 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
  1. User may override rewrite goal (optional)
  • Collapsed dropdown: “Optimize for...”
  • Defaults to previously saved global preference
  1. 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

Image

Version 2

Image

Props to Lina Wiezkowiak for the product definition, Rachael Cortellessa for the designs, and Darin Kotter for technical review of both.

Activity

  1. added this to the milestone on Aug 26, 2025
  2. moved this to In discussion / Needs decision in WordPress AI Roadmapon Aug 26, 2025
  3. matysanchez commented on Aug 26, 2025

    @matysanchez

    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.

  4. karmatosed commented on Aug 26, 2025

    @karmatosed
    Member

    Here is my feedback based on the flows in a rather unfiltered format.

    V1

    • We should consider the entry point being customisable for icon and or button. I suspect that is in flow but something to consider that the wand icon might want to be changed for others as AI progresses.
    • In the flow seeing the wand by the title and also in toolbar to me is a little confusing. I wonder if the flow should be one or other? I am going to explain maybe why I have a preference to just have it right beside the title not in the toolbar, to me that means it’s got direct access. I do however value it being in toolbar for extended use.

    V2

    • This feels like it has more friction as it’s to the side, but more visibility as it has an AI section.
    • I have some concerns over cognitive overload and so many options showing from title, excerpt and summary all in one. I almost want it to preselect initially then let me drilldown.
    • Seeing the next screen makes me wonder about the loading states and how important those are going to be.
    • After this seeing ‘use this title’ 3 times makes me wonder if we really need to show just one and then ‘suggest more’. Otherwise it looks like it didn’t get it. Also not repeating the words over and over probably is a good start.

    In summary, the following I think should be a consideration:

    • Have entry points, perhaps several so that people can choose to have sidebar, toolbar but default to ‘by the element’ for surfacing.
    • Show by default the best guess and only offer ‘show more’ not 3 or more by default. This might be a braver approach but we should trust the system gets it right and if not let it regenerate.
    • Consider the loading and refresh states.
  5. justlevine commented on Aug 26, 2025

    @justlevine
    Contributor

    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.)

  6. prabinjha commented on Aug 26, 2025

    @prabinjha
    Contributor

    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).

  7. prabinjha commented on Aug 26, 2025

    @prabinjha
    Contributor

    User Actions
    User sees the “Rewrite Title” button

    My Feedback: If a user has already written a title, there should be an option to revert back to the original title.

  8. swissspidy commented on Aug 26, 2025

    @swissspidy
    Member
    • This neglects internationalization. Please note that "sentence case" and "title case" are very much English-only things. These don't really exist in e.g. German.
    • Version 2 looks quite complex and un-WordPress-like. We don't really use this kind of floating UI tucked to the bottom.
    • Version 1 is also too complex. Why do I have to enter a character count?

    I'd take some inspiration from e.g. Google Docs:

    Image

    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.

  9. Meenakshi-bose commented on Aug 26, 2025

    @Meenakshi-bose

    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)

    1. I've read somewhere that users don't like making decisions and here in this view, they have to decide between three titles. So, I would love to have a "recommended tag" against at least one title that fits the SEO standards the most.
    2. Second suggestion is about the positioning, which many study suggest that the best recommendation placement is the middle spot. So, I would recommend having the center one as the recommended title (same logic as the pricing page, with the best one being the middle option).
    3. Have defaults based on standards, because many users might not know the ideal length of the title. For example in the character count, we can have a pre-filled value that the user can anytime edit
  10. Ref34t commented on Aug 27, 2025

    @Ref34t
    Contributor

    @justlevine raises a good point about modal friction. What about a hybrid approach?

    • Inline suggestions appear below the title field when content reaches ~100 words
    • Click to expand shows all options (avoiding modal completely)
    • Preserves current editing flow while providing AI assistance

    This could solve both the friction concern and the cognitive load issue @karmatosed mentioned.

  11. 13 remaining items

  12. moved this from Done to In progress in WordPress AI Roadmapon Nov 13, 2025
  13. moved this from In progress to Needs review in WordPress AI Roadmapon Nov 13, 2025
  14. moved this from Needs review to Done in WordPress AI Roadmapon Nov 14, 2025
  15. dkotter commented on Nov 14, 2025

    @dkotter
    Contributor

    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.

  16. jeffpaul commented on Nov 18, 2025

    @jeffpaul
    MemberAuthor

    Looking at the screenshots from the last #10 (comment), 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 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.

  17. karmatosed commented on Nov 20, 2025

    @karmatosed
    Member

    Looking at the screenshots from the last #10 (comment), 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 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.

  18. jeffpaul commented on Nov 22, 2025

    @jeffpaul
    MemberAuthor

    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.

  19. unpinned this issue on Nov 26, 2025
  20. added a commit that references this issue on Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions