Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should excerpt be private #3

Open
samikeijonen opened this issue Nov 18, 2014 · 4 comments
Open

Should excerpt be private #3

samikeijonen opened this issue Nov 18, 2014 · 4 comments
Labels

Comments

@samikeijonen
Copy link
Owner

Should we make an option to make excerpt private? Now they are never private.

@tnorthcutt
Copy link

On the one hand, I like the WP philosophy of "decisions over options."

On the other hand, this does seem like a pretty simple option to add. As a user, I think I would normally expect everything to be private by default, with the option to make excerpts public. But, of course, it's hard to make a change like that to the plugin once people are already using it 😄

So, consider this a vote for adding an option to make excerpts private.

@samikeijonen
Copy link
Owner Author

At the moment I have made a decision that only singular post type can be private. Usually excerpts are used in Blog or archive pages.

I'll leave this open and re-think about this.

@tnorthcutt
Copy link

I think that makes sense (only allowing is_singular() to be set private). Right now, would that allow the excerpt from a (private) single post to be shown on an archive page? I think that would be confusing to a user, since they will have marked a post as private, but there could still be a way to see that post.

On the other hand, it's a good way of having private content, but being able to show a "teaser" of that content, which is often desired on membership sites.

@samikeijonen
Copy link
Owner Author

Yes excerpt would show up in archive pages like the content also. So if the_content() function is used in archive pages also, writer should use the “Read More” tag. Before “Read More” tag content would be a teaser content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants