Simple Membership Plugin › Forums › Simple Membership Plugin › How to hide post titles
- This topic has 7 replies, 4 voices, and was last updated 9 years, 10 months ago by
mbrsolution.
-
AuthorPosts
-
January 10, 2016 at 1:28 am #4813
natewebco
ParticipantI would like to completely hide post title from showing up at all unless a user is a member. As it is now, non-members can still see all the posts, but the content of the post says “You need to login to view this content. Please Login. Not a Member? Join Us”.
Is there a way to completely hide the post so even the title doesn’t show up?
January 10, 2016 at 3:35 am #4814mbrsolution
ModeratorHi, to control the display of post and pages all you need to do is not add them to your website menu, or the sidebar.
Once you publish the post that you want to make private, add the URL to a page or post. Your members will be redirected too this page or post once they sign up to that membership level. Each membership level can have different post URL added to a specific page which they are redirected too. Remember these post are not publish to the menu or sidebar.
Kind regards
January 24, 2016 at 8:27 pm #4992ada601
ParticipantI would also like to be able to replace the post title with a message. I’d rather not have to forgo menu integration in my use case.
Can you point me where to look in the code for replacing the post title with the same message as post content? I’ll give it a whirl if it’s not on your priority list of feature implementations.
Thanks for any help.
January 24, 2016 at 8:39 pm #4993mbrsolution
Moderator@ada601 what you are trying to do might not be doable or recommended. The php code gets the post or page URL title, which is part of the correct process.
January 30, 2017 at 11:30 pm #9948bailfund
Participant@mbrsolution I actually have the same question as natewebco in reply #4813 but do not understand your response. Could you go into more detail?
January 31, 2017 at 10:01 am #9963mbrsolution
Moderator@bailfund, are you wanting to hide and or make private the whole website?
January 31, 2017 at 6:44 pm #9970bailfund
ParticipantNo, I do not want to hide or make private the whole website. Here’s a link to the website Im working with to better explain:
http://autonomydiy.com/If you go to Friends > Updates you will see that the member’s-only post “member” title is viewable by non-members. I would like to make it so member’s-only posts aren’t viewable at all by non-member’s.
February 1, 2017 at 12:19 pm #9976mbrsolution
ModeratorHi, I see what you are trying to achieve. In that case you would have to create a custom template and hide the title or page header with either CSS style or via the custom template code. This plugin does not control the page or post title functionality of a theme at present.
Let me know if the above makes sense to you.
Regards
-
AuthorPosts
- You must be logged in to reply to this topic.