• Resolved arunschandran

    (@arunschandran)


    Hi,

    Post status parameter in shortcode is not working. Even if I send shortcode like this [ajax_load_more post_type=”post” post_status=”pending”], I am getting all posts including published, draft etc. How can I fix this issue?

    Thanks,
    Arun

Viewing 1 replies (of 1 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @arunschandran
    I just tested locally and post_status is working as expected.
    [ajax_load_more post_status="private"]
    [ajax_load_more post_status="draft"]

    I wonder if you have a pre_get_posts being fired somewhere or something that is overriding the shortcode.

Viewing 1 replies (of 1 total)
  • The topic ‘Post stutus parameter in shortcode is not working’ is closed to new replies.