WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Membership Lite] wp_list_pages() only works if logged in

[Plugin: Membership Lite] wp_list_pages() only works if logged in

  • I am having issues on my live site whereby Membership Lite only displays the list of pages to members. I have enabled the pages setting for non-members and selected the pages I want them to be able to view and this has not resolved the issue. I do not have this problem on my localhost.

    When viewing the source code of the live site, the line of code <?php wp_list_pages( $args_to_only_display_what_i_require_in_menu ); ?> does not appear to be being executed.

    Does anyone have any suggestions?

Viewing 1 replies (of 1 total)
  • Hiya!

    Okay, so Membership effectively hides stuff from WordPress and so what you’re seeing is the equivalent of a “404 not found” for the pages in that list.

    So, where are those pages in your levels? Do you have them in a positive rule on your member level and stranger level?

    Phil

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Membership Lite] wp_list_pages() only works if logged in’ is closed to new replies.
Skip to toolbar