- This topic has 6 replies, 2 voices, and was last updated 6 years, 5 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Hi, Just setting up a new blog and we want to display the header and either the first couple of line of each blog or an excerpt to all users but only display the full articles to logged in users.
Is this possible out of the box in Genesis, or do we need to do something extra?
OK thanks Brad. I'll get the technical guy here to look at this then!
Are you referring to archive pages or all pages and posts?
pages and posts Brad.
We've now had someone build some custom code for us but are on the next stage of working out how to integrate this with the login page...!
Interesting. Did you want to display a login form for logged out users on single posts and pages?
I spent a couple of hours working on this solution.
It limit the content to any character limit you set in the code on single posts and pages only for logged out users and displays a login form below the content limit for logged out users only. The full content is viewable for all logged in users.
© 2023 WPEngine, Inc.