WordPress.org

Support

Support » Themes and Templates » Supernova » [Resolved] Sticky option

[Resolved] 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)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Sticky option’ is closed to new replies.
Skip to toolbar