The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
22 views

Private part of website

I am looking for a way to send a private link to my customers via mail. This private link contains a page on my website with a pdf, this pdf should be able to be viewed in this page and also ...
4
votes
1answer
27 views

Let private posts stay in status “private” after edit through “editors”

I'm using some private posts for intern purposes. When an editor changes something on these posts, its status turns to pending "review" and I have to publish it again as a private post. When an ...
1
vote
1answer
14 views

Setup private content for specific users with daily updates [closed]

So I have only found membership plugins which cater for private area where users can access the material after paying depending on their role. I need to make a dashboard kind of area where users can ...
0
votes
0answers
17 views

Customise BuddyPress Notifications Email - specifically “new private message”

Is there a function i can call and customise to change the email that is sent when my members receive a new private email. I understand there are plugins available, but i would ideally like to do ...
6
votes
2answers
93 views

Where to securely store API keys and passwords in WordPress?

I'm looking to use a few APIs and many come with keys, secret keys and passwords required to work. Where in WordPress can you store that information? Assuming anyone can hack your DB is there anyway ...
0
votes
1answer
30 views

Post visibility based on user role

How can I make it so that new posts will be automatically private, except visible to other users which have the same user role as the post author?
0
votes
1answer
42 views

Exceeded the virtual memory limit

I've launched website a few weeks ago using WP. I've started getting messages from my web host saying "Your website.com web hosting account exceeded one or more of its resources within the last 12 ...
0
votes
2answers
135 views

My custom page template with is_user_logged_in() does not detect that I'm logged in

I have a custom page template that looks like this: <?php if( is_user_logged_in() ): ?> <?php get_header(); ?> <?php while ( have_posts() ) : the_post(); ?> <?php ...
0
votes
1answer
85 views

404.php only works if I'm logged in. Everybody else redirects to wp-login.php - why?

I have this "Forum Engine" theme and want it to be private. (No it's not bbPress, that was my first question too.) So the theme (Forum Engine) has a "page" called "Threads Index" that is static on ...
0
votes
1answer
55 views

How to check if the user was redirected?

I need an advice on how to the following: I have registered course custom post type and created one for example Course1. Course1 has child posts - some are private (e.g Lectures) and some are not. ...
0
votes
1answer
283 views

Private page protected with username and password

We are building a WordPress site where one of the pages needs to be accessed via username and password. I know that I can create a "Private" page, where the user can enter a password to view. ...
0
votes
1answer
80 views

Private Post BUT Public excerpt on Homepage

I'm building a website for a french school. My problem : part of the website content will be private. Me and some other specified users will publish private posts (posts that only the 600 ...
0
votes
2answers
144 views

Comprehensively Restrict Post Type Taxonomy to Logged-in Users

I've registered an employers post type with several associated taxonomies and want to all associated pages (single, term archives, post type archive page) only viewable by logged-in users. I've ...
2
votes
0answers
416 views

Fetching private posts or custom post types via WP-API with basic authentication

I've installed WP-API along with Basic Auth. I'm able to fetch cpt posts using curl http://siteurl.com/posts?type={post-type} However, if I change a post to private, it is no longer returned. This ...
0
votes
1answer
18 views

limit the access to uploaded files

I have some files that I want to be accessible only to registered users. So I have uploded them to a page set as private. Is this sufficient to prevent unregistered users to download them? I have made ...
0
votes
0answers
108 views

get_terms(); show private posts when logged in

Hi have a custom post type "FAQ". I got some "FAQ's" that are private, also only visible for logged in users. I used "get_terms()" funktion for a widget that is listing links to the categories of ...
0
votes
1answer
43 views

Hide public page from logged in users?

Got a private site, with 4 public pages. The public pages include: Login, lost password, register and preview. The preview page shows content set to anyone only. I need the preview page to be hidden ...
0
votes
0answers
108 views

Automatic updates of plugins and themes outside of wordpress.org

I'm finding it surprisingly difficult to find any info on standardized ways of updating a "private" plugin that does not exist in the wordpress.org repositories. I've seen -- and bought -- plenty of ...
0
votes
1answer
255 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
66 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
39 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
80 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
1answer
550 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
302 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 ...
1
vote
0answers
38 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
171 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
306 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
166 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
4k 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
1k 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
653 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
1k 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
597 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 ...
5
votes
2answers
475 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
39 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
3answers
887 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
452 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 ...
9
votes
1answer
7k 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
3answers
3k 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
111 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 ...
2
votes
4answers
4k 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
92 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
3k 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
835 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 ...
1
vote
5answers
6k 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
694 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
3answers
1k 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
536 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
260 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
203 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: ...