Retrieving sticky posts with Visual Composer loop builder ?



Hello guys,

I need to modify my current visual composer blog posts shortcode to be able to retrieve only sticky posts. So I added a new parameter “Featured only” with two options: true/false.

Now I need to modify the query for this. I am totally lost. I searched for a solution without any good results. I posted my current code structure on the WordPress Stack Exchange yesterday about it, no one replied.

See my post here

Anyone know how to achieve this ? Thanks !!!