Search

How to Remove Project Post Type in Divi

The Divi theme includes a custom post type called “Projects”. This post type is designed to be used for displaying portfolio items. However, if you don’t need to use the project post type, you can remove it from the WordPress dashboard on your Divi website.

This article will show how to remove the project post type from the WordPress dashboard on the Divi website.

How to Remove Project Post Type from WordPress Dashboard on Divi Website

Removing the post type “Projects” from the WordPress dashboard on the Divi website is very easy. The only thing that you need to do is add a code snippet to the functions.php file of the Divi theme.

On your WordPress dashboard, go to Appearance -> Theme File Editor. Once you enter the Theme File Editor page, select the functions.php file. Afterward, paste the PHP snippet below at the end of the functions file content. Next, update the theme file by clicking the Update File button.

//Remove Divi Projects Post Type

add_action( 'init', 'remove_divi_project_post_type' );

if ( ! function_exists( 'remove_divi_project_post_type' ) ) {
	function remove_divi_project_post_type(){
		unregister_post_type( 'project' );
		unregister_taxonomy( 'project_category' );
		unregister_taxonomy( 'project_tag' );
	}
}

That’s it. Go to your WordPress dashboard in a new tab or window to see the result.

The Bottom Line

Removing the project post type from your Divi website is a simple process, as we have just covered above. Once you have removed the project post type, it will be hidden from the WordPress dashboard admin menu, and you will no longer be able to create or edit project posts. However, any existing project posts will still be visible on your website so you won’t lose them.

This page may contain affiliate links, which help support our project. Read our affiliate disclosure.
Akbar Padma

Akbar Padma

Akbar is a WordPress expert and a writer staff at WPPagebuilders. He mainly writes about Gutenberg, Elementor, Divi, and other WordPress page builders.
Want to save yearly expense up to $219? why not?

Leave a Comment

Save your Divi assets to the cloud and access them from anywhere.