• These shortcodes don’t show documents when they are marked “private”.

    [documents name=”Implementatiegids”]
    [documents workflow_state=”Definitief”]

    The documents don’t even show up when you’re logged in as Admin. If I mark the documents as “Public”, they do show up. This is not what I want. They should only show up for logged-in users.

    How can I achieve that? Thanks!

    https://wordpress.org/plugins/wp-document-revisions/

Viewing 2 replies - 1 through 2 (of 2 total)
  • NicheLabs

    (@allennichelabs)

    This is an old post but others may need this information.

    I was having this problem as well but resolved it by passing multiple parameters with [documents]
    [documents post_status=”private” post_status=”public”]

    This showed both public and private documents. You can view the listing for both statuses even if you aren’t logged in, but you can’t download them. For the private you get a 404.

    NicheLabs

    (@allennichelabs)

    Interesting, when I use [documents post_status=”public”] it shows both public and private documents.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcodes don't show private documents (also not for logged-in admin)’ is closed to new replies.