WordPress.org

Ready to get started?Download WordPress

Forums

Paid Memberships Pro
Bug - Cannot unprotect (5 posts)

  1. Lisa
    Member
    Posted 1 year ago #

    I'm having trouble removing a post from membership.

    The admin box for Charter (the membership level) cannot be deselected. When the post is updated the box is selected again.

    The post is not in a member category.

    http://wordpress.org/extend/plugins/paid-memberships-pro/

  2. strangerstudios
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the heads up. I'm able to reproduce this and will have an update shortly.

    In a pinch you can delete the corresponding row in the pmpro_memberships_pages table.

  3. strangerstudios
    Member
    Plugin Author

    Posted 1 year ago #

    I've fixed this on the development version of the plugin. It will go out with version 1.5.5 (probably tonight).

    If you can't wait, you can see the edit here and patch your own version:
    https://github.com/strangerstudios/paid-memberships-pro/commit/f641d2c41a930b281ba2cf09f0ec86784eb52131

  4. Lisa
    Member
    Posted 1 year ago #

    Thanks, I'll wait for the update. Is there a way to make a child theme of the plugin? I had to change a line of CSS (text shadow) because it interfered with another.

    Or can I just save my current CSS file from this version and replace in the update coming before I install?

  5. strangerstudios
    Member
    Plugin Author

    Posted 1 year ago #

    You'd have to save and replace. You can enqueue a new style and have it depend on "pmpro_frontend". Then that css would load after PMPro's and you can override the styles.

    That would look like:

    wp_enqueue_style('pmpro_custom', get_template_directory_uri() . '/css/pmpro-custom.css', array('pmpro_frontend'));

    I should add a way to replace the css (for e.g. use pmpro.css if it's int he active theme folder). This is pretty common in plugins. I'll consider it for a future release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic