WordPress.org

Forums

Supernova
[resolved] Sticky option (5 posts)

  1. Danna_ADN
    Member
    Posted 1 year ago #

    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!

  2. Sayed Taqui
    Inactive
    Theme Author

    Posted 1 year ago #

    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.

  3. Sayed Taqui
    Inactive
    Theme Author

    Posted 1 year ago #

  4. Sayed Taqui
    Inactive
    Theme Author

    Posted 1 year ago #

  5. Danna_ADN
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.