Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1016215

    Hi, some customers do not use portfolio. Is it possible to deactivate it as layerslider / blog?
    thanks

    #1016223

    Hey czar,

    You can add this code to the child theme to deactivate the portfolio:

    
    
    add_action('init', 'avia_deregister_portfolio', 5);
    function avia_deregister_portfolio()
    {
    	remove_action('init', 'portfolio_register');  
    }
    

    Best regards,
    Peter

    #1016304

    Thanks Peter, works fine

    #1016319

    Hi,

    Great, glad I could help you :)

    Best regards,
    Peter

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘deactivate portfolio’ is closed to new replies.