Hide Private Posts When Using Widget
-
I am using the widget to show other posts from the same category.
How can completely hide “
private” posts even for logged-in users?
I am using.lcp_private{ display: none; }but this hides only the word “private” but not the whole post.
I did not find a setting in the widget to hide “private” posts which would be cool to have or alternatively customize the template. I would appreciate any hints to customize the template to accomplish this. Also I saw that hidden private posts when using theshort codedoes not workAlso I would like to hide all posts from subcategories and show only posts which directly relate to “
current category” selected.
The topic ‘Hide Private Posts When Using Widget’ is closed to new replies.