WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. churchill614
    Member
    Posted 2 years ago #

    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?

  2. Philip
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic