The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
24 views

Help analyzing var_dump [on hold]

I'm trying to debug a problem in a custom theme with the search.php page. I'm getting no results on what should be a good search. I added var_dump($wp_query->request,$wp_query->posts) to the top ...
0
votes
1answer
15 views

Front end login and page restriction

I've read a few posts about this topic, but I haven't found any plugins that fit my need. What I want to achieve: User A and B both have a login. When user A logs in, he's redirected to ...
1
vote
0answers
24 views

How can i realize a semi-private research diary blog

We are a group of researchers who would like to each use a blog as our research diary. Regularly we would write down in a post what we have been doing, intermediate results, to do's, challenges ahead, ...
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 ...
1
vote
0answers
19 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 ...
0
votes
1answer
24 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
70 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
30 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
27 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
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 ...
0
votes
1answer
107 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
76 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
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 ...
-2
votes
1answer
529 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
227 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
472 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
1answer
330 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
173 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
410 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
216 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
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 ...
0
votes
2answers
830 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 ...
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 ...
0
votes
1answer
86 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
714 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
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 ...
2
votes
3answers
544 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
533 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
234 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
201 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
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
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
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
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 ...
3
votes
1answer
270 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
99 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
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 ...
1
vote
4answers
371 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
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
347 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
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 ...
0
votes
1answer
69 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
334 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
499 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
369 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
379 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 ...