The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
17 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
15 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
7 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
18 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
34 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
62 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 ...
0
votes
1answer
235 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
65 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
68 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
0answers
130 views

Wordpress and NginX deny access to uploaded folders/files if not logged in

I have a wordpress installation on an nginx webserver. I have my users have to log-in to see any of the photos/files that I upload to the website. But, all of the photos get a direct link to the ...
0
votes
0answers
13 views

When I try add content to a page and click update, the content is erased / deleted

I have a few WordPress sites and some of them have started having this problem. When I edit a page and click the 'Update' button, the content is either erased, or only a small portion remains. Does ...
0
votes
1answer
71 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
46 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
93 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
137 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
100 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
79 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
154 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
124 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
43 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
19 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
26 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
200 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
69 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 ...
0
votes
1answer
392 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
417 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
125 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
100 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. ...
1
vote
1answer
327 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 ...
7
votes
1answer
5k 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
364 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
52 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
230 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
541 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
228 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
130 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
309 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
766 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
226 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
181 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
141 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
109 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
832 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
56 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 ...
1
vote
1answer
333 views

Restrict other Admins from using Editor in Admin Panel

I am running a WordPress website. I want to assign other users roles like Admin, Editor, etc. I want them to be able to install plugins, themes, delete them, etc. The only thing I don't want them to ...
0
votes
1answer
192 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
636 views

How to allow registered users to submit the form only 5 times per day?

Question Is there a way that my registered users (if they are not the form is hidden so I don't need that) are restricted to submit the form more than 5 times per day, or 20 per month or whatever ...
1
vote
1answer
481 views

Remove admin menu

Ho do you remove admin menu items and dissable acces for users below admin ? The right way... // 1 - Remove Menu Items function my_remove_menu_pages() { if ( !current_user_can( 'administrator' ) ...
3
votes
3answers
2k views

User redirect to destination URL after login

Scenario: if user not login, user redirect to customize login page and redirect again to destination page after login. I don't use a function or plugin. This code to restriction page: if ...
0
votes
1answer
87 views

Basic File/Post restriction plugin

I am looking for a plugin that allows me to restrict access for a individual post/page to a specific role or individual. It also needs to restrict files attached to that post. I have tried several ...