Home Forums Basel support forum Disabe Portfolio

Disabe Portfolio

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

    wantons
    Participant

    Hello!

    Is there any php code to disable Portfolio completely? i dont use portfolio, but it index some links in google with my website domain …
    links are like this: xxxxx.com/portfolio

    Thanks.

    #23300

    Artem Temos
    Keymaster

    Hi,

    There is no such option in the Dashboard but you can remove this functionality commenting the line of code in the file plugins/basel-post-types/basel-post-types.php.

    add_action( 'init', array($this, 'register_portfolio'), 1 );

    Regards

    #23391

    wantons
    Participant

    can i add this code to the END of the file? is it right?

    #23407

    Artem Temos
    Keymaster

    No, we meant to remove or comment this line.

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