Home Forums WoodMart support forum Enable/disable portfolio on website

Enable/disable portfolio on website

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #301161

    franciscovivo
    Participant

    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’);

    #301209

    Hello,

    Please remove the code you have added and disable the portfolio in the Theme Settings > Portfolio.

    Best Regards

    #301254

    Artem Temos
    Keymaster

    Hi,

    If you still can’t disable the portfolio, please, send us your admin access so we can check.

    Kind Regards

    #301396

    franciscovivo
    Participant

    I can´t disable the portfolio yet.

    #301397

    Artem Temos
    Keymaster

    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.

    #301400

    franciscovivo
    Participant

    Oh god! It´s working now.
    Thank you

    #301434

    Artem Temos
    Keymaster

    Great, you are welcome!

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Enable/disable portfolio on website’ is closed to new replies.