WordPress Sticky Post And Underscores

wordpress

#1

Hello guys,
I’m developing a WordPress theme these days. So I have designed the theme with HTML and CSS first and used Bootstrap too so now I want to display Sticky post on top of the site below the navigation like a image slider. So I’m using Underscores starter theme for the WP development.

1. How can I exclude sticky posts from main posts loop?
2. How can I display sticky post like I say above. I meant like a slider.

Thanks.


#2

please read this: https://codex.wordpress.org/Sticky_Posts