Last Commit | 705ae59 (December 6, 2024 12:00 am) |
---|---|
Repository | https://github.com/magicoli/no-no-title |
License | GPLv2 or later |
This plugin is intended for websites publishing posts without title, to avoid a long list of ‘(no title’) in admin screen, which makes searches very difficult.
Only in admin posts list, and only if the post title is empty, show firsts words of the content instead.
This plugin leaves the post unchanged and does not replace the actual title, so the post would display as intended on posts and archives.
Inspired by a solution on https://wordpress.stackexchange.com/questions/189671/show-excerpt-if-no-title-in-admin-view
I added a filter to replace line breaks with spaces, to avoid collapsing words when the content starts with short lines.
Leave a Reply