WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] Pagelines lite theme with wp-members (5 posts)

  1. mysmallbizu
    Member
    Posted 1 year ago #

    doe anyone have pagelines lite theme working with wp-members ???

    I've set Pagelines PlatformPRO active with wp-members to display the teaser content with the correct dialog box showing below.

    But when I activate the newest Pagelines Lite them ever post shows as password protected PLUS the wp-members login dialog.

    I've asked this question on the pagelines forum and then just suggested I upgrade to the paid theme... Any config or hacks from someone who has got it working would be appreciated

    http://wordpress.org/extend/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    You can use the wpmem_post_password filter to correct that:
    http://rocketgeek.com/plugins/wp-members/users-guide/filter-hooks/wpmem_post_password/

  3. mysmallbizu
    Member
    Posted 1 year ago #

    Thanks worked perfectly

  4. mysmallbizu
    Member
    Posted 1 year ago #

    I upgraded pagelines and broke it again :-) but for the life of me can't remember what file gets edited in pageslines

    I try adding

    /**
    * Fixes password spoof - the plugin sets a post password to protect
    * the comment form. In themes where this causes the WP password
    * protected post dialog to display, returning an empty post password
    * should correct the problem.
    */
    add_filter( 'wpmem_post_password', 'my_pass_filter' );
    function my_pass_filter() {
    return '';
    }

    to the class.post.php file but after I do it the editor gives me a string error...

    Suggestions on other files to edit?

  5. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    You should add that to your theme's functions.php file.

    Or better yet, create a child theme and add it to the child theme functions.php file. That way, if you update the theme, you'll be updating the parent and not lose your customizations.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic