Is there a way to remove the post title? or atleast not require me to enter a post title. I have migrated from tumblr to wordpress and I didn’t need to have a title with tumblr so I was wondering if I could do the same with wordpress?
Leave a Reply
You must be logged in to post a comment.
WordPress does not require entering post titles, at least not in the backend. You can leave that part of the form blank.
As far as your theme is concerned, that will depend on the theme author and whether they’ve considered someone not entering a title. The default twentyeleven theme handles it fine, linking to the post page using the date posted, but not all authors will be that thoughtful. If the theme you’re using doesn’t have an alternative, you could try editing the loop.
Depending on how the theme is set up, there might be only one loop, or several for different purposes. You’re looking for loops related to archives, categories, tags, searches, and the home page. Often there will be a “default” loop that just gets all those values (“loop.php”). Look for code with title tags and
<? the_title(); ?>
inside them. Most will look something like this:All things considered, you can usually just leave this alone. When there’s not text to fill it out, the
<h2>
tag above just collapses and disappears. Trouble is, you need something else to link to the post page if this is the only link. The TwentyEleven theme provides just the thing. Add this function to your functions file:Then you can call it in the loop near where the header shows up:
Hope this helps!
You could my plugin Fix Empty Titles. It creates a post title from the first 20 characters of the post body when the post is saved and the title is still empty.
The current code:
I would not hide the title input field because then you had no easy way to change the title.
You can use this code in your theme function.php file to remove the link from the post title.