I tried following code and its working. You need to place this in your theme’s funtions.php
file. Let me know how it goes 🙂
add_action('admin_init', 'admin_only_post_title');
function admin_only_post_title() {
if (!current_user_can('manage_options'))
remove_post_type_support('post', 'title');
}
Related Posts:
- Change post title during post saving process
- Unsure how to add simple checkboxes that write to a small table to admin
- How to pass parameters to admin_notices?
- Styling Shortcodes in Visual Editor
- How do I set up a webhook?
- Adding custom Javascript to the head tag in Admin
- Integrate post tags in Post Edit page with qTranslate
- How to retain HTML5 Attributes on Markup
- Custom taxonomy admin description
- Use latest jQuery in WordPress (admin interface)
- remove_action with profile_personal_options
- user-new.php less detailed after WP3.1; how to revert?
- Admin: global $post empty
- How do you handle postmeta in admin area?
- Enqueue and Dequeue from admin bar nodes
- Remove Permalink From Admin Edit Post
- WordPress 3.1’s admin bar disappears only leaving its 28 px padding (in ubuntu)!
- How to pass multiple parameter in add_action()
- Other than save_post any other actions on add / edit post screen?
- Best way to achieve multiple links in a post title
- Weird jquery problem when upgrade to WordPress 3.1
- Show only content in page after action click in WordPress admin
- Find out if post was just updated on post edit screen
- Form submit in admin does not set is_admin() true
- How to retain HTML5 Attributes on Markup
- ‘Conflict’ with action deleted_post and is_admin()
- Editing post in admin panel
- How to sort post_meta in edit.php?
- Remove “minor-publishing” div from Publish admin metabox
- Background image in login showing in admin area
- Organizing Code in your WordPress Theme's functions.php File?
- Where in WP can I check history or log of updates of plugins etc?
- How does admin-ajax.php work?
- WordPress admin stylesheet
- Is it possible to create a WordPress tour? V3.3.1
- Securing Admin Accounts – Username Discovery
- Admin Area Custom Type Search By Meta Fields Without Title & Content
- How can I filter posts by post_parent in the admin?
- Set Featured Image programmatically (in admin) with JavaScript?
- Custom order of terms for custom taxonomy in admin and website
- Can I set a default dashboard layout for all users?
- Taxonomy/category hierarchy lost when editing posts [closed]
- Making the thumbnails in the backend Media section bigger
- Is there an action that is called when a post is restored from the trash?
- Custom Dashboard Home Screen Options
- Downloading entire site locally with httrack
- add_submenu_page set for multiple roles [duplicate]
- Add custom column to Users admin panel with Types user custom fields?
- Filter list by a unique meta value dilemma
- How To Create User Specific Admin User Pages?
- Adding markup to column text in “Edit Pages” admin page
- What’s the best action to use when you want to do something only once per theme setup?
- Post IDs missing on delete_postmeta action hook
- Disable HTML (Text) Tab in Post Editor
- How to remove “publish metabox” from each post type
- Change home-url in dashboard
- Admin doesn’t have sufficient permissions to plugin’s page
- Admin multiple column sorting
- Custom title, Bones theme
- How can I show the contents of only a few users
- Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?
- Locked out of admin and some pictures don’t show after failed SSL installation
- Organizing the position of widgetized areas in the backend
- How to prevent further updates of custom meta when using actions to set one meta based on another
- Custom query, multiple custom keys
- Add Custom Script in Other Plugin’s Options page
- Filter for when the post is updated
- I can’t access the login panel on my offline website
- WordPress Brute Force Prevention
- How To Make Iris Color Picker Showed Up Over Form and Text?
- admin_enqueue_scripts not rending JS file correctly
- Can I change the “Home” text in the menu?
- my checkbox is not saving it’s value
- Send admin to a different login than users?
- How much traffic is real traffic?
- Getting rid of menu items on a custom taxonomy
- WordPress Plugin Admin Tab
- Parsing post->ID in included plugin file
- Edit post image attributes on fly?
- Gutenberg UI has changed
- How To Remove Import/Export Option From Tools?
- How to create custom backend admin menu in different languages?
- Highlight active Admin Menu when added though add_menu_page
- Delete page titles
- Create WordPress Menu Item Without Linking to a Custom Page
- Echo custom admin field into a is_single()
- Add two or multiple functions in WordPress Post or Page
- Am I using an action hook correctly?
- Different role for free and pro users in wordpress without using bbpress
- Enqueue script throws error in console
- WooCommerce wp_insert_post action firing on every save
- Scripts are not called until I login from wordpress backend
- Collection of fields in a single post
- WP Logs me out after updating anything on dashboard
- Adding additional text fields and image upload to a Page?
- How to fix: Clicking ‘Quick Edit’ link in Admin (edit.php) makes posts disappear?
- WordPress admin panel is blank
- How remove “recent comments” title without modifying code? [closed]
- Use the wordpress admin table
- Trying to get more space removed from my header