have_posts() ) { $counter_post = 1; while ( $posts->have_posts() ) { $posts->the_post(); global $et_fb_processing_shortcode_object; $post_id = get_the_ID(); $global_processing_original_value = $et_fb_processing_shortcode_object; // reset the fb processing flag $et_fb_processing_shortcode_object = false; // Set title $post_title = ($props['heading_tag']) ? "<{$props['heading_tag']}>".get_the_title()."{$props['heading_tag']}>" : "