Only display published posts!
-
I’m trying to set up drafts and scheduled posts and have them all linked together, but the ones that are already published are displaying links to the scheduled posts. Unless I’m logged in, those links go to my 404 page, but that’s not user-friendly and the unpublished posts shouldn’t appear anyway.
Could the post_status in the $get_multi_part_posts_args array be changed to “published”? This way, only the published posts are displayed on the front-end. When those posts are published, they should appear in the TOC once they are published.
And/or could you add a filter on $get_multi_part_posts_args so we filter that if we want?
- The topic ‘Only display published posts!’ is closed to new replies.