Title: Sticky option
Last modified: August 21, 2016

---

# Sticky option

 *  Resolved [Danna_ADN](https://wordpress.org/support/users/danna_adn/)
 * (@danna_adn)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/sticky-option/)
 * Hi!
 * Thank you again for your help, with the option sticky posts a new problem has
   emerged: all sticky posts appear automatically, even when they are still in draft
   or pending review.
 * I tried to add a post to your query foreach but it does not solve my problem :-/
 *     ```
       $ post_ids = get_option ('sticky_posts');
       if ($ post_ids) {
       foreach ($ post_ids as $ post_id) query_posts ('post_status=published,-future;');
       ```
   
 * Any idea?
    Good evening!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Theme Author [Mohammad Taqui Sayed](https://wordpress.org/support/users/sayedwp/)
 * (@sayedwp)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/sticky-option/#post-4447656)
 * Please wait for a couple of days, I m going to add this option in the theme, 
   will give you the download here, once its ready.
 *  Theme Author [Mohammad Taqui Sayed](https://wordpress.org/support/users/sayedwp/)
 * (@sayedwp)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/sticky-option/#post-4447682)
 * Here you go [http://wordpress.org/themes/download/supernova.1.5.1.zip?nostats=1](http://wordpress.org/themes/download/supernova.1.5.1.zip?nostats=1)
 *  Theme Author [Mohammad Taqui Sayed](https://wordpress.org/support/users/sayedwp/)
 * (@sayedwp)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/sticky-option/#post-4447684)
 * This one
    [http://supernovathemes.com/supernova.zip](http://supernovathemes.com/supernova.zip)
 *  Thread Starter [Danna_ADN](https://wordpress.org/support/users/danna_adn/)
 * (@danna_adn)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/sticky-option/#post-4447702)
 * Thank you very much!
    The new interface is much richer and more enjoyable to 
   use! I had only minor changes to the index-slider.php to have exactly what I 
   need! One last question: I manually write every article excerpt, however supernova_get_excerpt_by_id
   function takes into account only the first X characters of each article. Where
   can I change this function to display the correct excerpt related to the post
   ID? Thank you again and all my wishes for the new year!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Sticky option’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/supernova/2.1.0/screenshot.png)
 * Supernova
 * [Support Threads](https://wordpress.org/support/theme/supernova/)
 * [Active Topics](https://wordpress.org/support/theme/supernova/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/supernova/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/supernova/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Danna_ADN](https://wordpress.org/support/users/danna_adn/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/sticky-option/#post-4447702)
 * Status: resolved