Okay
  Public Ticket #3697477
Exclude current Post from Post Loop Builder in Post Page
Closed

Comments

  • Elias4711 started the conversation

    Hello Salient Team,

    I really love and appreciate the work you do!

    I would like to request a feature for Salient. Could you officially add the option to exclude the current post from the post loop builder? I modified the module code to fit my needs, but I believe many users would appreciate this feature!

    I achived it by adding this line to the post builder:

    if (is_single()) { $nectar_blog_arr['post__not_in'] = array(get_the_ID()); }

    Best regards, Elias

  •  2,966
    Andrew replied

    Hi Elias,

    Thank you for getting in touch.

    Thank you for the suggestion. I have forwarded your request to the developer for consideration in future updates.

    We appreciate your suggestion and your contribution to the improvement of the theme.

    Best regards,