• I’m trying to figure out how to make my project available only to my client and me. When I change the post status from “Public” to “Private”, obviously the client won’t be able to see it (even if using the shortcode on another page). If I change the post status to “Password protected”, the password only protects the top portion (information in the WYSYWIG/visual/text editor) of the page & not the project details, not project status, and not project milestones. So, I guess my request would be to allow a “Password protected” post to hide all project information. Am I missing a feature that already provides this type of functionality? Any help would be much appreciated, thank you!

    https://www.ads-software.com/extend/plugins/project-status/

Viewing 2 replies - 1 through 2 (of 2 total)
  • It would take some customizations, but you could use the following as a starting point: https://www.ads-software.com/support/topic/plugin-project-status-assigning-project-to-a-specific-user. That would assign projects to individual users, and then you could use a plugin like S2Members to assign access privileges.

    I ran into this issue as well… the password protection does not protect custom fields, but it’s an easy fix if you get in the Editor and change some code. Would love to see this as a permanent fix.

    Find the line:
    <?php while (have_posts()) : the_post(); ?>

    And under it add:
    <?php if( ! post_password_required()){ ?>

    This is an open if statement which will ask if a password is required to view this page or if the password is already correct.

    Just be sure to close it after

    <footer id="credit"><p><?php echo get_post_meta($post->ID, 'footer_text', true); ?></p></footer>
    </footer>

    with the following:

    <?php } else {
    				get_header();
    				echo get_the_password_form();
    				get_footer();
    			} //end if ?>

    just before
    <?php endwhile; ?>

    the get_header() and get_footer() will call to your original theme’s header/footer.

    You can see my test here:
    https://thefierywell.com/client_projects/test-project/

    Should prompt you with a request for the password, which is “test”. Hope that helps!

    Edit: Updated to show code in formatting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Private Client Page’ is closed to new replies.