How to disable Portfolio and FAQ from Avada theme
If you are running Avada WordPress theme and want to get rid of Portfolio and FAQs custom post type and theirs custom taxonomies — FAQ Categories, Portfolio Categories, Skills, Tags use the following code: function webroom_deregister_post_type(){unregister_post_type( ‘avada_portfolio’ );unregister_post_type( ‘avada_faq’ );unregister_taxonomy( ‘portfolio_category’);unregister_taxonomy( ‘portfolio_tags’);unregister_taxonomy( ‘portfolio_skills’);unregister_taxonomy( ‘faq_category’);}add_action(‘init’,’webroom_deregister_post_type’); And that’s it — In your WordPress admin dashboard you’ll see the custom post type / taxonomy isn’t there anymore. The article was originally published at https://www.webroom.tech/how-to-deregister-custom-post-type-or-custom-taxonomy/