Remove edit or add facility for custom post type (3 posts)

  1. drtanz
    Posted 3 years ago #

    Is it possible to remove all references to 'edit' or 'add' from a particular post type on its post list display screen in admin?

  2. jnhghy
    Posted 3 years ago #

    Hi drtanz,
    This is possible but the way to do it depends on what theme/plugins you are using;
    you'll have to serach for : register_post_type('your_post_type', $args) There you will have the options set for this post type and you'll be able to edit out the 2 options.

  3. drtanz
    Posted 3 years ago #

    Thanks, however I meant being able to remove the 'Add' button altogether, not modify it's text only. And I know it can be done via CSS, but would like to know if it can be done in a better way, more native to WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.