The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
12 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
46 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
26 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 ...
1
vote
0answers
21 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
1answer
47 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 ...
0
votes
1answer
86 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 ...
1
vote
2answers
71 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 ...
0
votes
0answers
58 views

Show private posts by group leader to members of that group across the website

Group leader - A designated user creates private posts. Group member - I want a certain subset of my users to be able to see it across the website (on taxonomy/tag pages as well as the actual single ...
1
vote
1answer
842 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 ...
-2
votes
1answer
457 views

Step by Step Instructions for Making Media/Uploads Private to Only Logged-In Users

all. I found this site via a Google search that led me to this topic: How to Protect Uploads, if User is not Logged In? It looks like that solution would work for my situation (including hakre's ...
0
votes
1answer
195 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
377 views

Override private status - Enable users to read private posts

Hidden private posts for not logged in users The private posts are by default only visible when logged in. Override, show private posts for everyone Is there a clever way to override this? Make it ...
0
votes
0answers
117 views

Add manually created post to private group? (User Access Manager)

I'm just wondering if there's one specific function in this plugin's APIs that takes a post (maybe its ID, maybe its title, anything) and adds it to a group that has certain privacy settings. I'm ...
0
votes
1answer
303 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 ...
4
votes
2answers
162 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 ...
0
votes
1answer
37 views

Privacy in WordPress

I am looking to set up a private community using WordPress. The requirements are: User can "register" somewhere An admin will "approve" them The user gets an email "you have been approved" The user ...
0
votes
2answers
372 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
2answers
197 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 ...
5
votes
1answer
2k 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 ...
0
votes
2answers
729 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
67 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 ...
1
vote
3answers
852 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 ...
0
votes
1answer
83 views

What is the best way to achieve unique Member functionality?

im a developer that is somewhat new to wordpress. I have a client that is a wedding planner and wants to create a basic membership (paid) site where women can join and create checklists, budgets, ...
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
votes
1answer
687 views

How can I make my blog private? [closed]

I want to create a blog to share with my family, but random Internet strangers should not be able to read the posts. How can I make posts hidden to the public, by default? I know I can manually edit ...
0
votes
5answers
2k 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 ...
2
votes
3answers
532 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
2answers
490 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
213 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 ...
0
votes
2answers
196 views

AJAX requests within templates

I'm trying to come to an accurate decision here about safe ajax requests from a template. The thing about AJAX that always scares me is that the called script location is public: ...
0
votes
1answer
172 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
3answers
1k views

How to control who can view certain pages in BuddyPress?

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
1answer
62 views

Advice on setting up private site

I've developed a wordpress site which is only to be made available to around 30 people, whose email addresses I have in a spreadsheet. I want to allow these people to be able to register/login and ...
1
vote
0answers
121 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 ...
3
votes
1answer
260 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 ...
1
vote
0answers
93 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 ...
4
votes
2answers
985 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 ...
1
vote
4answers
356 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 ...
0
votes
1answer
55 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
337 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 ...
1
vote
1answer
126 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 ...
0
votes
1answer
68 views

Database interaction (private-public) [closed]

I like to have a nice website for my client. I will do it with WordPress. But that client will manage a database, much like Excel or Lotus or Access or FileMaker. I like to offer the same style of ...
2
votes
3answers
325 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 ...
0
votes
1answer
484 views

Redirect non-members to about/intro page

I´m making a small wordpress/buddypress community site where I want all content except an about page to be for members only. I need to do a redirect to the about-page for all non-logged in users. ...
1
vote
1answer
360 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 ...
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
368 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
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.
1
vote
1answer
277 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 ...
1
vote
2answers
833 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 ...