Post sticky post before the loop


I need a help ... I am trying to create a new page template for example where the loop will be posted like below ...

<div class="sticky-post">
  <!-- Only the sticky post will show up here -->
 <article></article>    
</div>

<div class="the_rest_of_the_posts">
  <!-- the rest of the postes will show up here -->

 <article></article>
 <article></article>
 <article></article>
 <article></article>
 <article></article>
    ... .... ... ... ... ... ...

</div>

That means the sticky post will show up in a stand alone div and other posts will show up below in another div and the sticky post div will be show up only on the page number 1 ...

Please help me


No one is here to help??? 🙁

Write a reply

Login or register to write a reply, it's free!