Skip to content
Home » Blog » Change the “Enter title here” placeholder text to make it fit your content

Change the “Enter title here” placeholder text to make it fit your content

When you’re working with custom post types, sometimes the post title isn’t a title. It might be a person’s name, a building number, or a course code (just to take a few examples from universities). So it’s great that WordPress has a simple filter that makes it easy to customize the “Enter title here” placeholder text to make it fit your content:

https://gist.github.com/patilswapnilv/5cffbf8396e3d2e86b4f77a1f3f1232f

How to use this?

Place this code in your functions.php or in a plugin or even better if you can add it to a must-have plugin.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.