Okay
  Public Ticket #3786709
Display Future Posts on the Blog Element
Open

Comments

  •  10
    Max started the conversation

    Hello the team,

    You already give me the code to display the future posts on the "Post Loop Builder" element but I would also would like to display the future posts on the element called "Blog". 

    I hope you can help me :D

    Thks a lot

  •  1,918
    Judith replied

    Hello Max,

    Thanks for writing to us.

    Please allow me to escalate this to the developer so that I can better assist you.

    I request your patience and understanding in the meantime.

    Best Regards.

  •  8,936
    Tahir replied

    Hey Again,

    You can use this query for the Blog Element:

    add_filter('nectar_blog_query','salient_child_mod_blog_query');
    
    function salient_child_mod_blog_query($query) {
      $query['post_status'] = ['publish', 'future'];
      return $query;
    }

    Best,

     


    ThemeNectar Support Team