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.

Published by

Swapnil Patil

I'm Swapnil. Nice to meet you 👋 I am a Community Manager for a fantastic #OpenSource project Devtron. I am passionate about sharing experiences on building architectures with best practices and helping strengthen the makers of tomorrow. I am keen on having discussions around DevOps, GitOps, web accessibility, User Experience & Open Source 🤘.

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.