The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
23 views

WooCommerce: Restrict users from managing certain categories and products? [closed]

I'm building a book shop marketplace, with 2 supervisors assigned to certain categories and not in relation with each other. How can I restrict certain WooCommerce categories and related products, by ...
0
votes
1answer
13 views

Restrict backend but allow to use post.php?action=delete&post=POSTID from front-end

Restrict backend. add_action( 'init', 'blockusers_init' ); function blockusers_init() { if ( is_admin() && ! current_user_can( 'administrator' ) && !( defined( 'DOING_AJAX' ) ...
0
votes
0answers
36 views

Restrict access to custom post type and filter from every query

I created a custom post type topic which is just for internal use. I managed to assign the correct capabilities so that users of certain roles can edit/publish/delete posts. Now I want to redirect ...
0
votes
2answers
42 views

How to force acceptance of site terms on first login?

I want to force users to accept the terms and conditions of the site when they log in for the first time. I found a couple plugins that would show the terms, but they don't prevent you from ignoring ...
1
vote
1answer
62 views

How do I log out users from a restricted page if they are already logged in on another device? [closed]

Hope someone can help me. My client and I are down to the wire on this project and I can't seem to figure out a solution for this problem. I'm currently using WP Bouncer to limit the amount of ...
4
votes
1answer
103 views

Loading posts associated only to the logged in user on recent posts page

Dear Wordpress Captains, I've stumbled upon a problem and I am seeking for assistance. What I'm trying to create is a customer portal where the logged in user will only see the posts that are ...
1
vote
1answer
33 views

Are exclusive taxonomy terms possible?

I'm creating a site that requires users' content to be exclusive to the user. Ideally I would like this to extend to taxonomy terms. Example: I have a taxonomy "Clients" UserA creates the term "My ...
0
votes
0answers
92 views

How do I block access to a specific WP page to all IP addresses, excluding one?

I'm quite new to WordPress, and I've just set up a landing page for some internet kiosks I manage. I want this landing page to only be accessible from a certain IP address, and some sort of "access ...
0
votes
1answer
34 views

Member Site - Always Sends Me Back To Login

I set up a simple site about a year ago for a client that uses a modified Twenty Fourteen theme to run a members only site. You can see the site here. She wanted the site to be completely restricted ...
0
votes
1answer
22 views

How can I lock specific posts (cpt's) from editing by anyone other than ADMINS

To be 100% clear, this has nothing to do with the front end of the site. I want to keep all users other than Admins from editing a few specific posts. The posts are a CPT that the editors/admins ...
0
votes
0answers
44 views

Access Restricting Multi site while giving plugin and theme editing option

In a multisite environment, if site admins can add their own themes and plugins, they can also see other site files. Is it possible to restrict such access? I do not want one site admin to see options ...
0
votes
0answers
40 views

Prevent user to see detail view of attachment of another user

This plugin prevents unprivileged users to see images, that other users uploaded: add_filter('parse_query', 'own_content_only_restriction' ); function own_content_only_restriction( $wp_query ) { ...
0
votes
1answer
66 views

One Site as a part of Multisite to be hidden (Un-published) from Public?

Lets say i have some sub-domains under one single Multi-site: http://apple.example.com http://banana.example.com <---- hide from public access (Protected) http://cherry.example.com How do i ...
-1
votes
1answer
155 views

Website visible only to Registered users (non wp-admin)

I have created a page with a custom login using wp_login_form() function but how can I redirect all visitors to that page in similar way described in that topic? My code looks like: function ...
2
votes
1answer
673 views

Correct Post Count ( All | Published | Drafts | Pending | Trash ) for Custom Post Type when restricting to view own posts

I want to restrict users in wordpress to view their own post and media items only. Following the steps given in the below link I have developed the plugin to restrict users to view the own posts and ...
0
votes
2answers
89 views

How can I set a maximum allowed post size and number of posts submitted?

How can limit the size of posts that authors can create on my WordPress site and the number of posts they can create?
0
votes
1answer
305 views

How can I restrict a custom WordPress role access to only a specific plugin?

I created a custom plugin . I want to add some admin side users to use that plugin. I created a specific role . But i want to restrict the those users/role access only that plugin not the entire ...
0
votes
1answer
120 views

Is it possible to restrict files from your wordpress uploads (not logged-in users or guest)?

I want to restrict the uploads and only be visible to logged-in users. But the PDF's or images files always are visible and also to un-logged users. You can imagine that this WP would be completely ...
0
votes
2answers
169 views

Restricting page access [closed]

I need to restrict access to a page in a wordpress site for everyone but registered users. I have looked at a couple of plugins, and although they work well, they don't quite fit my solution... The ...
0
votes
1answer
172 views

Allow users to only CREATE one single (custom) post

I created a custom post type with taxonomy and now want to allow users (of a specific user group) to post only one single post in a specific category. If the user has already posted a post, he can ...
0
votes
1answer
254 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 ...
0
votes
2answers
144 views

I restricted wordpress by logged users. It's possible exclude a page?

Here is my code for restrict my wordpress site: function restrict_access_if_logged_out(){ if (!is_user_logged_in() && !is_home()){ $redirect = home_url() . '/wp-login.php?redirect_to=' ...
0
votes
1answer
176 views

Restrict access to trash, only admin

I'm new in WordPress. I have to restrict access to the Trash for all users except the administrator. All users CAN move to the Trash, but only admin can delete permanently or restored. I do not know ...
0
votes
1answer
254 views

Wordpress Shop and restricting products and categories for some users/groups

I have this webshop that I've built in WordPress, no WooCommerce, no Wp-Commerce or anything like that, but from scratch. The users visiting the site will have to be logged in to view products and ...
0
votes
1answer
242 views

Limit file downloads to logged in users (WP + Nginx)

I am looking for a way to restrict access to mp3 files on my site to logged in users only. The approach listed here sounds pretty much like what I need: RewriteEngine On RewriteBase / RewriteCond ...
0
votes
1answer
61 views

Custom content before post content

I am using this code to insert custom content after title and before content. How can i limit it to only "post" not pages and custom post types. function theme_slug_filter_the_content( $content ) { ...
0
votes
1answer
20 views

How do we restrict a user to see a field in a post without registration,

How do we restrict a user to see a field in a post without registration, after registration the user will be able to see the link. I have a project in which I have created a post from an excelsheet ...
0
votes
0answers
27 views

Show some content if the user has done something

I am looking for an easy way to set conditions that the user has to meet before some content will be available for him. I want to make something like a tunnel of pages, for instance, where the user ...
0
votes
1answer
245 views

Restrict access to content in conjunction with facebook connect & google login

I've got a page of content that I want to hide by default. We want the users wanting to see the content to be able to simply login using Facebook connect or Google logins. Since we will be using this ...
0
votes
0answers
74 views

Assign specific editor with custom user meta “A” to all authors with custom user meta “A” and exclude all other author access

I am looking to do the following: Logic/layout/cores: All contributors select a school in a custom user profile meta field All contributors also select a club in a custom user profile meta field ...
1
vote
1answer
494 views

Removing Wordpress Plugin Menu Item for a specific user

I want to remove certain dashboard menu times for a specific user. Now this menu consist of plugin menu items as well. One particular plugin I want to hide from the user is Contact Form 7. Here is ...
0
votes
2answers
489 views

Hide page link in main menu from anonymous users

The title pretty much explains itself, I'm looking for a way/plugin to hide the menu link to a specific page from users that aren't logged in.
0
votes
1answer
136 views

How to give members access to their own protected page?

I'd like to give each member access to their own personal page that only I'll be able to edit. Each member will have their own personal page with private info. Do you have any suggestions on how to ...
-1
votes
1answer
123 views

Using Conditional Tags to restrict something to 1 user?

I am using the following widget http://wordpress.org/plugins/widget-logic/ This allows me to restrict widgets using WP Conditional tags. What I want is to restrict one widget to only 2 users. ...
2
votes
1answer
448 views

Restrict post edit/delete based on user ID and custom field

I've been able to prevent deletion and editing of posts based on user ID and page ID however, I need to restrict access to editing and deleting based on a custom field. Not sure how to go about doing ...
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
4answers
488 views

WP Cron doesn't save <iframe> or <object> in post body

I am using wp_cron to auto grab posts from a remote website and save them in my wp db. NOTICE! I am executing my code from my plugin, not from my template functions.php or somewhere else. I have my ...
0
votes
1answer
57 views

Restrict access to specific content

I need to create several users in WP and to restrict their permissions to specific contents. For example: I create a custom content type called "Cook Profile" with several text fields and the ...
0
votes
2answers
254 views

Require re-login when logged-in user attempts to access restricted page

I need to restrict access to certain frontend pages, based on a user_meta field. All works fine, except when the user is already logged in but with the wrong credentials. In that situation I would ...
0
votes
0answers
708 views

Restrict download files from not generated Urls

I use a plugin in WPMU that encrypt all downloads urls in wp-content/uploads/ : The downloads can still be accessed if users know the path to the file: e.g. ...
2
votes
1answer
284 views

Restrict access to post if it is currently being edited

On a platform with many Editors, the problem that I am experiencing is that two editors proofread the same post simultaneously (and disregarding the warning notice about someone else currently editing ...
0
votes
2answers
157 views

force login loophole

I want to restrict access to my wordpress site to allow registered users only. I have tried the following plugins: Require-login Authenticator WP-lock All of them have the same problem: After ...
0
votes
1answer
374 views

Simple Math Quiz or Captcha to hide whois query form

I have a whois form in my site that enables users to query for domain name availability and if available gives them the option to request for registering it. The whois form is inserted via shortcodes. ...
1
vote
3answers
932 views

Page Restriction and Redirect for Particular Levels or user

I am planning to have a page restriction and redirect for the particular level of users, but I dont have any idea how to implement that. Here's an example of what I want to achieve I have a page ...
1
vote
1answer
303 views

Restrict access to the Trash folder in Posts

I want to restrict users from deleting posts permanently. How do I restrict access to the Trash folder in Posts? This is the only page were the users can delete their posts permanently. The only ...
2
votes
2answers
189 views

Restrict access to specific users

Is there a built-in function that would allow me to restrict access to registered users until the official launch date in Wordpress 3.4.2? The blog is self-hosted.
0
votes
1answer
156 views

Avoid too long words in a post title, post content or comment but only if its not a url

I want to prevent users from posting things like "aaaadfgdfgsdfgdaaaadsfgsdfgaaasdfgdfaaadfgsdfgaaaaaaaajahkjhkahkkjkjhaa..." which would not only be annoying but would certainly break the content div ...
2
votes
1answer
127 views

Restrict certain posts from being sent to the feed subscribers

Is there any way to restrict certain category’s posts or certain posts from being displayed into site default feed after published? I’m asking this because I don’t want few specific categorie’s posts ...
0
votes
2answers
1k views

Downloadable content only for subscribers?

I'd like to use WordPress to set up a whitepapers site. Any user can check the main site with a list (blog format) of white papers available. But if a user wants to download any whitepaper, he has to ...
0
votes
1answer
57 views

How to restrict a plugin from certain pages without editing its core

I've run into a problem using two different twitter plugins. One is for login and one is for displaying a twitter stream. The issue is they both use Oauth so I get a re-declare error when trying to ...