]*?src\s*=\s*['\"]([^'\"]*?)['\"][^>]*?>/", $content, $images );
$i = 1;
foreach($images[1] as $image_src) :
/*
* Give the class active to the first element
*/
if($i == 1):
$active = 'active';
elseif:
$active = '';
endif;
/*
* echo each photo with a certain class (it is going to be a carousel)
*/
?>
Details
ID , '_choices_amount' , true);
get_side_image_portfolio_details($value,$post->ID);
?>
ID , 'portfolio_categories',sanitize_text_field(wp_unslash($_GET['category'])));
?>
ID , 'portfolio_categories',sanitize_text_field(wp_unslash($_GET['category'])));
?>