<?php if ( ! defined( 'FW' ) ) {
	die( 'Forbidden' );
}

$portfolio = fw()->extensions->get( 'portfolio' );
if ( empty( $portfolio ) ) {
	return;
}

$options = array(
	'number'        => array(
		'type'       => 'slider',
		'value'      => 6,
		'properties' => array(
			'min'  => 1,
			'max'  => 12,
			'step' => 1,

		),
		'label'      => esc_html__( 'Items number', 'enginx' ),
		'desc'       => esc_html__( 'Number of portfolio projects tu display', 'enginx' ),
	),
	'show_filters'  => array(
		'type'         => 'switch',
		'value'        => false,
		'label'        => esc_html__( 'Show filters', 'enginx' ),
		'desc'         => esc_html__( 'Hide or show categories filters', 'enginx' ),
		'left-choice'  => array(
			'value' => false,
			'label' => esc_html__( 'No', 'enginx' ),
		),
		'right-choice' => array(
			'value' => true,
			'label' => esc_html__( 'Yes', 'enginx' ),
		),
	)
);