Support » Plugin: WP-Members: Membership Framework » [Plugin: WP-Members] More..

  • Resolved hOBOJoE


    We were having a problem cutting off text after <!–more–>. After examining the code and our content, I realized that the word more was in the content and the plugin was picking it up instead of <!–more–>. My solution was easy, go to line 111 of wp-members-core.php and replace 111 and 112 with the following:

    $len = strpos($content, 'id="more');
    				echo "<p>".substr($content, 0, $len-6)."</p>";

    So now it will search of the tag that wordpress creates for the more link. Just thought I would share in case anyone else is having a similar issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chad Butler


    That’s sounds like a good solution; Thanks!

    cbutlerjr – I’m using the plugin and all seems fine except that I can’t seem to lockout users from viewing certain content on a certain page. I’ve inserted the “<!–more–>” tag but the content still appears to all users, not just members. Any suggestions?

    Plugin Author Chad Butler


    Sounds like you are not blocking pages. Check the plugin settings. Or you can use a custom field of “block” to block an individual page.

    Pages and posts are not the same thing in WP. The use of the ‘more’ tag only serves to truncate posts from being shown in full on summaries such as the home page, monthly archive, etc. Any direct content, i.e. going to a full post or a page, will be blocked based on the plugin’s setting for posts and pages. The default settings that you choose for posts will effect all posts, but only posts. The default setting for pages will effect all pages, but only pages. If you need to block or unblock a post or a page from the default, that is done using the custom field.

    Hope that helps.

    cbutlerjr – Thanks. Is there a list of all the custom field options?

    Plugin Author Chad Butler


    There are only two – block and unblock. You can set a value of true or 1 for either. Note: they are case sensitive.

    Is it possible to separate the Login window and the window for signing up as a use. I’d like to just have login on my page and use the signup page separately after my visitor fills out a form and is redirected to that page.

    Thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP-Members] More..’ is closed to new replies.