Support » Plugin: Insert Pages » Page inserted only visible by administrators

  • Hi,
    My site is a membership site.
    I have inserted a page in a widget with a template.
    [insert page='slug' display='template.php']
    It is correctly displayed when I am logged as an administrator but not as a normal subscriber (it displays nothing).
    Looking at the html code, it seems that the template is not even loaded when the logged-in user is not an administrator. There is a div <div data-post-id="1234" class="insert-page insert-page-1234"> but it is empty.
    Can you see a reason why ?
    Thank you,

    • This topic was modified 3 months, 1 week ago by ikone227.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Ryan


    If the page is private, password-protected, or unpublished, anonymous users won’t be able to see it. You might also want to check your custom template to make sure there aren’t capability checks in there restricting access.

    One other thing to try in WP Admin > Settings > Insert Pages is to make sure the insert method is set to “normal” instead of “legacy” (the legacy method is no longer actively updated and has some issues).

    Thread Starter ikone227


    Thank you !
    It was the insert method that was set to “legacy”.
    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.