Disable "Your Subscriptions" from home page

Hi I've installed and using the membership plugin on http://softwaretestinghelp.org but I don't want to show the "Your Subscriptions" section at the page end shown to visitors.

How can I get rid of it?


  • Patrick
    • Support Monkey

    Hi @Vijay

    Welcome to the forums!

    That does not normally display on the home page of regular WordPress themes.

    This would be a simple CSS fix by adding the following to your theme's style-sheet:
    #membership-wrapper .form-membership { display:none; }

    But that might actually hide it on all pages, even the one(s) where you want it to display.

    The issue is that you're using the Paper Template plugin that unfortunately does not assign classes to the body element for different pages it generates.

    So you may need to add a conditional to your functions.php file to hide it only on the front page if the user is not logged in.

    Try the CSS above first and, if that doesn't work right, we'll look at other ways.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.