• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Remove WP post title input from the back end.

madvogue29

Member
Jun 4, 2020
33
7
8
Hi Team I am trying remove post title entry on WP if post type = "xyz" (a custom post type). is there a way to do so ?

Thanks
 
Hi Team I am trying remove post title entry on WP if post type = "xyz" (a custom post type). is there a way to do so ?

Thanks
are you want to remove post title from tag <title> ? </title> ??
or
from <h1 class="entry-title"> ?? </h1>
 
1603108506716.png

I have a custom post event and when I click on Add New Event it prompts for this input like all other events. I want this option to be disabled. in the backend. In the Front end I have ACF doing the job for me.
 
Each CPT has a 'supports' section, where 'title' is one of the values. If you have access to where the CPT is registered, simply remove or comment that line.
Otherwise, you might try this:
PHP:
function hide_cpt_title() {
     remove_post_type_support('your-custom-post-type', 'title');
}
add_action('admin_init', 'hide_cpt_title');
This should be added in your functions.php and of course change 'your-custom-post-type' to the slug of the actual CPT.
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock