This topic has 2 replies, 2 voices, and was last updated 9 years by carolina marques.

  • Author
  • #62644
     carolina marques
    Participant

    There is no way restrict Portfolios to specific users? Paid memberships only blocks posts, pages and bbpress for certain subscription levels?

    #62800
     Andrei
    Moderator

    Please add this code to your functions.php file and it will add Pmpro Restriction options for portfolio.

    COPY CODE
    
    function kleo_portfolio_pmpro_metabox(){
        add_meta_box('pmpro_page_meta', 'Require Membership', 'pmpro_page_meta', 'portfolio', 'side');
    }
    
    function kleo_portfolio_pmpro_cpt_init(){
        if ( is_admin() ){
            add_action('admin_menu', 'kleo_portfolio_pmpro_metabox');
        }
    }
    add_action('init', 'kleo_portfolio_pmpro_cpt_init', 20);
    

    Please let me know if I can help you with anything else.
    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #63052
     carolina marques
    Participant

    Thank you Andrei. It worked. And yes, after I updated to 3.0 the icons Blog and also what the SoundCloud along with other social networks no longer appear …

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?