Support » Plugin: Client Portal - Private user pages and login » Adding A welcome note and other related content to be displayed immediately

  • Resolved princebob


    Please I want to add a welcome note and other related content to be displayed immediately a user private page is created. Please guide me on how to do this. I love you for what you are doing, God will reward abundantly. More power to your elbow.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    Thank you for reaching out to us and for your kind words.

    From your explanation I understand that you would like to display a Welcome Note and other related content after Registration.

    Are you registering users as Admin or would you like to allow user registration? For Registration I recommend Profile Builder plugin. After your install and activate the plugin you can add inside a page the [wppb-register] shortcode to generate the Registration form.

    After registration we can setup a redirect, using the redirect_url argument, to a page where you previously added your welcome message and the related content:

    [wppb-register redirect_url=""]

    Let me know if this is what you are looking for.

    Best regards,

    The Profile Builder link leads to a 404 page, btw.


    Thank you for reaching out to us. We know about this issue.

    Profile Builder is temporarily out of the Repository. Next week it should be back and available for download.

    Thank you for your understanding.

    Best regards,

    Thank you for your response.What i mean is that I want to have a welcome message displayed on the users private page immediately after there registration with other related contents.I use ultimate member plugin and the redirection works properly. Also I want to know if the side menu of my theme containing some pages like profile, account, attached to the users private page will only have information of the users. Thanks in anticipation.


    In order to add default content inside the Private Pages you will need to use some custom code:

    1. Create an empty plugin like this:

    2. Add the following code to the end of it:

     * Filter to add default content inside the User Private Page created with Client Portal plugin
    add_filter('wp_insert_post_data', 'wppbc_client_portal_default_content', 10, 2);
    function wppbc_client_portal_default_content($data, $postarr) {
        if ($data['post_type'] == 'private-page') {
            $data['post_content'] = 'Custom Text';
        return $data;

    3. Replace Custom Text with your content

    4. Install this plugin via FTP (copy it inside wp-content/plugins) or create a zip archive with it and install it via the WordPress plugin upload functionality

    If you have existing users with Private Pages you will need to manually update every Private Page to display the default content. The default content will be displayed after the update.

    After you add the default Content you will need to deactivate the plugin in order to use the backend editor. Otherwise the filter will overwrite the content added in Editor.

    Test it out and let me know if it works.

    Best regards,

    Thanks so much. But please I still want to know if I create this plugin with the code, will it work in conjunction with your plugin or does it work separately and create private pages also? Thanks in anticipation.

    And also can I create other private pages for each user using your plugin.


    I don’t think the above custom code is the best solution for you because there are limitations.

    You should have the custom plugin active before creating all the Private Pages. Since you already have Private Pages the custom plugin will work only if you update each page individually and I don’t think this is the best solution.

    Keeping the custom plugin active will overwrite any new content added inside the Private Pages. Basically you will need to deactivate it after you added all the default content.

    My suggestion would be to wait until the dev team implements this functionality inside Client Portal.

    Best regards,

    Yes, I use Visual Composer and it’d be great to have a VC layout automatically generated in the edit window so the client would just need to add specific details. Currently he has to copy all the VC layout from an existing private page to each new one, before he can add data.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Adding A welcome note and other related content to be displayed immediately’ is closed to new replies.