The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
1answer
3k views

simple solution for restricting access to (some) uploads/downloads

Initial Situation For a site I'm setting up I was looking into the whole field of securing uploads/downloads and restricting access to them based on user roles/capabilities. Of course I have read ...
4
votes
2answers
171 views

Are transients private or public?

Are WP transients specific to the user-session or can they be accessed from any session anywhere? Since they are written to the DB, I would imagine they are public and accessible everywhere, but is ...
4
votes
2answers
1k views

Forum plugin that allows private groups that are invite only [closed]

I'm looking for a plugin that would allow me to create private groups for discussion that are invite only. These would be for people who have taken a workshop and want to remain in communication with ...
4
votes
2answers
698 views

How can I make it so the Add New Post page has Visibility set to Private by default?

I'm trying to create a plugin that alters the Add New Post page so the Visibility field says "Private" by default: Status: Draft Visibility: **Private** Publish immediately [Publish] ...as opposed ...
3
votes
2answers
1k views

How can I create a separate blog that is private?

I am very new at all this and not a programmer. I want to know how to set up a private blog that requires a member login to view it. Is there a widget that one may suggest that does this. I am using ...
3
votes
1answer
268 views

Members Only site with Feed Keys

I've had good luck for several years (6 years!) running WordPress with Members Only and Feed Keys. This provided a completely members only blog (no external view at all) as well as private RSS feeds ...
2
votes
2answers
526 views

Exclude Private, Draft pages from Primary Nav when using custom menu

I'm looking for ways to prevent "private" and "draft" pages from appearing (to non-logged-in admins) in a site's Primary Navigation menu which is based on a custom menu - other than manually removing ...
2
votes
2answers
231 views

Attach a private function at a hook?

I have a class with some private & public functions. The thing is that I don't want some of the functions to be able to be called outsite of the class, so I want to make them private. But I need ...
2
votes
3answers
332 views

Make post password required to publish

I am making a site which will only have password protected pages. I would like it so that the password box is open by default, and is a required fields to publish the post. Ideally I would also remove ...
2
votes
1answer
6k views

Restricting access to files within a specific folder [duplicate]

Possible Duplicate: How to Protect Uploads, if User is not Logged In? Is there any way at all to restrict direct access to files within a specific folder to only specific wordpress users ...
2
votes
3answers
543 views

Making a Custom Post type only visible to non-users via a specific link

I am working on creating a small web-app with wordpress as the framework. It allows you to input a customer and in turn sends an email to the customer with a link back to the website in order to ...
2
votes
1answer
820 views

Best way to have an per-user customized private section

A common requirement for business sites is to have a client login which allow visitors to access private content for them (ie: downloads, screenshots, documents). I did it in the past and although it ...
1
vote
4answers
368 views

Restrict WordPress to Private

I want to set up a private WordPress site, with only 2 users, all I need is a simple private site functionality, with visitors unable to see anything when trying to login, only being redirected to the ...
1
vote
2answers
75 views

Planned private posts get published immediately

Somehow, it doesn't seem to be possible to plan post for my subscibers (visibility private) as they get published private automatically as soon as I save them. Is there any way I can keep wordpress ...
1
vote
3answers
1k views

How do I remove unwanted pages like archive, search, etc.?

By default WordPress pushes out a whole array of pages I don’t want or need - archive, author, blog, monthly, recent posts, categories, comments, attachment, taxenomies, search, search results, and ...
1
vote
1answer
1k views

How do I check if a post is private?

What I am looking to do is check if a page is private, give the users the option to register and see the page. Here is what I have now: <?php if (have_posts()) : /* Print the most as normal */ ...
1
vote
1answer
1k views

Set posts of a custom post type to be private by default?

Say I created a custom post type called 'Private Posts' ($post_type = itsme_private_posts) and want all posts under the custom post type to be set to 'Private' automatically when published i.e. by ...
1
vote
1answer
137 views

How to create a plugin that notifies for updates?

At this point when I activate a plugin and an update is available it updates the plugin. I like to create a plugin myself that I want to use private, I have several WordPress blogs and if I made an ...
1
vote
1answer
60 views

Hide a template part when page is password protected?

I'd like to hide the sidebar of my page when the page is password protected and the password has not yet been entered. I've searched for a while and haven't found any condition I could use. Maybe ...
1
vote
2answers
851 views

How to make a secure blog that is completely private?

I have a login safe application and it has hundreds of users. WordPress is a separate module of it and only used for blogging purpose [no other usage]. Both using the common database. The blogs are ...
1
vote
1answer
366 views

Are private posts visible to search engines?

I want to display a list of posts (deals) on homepage (and having a link to original deal on deal provider's site) but I don't want individual posts to be accessible by anyone even search engines. Is ...
1
vote
1answer
139 views

Is user listing on wordpress private?

I'm creating a website using Wordpress. Users are registering on it as "Subscribers". When you register, you have a small panel with some custom info on it (that I made, creating a custom template) ...
1
vote
1answer
726 views

List Category Posts not showing posts marked private to logged-in users

I'm using the List Category Posts plugin, and it isn't listing posts marked private, even if the appropriate user is logged in. Is there a fix for this?
1
vote
1answer
755 views

How do I display content to users who are not logged in instead of 404 on Private custom posts?

I want to display a message like "You must be logged in to view this", with Private custom posts. Theoretically, I want to use something like this: if (is_user_logged_in()) { // Page code goes ...
1
vote
0answers
13 views

Wordpress tax_query not showing private posts

When querying posts with the following: $getClientsArgs = array( 'post_type' => 'client', 'showposts' => -1 ); query_posts($getClientsArgs); Private posts are displayed if the person ...
1
vote
0answers
25 views

Can I create accounts with different permissions and make private posts in WordPress? [closed]

I haven't worked with WordPress at all. I have a project on a website that is WordPress-based. I have some experience with PHP, JavaScript, HTML, and CSS. My project is as follows: give the ability ...
1
vote
0answers
125 views

How to show private flickr group on a Wordpress site?

I have been trying to embed a flickr group within a Wordpress site for our camera club using a plugin such as slicker flickr or awesome flickr gallery. I have no problems with showing a set of ...
1
vote
0answers
98 views

How do I get next_posts_link to work with private posts?

next_posts_link and previous_posts_link don't show pages or posts that are private. This question has been asked many times on Wordpress forums with no solution. How do I get this navigation to show ...
1
vote
1answer
282 views

Excluding private/protected posts via IP

I essentially want password protected/private pages/posts in WP to work as they currently do, but completely disregard the functionality for certain IP addresses. I've looked into filters/actions ...
0
votes
3answers
2k views

How to control who can view certain pages in BuddyPress? [closed]

I would like to control who can see a page in BuddyPress and restrict anyone else from accessing it. Something along the lines of the following pseudocode: <?php if ( loggedin_user_ids==1,4,5,7 ) ...
0
votes
2answers
404 views

Show a special message for private page?

If I set a page to private, can I have it show a message instead of a 404 page for public users?
0
votes
5answers
3k views

How do I require authorization / login to view a specific set of posts / pages?

I am working on a wordpress site for a client who wants an internal 'intranet' for his employees. The basic needs are: Communicate things in-house House important company documents Provide quick ...
0
votes
1answer
177 views

How to properly print a 404 error without redirecton? (i.e. keeping the current URL)

There are some pages on my BuddyPress install that I would like to hide by printing a 404 error. With the help of the following question: Redirect Restricted Page to 404 I came up with this code: ...
0
votes
2answers
3k views

How to set privilege to wordpress subscriber for private page

I am having private page.I want to show this page only when "subscriber" logged in."Editor" should not access this page.How can i set the privilege.
0
votes
3answers
688 views

Manage Private Posts

I have a public blog but would like to have a section just for my own private notes? What is the easiest way to do this? Is there a way to make an entire category of post private?
0
votes
1answer
22 views

Using a private method as an action callback from within a class

I have created a class from within which I would like to call a private method (from within the same class) from the __construct method as an action callback. When I would like to use a public method ...
0
votes
1answer
218 views

Private Posts/Pages & Search

I have a site up where there is one private page and one private post. When logged is as admin, i can view both of these, and they even appear in the search. However, when logged in as an editor, I ...
0
votes
1answer
324 views

How can I create an RSS feed that includes “Private” posts?

I'm currently publishing articles to wordpress as "Private", as I don't want them to be viewable on the website. However I do need an RSS feed of these posts. Any suggestions on how to go about ...
0
votes
2answers
209 views

Prevent private post 404

I want private posts (for those not logged in) to use the single.php template just as public posts do, at the moment they get thrown over to the 404.php template. I've had a good look through the ...
0
votes
2answers
803 views

How to keep track of user logins?

I have a client with a private Wordpress blog - that is to say, you need to log in to read it. We are using Counterize to keep track of visits to the site and to find the most popular pages. But now ...
0
votes
1answer
71 views

Need to block user role from accessing bbPress all together

I've been looking at some options and I haven't seen a full solution to what I need. I need to block certain user_roles from accessing bbPress all together and from seeing the link to the page. Any ...
0
votes
1answer
56 views

Easiest way to have closed comments on a custom post type

My site has several different kinds of post types. One of these is Discussions. The site is completely open and public, but my client has asked that I provide a space where only certain members can ...
0
votes
1answer
344 views

Posts and Pages w. private visibility don't show up in existing content

when I create or edit a link in the editor (post or page) pages & posts with private visibility don't show up in the "existing content" section of the "insert/edit link" popup. All pages/posts ...
0
votes
1answer
3k views

The best way to protect uploaded media in WordPress?

I'm new to WordPress as I normally code my stuff by hand, I've been uploading some media to display links to within protected pages, which is great, however, anyone can access the direct url of the ...
0
votes
3answers
374 views

Exclude post from home page and archives, but still public

Can a post be hidden from home page, archive view, category lists etc. and viewable only if you have a direct link to it? The blog doesn't have registered readers and is open to public so that would ...
0
votes
1answer
291 views

Show private pages in public when you logged in as admin?

Is there any way to show private pages at the public website section when you logged in as admin? Today, they only shows in admin.
0
votes
1answer
23 views

Simplest way to create two private sections each with a common account

My client's site requires two separate, private sections. For each of them, there is one common login/password pair (or possibly one password without login) to be used. The client probably wants this ...
0
votes
1answer
62 views

Allowing users to view private posts (pending approval)

OK so I mostly fixed this myself I went into post.php in wp-includes. Changed the 'protected' => true, of pending to 'public' => true, but every time wordpress updates this will reset (I ...
0
votes
0answers
29 views

If user is not a certain role, act like there are no posts?

I am using Gravity Forms to create posts from the front end. I want ALL of the posts to be restricted by default to ONLY the Administrator and Association Member roles. The latter role is created ...
0
votes
1answer
102 views

Have custom post type Visibility be private by default, and have radio button also set to “Private”

I have been following the advice of this answer, but ran into a glitch... The post Visibility says "Private" on my custom post, but if you click the "Edit" link to reveal the radio buttons, the ...