Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

ggrant32

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 28, 2016 at 1:18 am in reply to: Conflict with JUPITER WORDPRESS THEME #9013
    ggrant32
    Participant

    I Have contacte date theme developers and they have looked into the problem. Below is their request. Can you help?

    I spent much time trying to solve this issue, wrote this code based on the documentations of the plugin:

    /*** Auto redirect a user who isn’t logged into the site ***/
    add_filter( ‘pre_get_posts’, ‘swpm_auto_redirect_non_members’ );
    function swpm_auto_redirect_non_members() {
    if( !SwpmMemberUtils::is_member_logged_in() && !is_page( array( ‘Member Login’, ‘membership-join’ )) ) {
    wp_redirect( ‘https://dwaclone.mystagingwebsite.com/membership-login/’ );
    exit;
    }
    }

    Added it to the theme but it will put the website in an infinite loop.

    So, wanted you to ask the plugin development team again, that share a solution for theme integration if there is any. Actually, there must be some functions to copy to the functions.php file of the theme and make the plugin compatible. Will you please ask them this?

    November 23, 2016 at 1:31 am in reply to: Conflict with JUPITER WORDPRESS THEME #8987
    ggrant32
    Participant

    Yes, as stated at the start, it works fine with the default theme.

    November 22, 2016 at 2:25 pm in reply to: Conflict with JUPITER WORDPRESS THEME #8979
    ggrant32
    Participant

    Thanks, but we have already tried that. The PAGES aren’t custom post types. Just pages.

    November 22, 2016 at 5:05 am in reply to: Conflict with JUPITER WORDPRESS THEME #8977
    ggrant32
    Participant

    Thanks, but i am trying to block the WHOLE page. The reason i listed those items is because i can still see those items on the page. If the page was blocked, i would NOT be able to see them. The header image is page content (a simple image) and the menu is also page content (just text links). The main ‘HEADER’ and ‘MENU BAR’ that the rest of the site has, has already been removed from these page templates.

    See attached screenshot of how i set the WHOLE page to be blocked.

    https://www.dropbox.com/s/0zd9bajp71g8bhr/Screen%20Shot%202016-11-22%20at%2011.09.55%20am.jpg?dl=0

    November 22, 2016 at 4:23 am in reply to: Conflict with JUPITER WORDPRESS THEME #8975
    ggrant32
    Participant

    Really? Ive tried different browsers and still see the header, and menus and recipe and general content? See screenshot : https://www.dropbox.com/s/qf3f3zsj2mz6kvy/Screen%20Shot%202016-11-22%20at%2012.23.11%20pm.jpg?dl=0

    Can you send me a screenshot of what you see?
    https://dwaclone.mystagingwebsite.com/members-portal/

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy