Making a Custom Post type only visible to non-users via a specific link
I think what you want is a custom rewrite rule — specifically, a custom endpoint. This would have to live outside s2member. To start, wrap everything in a class: <?php class WPSE71804 { // post type key, whatever this happens to be. const TYPE = ‘customer’; // endpoint mask, 2 ^ 18 const EP = … Read more