Enable/disable portfolio on website
-
When I disable the portfolio on my websites it soesn’t work and still is the custom post type in the side of WordPress.
That is happening since last update.
To disable this I put this code on the functions.php. I son’t know if that is the right way.
if( !function_exists( ‘unregister_cpt_tax’ ) ) {
function unregister_cpt_tax(){
unregister_post_type( ‘portfolio’ );
unregister_taxonomy( ‘portfolio-cat’ );
}
}
add_action(‘init’,’unregister_cpt_tax’);
Hello,
Please remove the code you have added and disable the portfolio in the Theme Settings > Portfolio.
Best Regards
Hi,
If you still can’t disable the portfolio, please, send us your admin access so we can check.
Kind Regards
I can´t disable the portfolio yet.
We can’t enter your WordPress dashboard with this password, unfortunately. But please, check one more thing: you need to have our theme of the latest version and then update the WoodMart Core plugin as well via Appearance -> Install plugins.
Oh god! It´s working now.
Thank you
The topic ‘Enable/disable portfolio on website’ is closed to new replies.