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

    Hello,
    Is it possible to turn off or hide “Hide Extra portfolio settings”?

    Thanks for answer.
    Tom Custers

    #1464749

    Hey tom,

    Thank you for the inquiry.

    You can add this filter in the functions.php file to hide the “Additional Portfolio Settings” panel:

    
    function avf_builder_boxes_mod( $boxes ) {
        foreach ( $boxes as $key => $box ) {
            // remove portfolio additional settings
            if ( isset( $box['id'] ) && $box['id'] === 'preview' ) {
                unset( $boxes[$key] );
                break; 
            }
        }
    
        return $boxes;
    }
    
    add_filter( 'avf_builder_boxes', 'avf_builder_boxes_mod' );
    

    Best regards,
    Ismael

    #1464775

    Thanks. Where should that go in functions.php, at the top, at the bottom?

    #1464781

    Hi,

    If you are not using a child theme, then please install one. Your changes will be overwritten on updates otherwise. After that, you can add the script anywhere in the functions.php file.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.