• Long story short, I’m looking to write a bunch of short posts very frequently, and then some longer posts less frequently. I’m probably going to use Asides to accomplish this as far as styling the theme goes, but I’ve run into a small issue.

    By not giving my posts a title, the field is left empty. The slug is generated by the post ID, too. This makes it difficult to go through my posts in the WP admin, and it makes for ugly URLs.

    Is it possible to have the title (and therefore, the slug) generated by the post content?

    This didn’t sound like a difficult problem until I started searching for it…and all of my searches are turning up empty. Have I missed something?

    Thanks for the guidance! Please let me know if I can clarify a bit – I’m a bit tired, so I hope this is legible. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • With the Aside Shop plugin you can make “aside” posts with title and everything AND display only the content.

    Thread Starter flammable

    (@flammable)

    Wow, this is perfect. Really, more than I could have hoped for. Thank you, moshu!!

    I just searched for “Aside Shop” in Google, and this thread came up in the results. That freaked me out a bit, as I only made this thread an hour or so ago.

    Anywho, here is the plugin link, for anyone else that stumbles on this thread.

    Thread Starter flammable

    (@flammable)

    Hmm, one thing, though – it doesn’t seem to generate post titles from the post’s content (like, the first few words of the post).

    Am I missing something?

    No, but what stops you from adding a title to them? Why not add a title? I thought (and mybe I misunderstood something) that because of the nature of asides you do not want the title to appear on the homepage, that’s why you didn’t add titles. Well, with this plugin you can add title and not display them but being able to see the titles in the admin.

    Thread Starter flammable

    (@flammable)

    It’s more or less that I’m too lazy to add a title…I’d like to have WordPress create the title automatically, like from the first few words of the post.

    With no title, it makes it more difficult to go through posts in Manage –> Posts (since every post shows as (no title)). Also, the slug of the post is the post ID, from the database. I think that’s kind of ugly.

    Plus, I’m usually terrible with titling things – I think, by automating the title creation, I’ll post more.

    I’m aiming to use Asides like Twitter, if that helps explain things better.

    I really like the AsideShop plugin, don’t get me wrong…and I’m definitely going to use it. Thank you for that.

    I guess this isn’t a tremendous deal, but as it didn’t sound like a hard thing to do…I figured it probably existed, but I just couldn’t find it.

    Flammable, thanks for the link. I did a google search and found this page too. I <i>knew</i> there would be a link.

    Thread Starter flammable

    (@flammable)

    To be fair, the excellent AsideShop plugin allows some great styling on a per-category basis – it meant I wouldn’t have to strip out the post titles from my template. ??

    On the other hand, I’m still making tons of posts that call themselves “(no title)”, which is why I started this thread. I’d rather have the titles auto-generate themselves, based on the content of the post (like Twitter does, since it doesn’t support post titles).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to generate post titles based on content?’ is closed to new replies.