Hide specific level & allowsignup using a direct link.

Pro Sites – Is there a way to Have a “Level” be invisible (with the box not checked) and still have someone be able to access it to join via that subscription? via some kind of link?

Also, is it possible to have one version of the “upgrade” page that has the coupon code and one that does not? or are we int he same boat?

I suggested we could possibly hide 1 of the levels with CSS, but the sign up using link to that level is the biggest issue. Not sure how difficult this would be to achieve.

  • Ash
    • WordPress Hacker

    Hi there

    Please try the following code:

    add_action( 'wp_head', function() {
    if( ! isset( $_REQUEST['pro-level'] ) || 'all' != $_REQUEST['pro-level'] )
    #prosites-checkout-table .pricing-column.psts-level-2{
    display: none;
    } );

    You need to find out pro level ID, and say if the ID is 5, from my above code change psts-level-2 to psts-level-5.

    Now, the pro level 5 will be hidden. If you visit your pro site url like this: http://domain.com/pro-site/?pro-level=all will show all the levels. The important part is ?pro-level=all at the end of the URL.

    Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.