The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
4 views

track logged in user link/clicks

I'm stumped here. I'm trying to track specific links on my site and report back time stamp of when a user clicked that link. These are for specific downloads and only registered users can access the ...
0
votes
0answers
14 views

Allow a user to update another user's profile

I have a membership site using the Woocommerce Membership Plugin with a number of levels of memberships: student, standard and institutional. They are all able to go in and update their own ...
1
vote
1answer
17 views

REST API: How can I restrict a custom post type to only be accessible by authenticated users?

I have a custom post type configured to be accessible via the WP Rest API v2. How do I lock the access to this custom post type so that only the authenticated users can perform GET requests?
0
votes
1answer
27 views

Signed-in as admin on just part of the site

I recently upgraded from WP 3.1 to 4.4.1. In the new setup, I am apparently seen as signed-in (as an admin) just on parts of the website (/blog/*) but not on other pages (that do not have the /blog/ ...
0
votes
1answer
10 views

How do I get the access type in WordPress?

How do I get the access type (from desktop or mobile) in WordPress? Here is a possible solution posted here. function yundanran_get_access_type() { $is_wap=false; $user_agent = ...
0
votes
0answers
11 views

Site admin that can see everything, but not save

Maybe it's strange question, but I'm interested in it; Is there any way to allow user display everything, that Admin can see (site options, custom types, plugins settings) but disallow to edit ...
1
vote
1answer
27 views

Create custom post with custom user rules

I am create a custom user post type testimonial and want to give permission to user to edit and delete there post but its show some error. 1. I created user rule. function ...
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
1answer
25 views

How can i create a pages for anonymous users in custom plugin..?

I am very new to WP. My requirement is to create a small Booking System as a plugin. I have 5 different pages for entering details step by step and Users can book as anonymous. Admin only need a mail ...
0
votes
0answers
18 views

Wordpress logged in users see 180 days every day other content on a particular page

What I want is this: A user logs in for the first time and gets 180 days. In these 180 days , he can visit the information page . On this page the content changes every day in this 180 days. Each day ...
1
vote
1answer
232 views

Redirect non-admin users away from wp-admin/index.php (main dashboard page) to wp-admin/profile.php

I've set it so non-admin user can't see the "Dashboard" link or can't have access to the main "wp-admin/index.php" page. I've also added a plugin that restrict non-admin users from creating a new ...
0
votes
0answers
23 views

How do I control the list of Pages an author can see?

Using one of the role managers,I enabled Authors to edit/create Pages). The edit/create pages screen shows a tree of all the pages in the system. Is there a way for (beside going into the core) To ...
0
votes
0answers
22 views

How to get permissions to read the post

I have a problem to make this kind of functionality within Wordpress. Three equal user groups: A, B and C. I have a list of all posts with different permission assigned to read them: posts open to ...
0
votes
1answer
29 views

Unique password to access a section site

I am working on a wordpress site. I am selling a digital course on it. Users interested in the course will pay locally via bank and send me payment details. So after I confirm their payment I will ...
0
votes
0answers
65 views

Using JWT to authenticate a user with an external system?

We have a WordPress application which is going to be linked with a parent system. We want to use JWT for authenticating with the parent. The idea is, if the user is not logged in on the parent, he ...
0
votes
1answer
70 views

Why does get_posts only show results for Admins or logged-out users?

I use a get_posts() call with these arguments: array(6) { ["include"]=> string(14) "1633,1634,1635" ["post_status"]=> string(3) "any" ["post_type"]=> string(10) "attachment" ...
0
votes
1answer
75 views

remove wp admin menu by customer user role

I have a custom user that i'm trying to minimize access for. I have a few admin menus in the toolbar that I'd like removed but only for this customer user role. I currently have it working for ...
1
vote
1answer
45 views

Set default page for user account in admin

I have set up an ecommerce site using wordpress/woocommerce and am now adding the users who will be dealing with the orders to the site. The only part of the site that they need to have access to is ...
0
votes
1answer
40 views

Username has been exposed

I am running a WordPress installation, I am using the theme created by my own. I haven't displayed any author related information in the theme. But I am getting server logs with ...
0
votes
1answer
156 views

How can I allow access to two user accounts using one login?

I have spent the last two hours searching for this and I cannot find a solution to my problem. I have a WP site with WooCommerce running which allows to users to create their own store. My client ...
0
votes
0answers
47 views

Client login area with gallery

I'm working on a website for my photography business, and I've been using smugmug's gallery management and sort of login tools (im a very tacky way) to give each client a login they could then use to ...
1
vote
0answers
25 views

Where are $current_user->allcaps set?

I recently found a problem with WP in which even the admin has no permission to get to anything on /wp-admin/. Oddly enough, when I compared the $current_user->allcaps to those on a normal site, I ...
0
votes
1answer
68 views

How to List only the users created by a particular user

How can I list only the users created by any particular logged in user. Suppose,I'm a Subscriber and there are users already registered, I then added User1(as Associate), User2(as Subscriber). When I ...
0
votes
1answer
124 views

Managing Users and Creating Groups [closed]

We're going to be transitioning from a small, outdated CMS that's no longer supported, to WordPress for our new CMS. Our old CMS allows us to restrict access on the back-end so that by default User A ...
2
votes
1answer
50 views

Let new user role to 'edit_others_posts' of other user role, not of its own type

In my system, I'm making two new roles: Third Party (TP) (lesser privileges) Data Entry Operator (DEO) (powerful over Third Party - but not of its own group) My CPT 'capabilities' parameter is ...
3
votes
1answer
854 views

Can an admin check passwords of registered users?

I have a site where I open accounts for users and hand over login credentials to them. Now, Let's say that a user forgot his password, and wants to reset it. He clicks "Lost your password?" link on ...
1
vote
1answer
103 views

show text If special user is logged

I want to check if special user id is logged in WordPress. i know we have a function name is_user_logged_in() but we can't change the id of user logged in, in this function. I need a function like ...
0
votes
0answers
149 views

Require users to login first before accessing certain product pages?

Some of my products are "external" products...so if the user clicks Buy Now, etc, they go to a different site. So, before they can do that, I'd like them to have to register on my site (or be logged ...
0
votes
0answers
41 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
82 views

Is there a way to set the user Role based on email domain

For example if a user registered with the email domain: example@gmail.com They will be set as a contributer. but if any other email such as example@hotmail.com they will be set as a subscriber? ...
0
votes
0answers
38 views

Editing posts using user credits

I am looking for a cleaner or better way to accomplish the following. Credits are stored as user meta _credits (int). Users can only edit pages, posts, custom post types if they have credits left. ...
0
votes
0answers
25 views

hide the administrator from the users dashboard

How can I hide the administrator from the users dashboard after wp-admin login? All the options I have found here are for older version of Wp and do not work. WP Version 4.1.1
0
votes
0answers
21 views

MySQL Trigger Help

I followed this question's answer to make my multiple wp installations to use a single user database, I want this: to happen every-time a new user registers. Can someone teach me how to make a ...
0
votes
1answer
22 views

Randomize access to post

I want to have have my users gain access to certain posts randomly when they register and then once a week randomly give them access to another post that they didn't previously have access to. The ...
0
votes
1answer
308 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
29 views

Restrict users post for himself

I am trying to build a system that lists users posts only (that I have managed to code) but also restricts users from seeing eachothers posts. If user A has his post under: domain.com/category/postA ...
0
votes
2answers
39 views

Custom Roles for access to specific term(s)

I'm looking to create a membership-only site which will serve to display logged-in users their company's stored documents. I have a custom post type named Boxes. I have a custom taxonomy called ...
0
votes
1answer
21 views

Disable site visiting and user logins excepting for a specific user

I want to disable temporarily site visiting and user logins to a multisite blog for the site maintenance time, excepting for super-admins and for a specific user. I found this function (thanks @joshc) ...
0
votes
2answers
12 views

How to enable to the user send content and save as draft entry?

I was wondering if is there a way to enable to the user to send content using a form, to select different options like categories, attach images and so on, and after submit the content save as a draft ...
0
votes
0answers
74 views

Is it possible to restrict a specific user to edit a specific custom post.

I have a site setup with a custom post for team member profiles, blog posts etc ... I am currently setting up user roles so that users can edit certain areas of the site. I currently use Adminimize to ...
0
votes
0answers
62 views

Restrict my pages from public

In my site I want to restrict some pages from public. How can I do this? example : www.xyz.com/members This pages only access when the user is log in but now its access public also using coping ...
0
votes
2answers
174 views

Deploying Wordpress for clients - what do they have access to?

I've developed websites from scratch up till now and would like to switch to using Wordpress to save time and money. I've done some theme customization and plugin work so far. I can see that users ...
0
votes
1answer
92 views

Give access of horizontal scroling plugin to user role editor

How do i give access to user role editor without using any plugin using bellow function function HSA_add_to_menu() { add_options_page('Horizontal scrolling announcement', ...
1
vote
1answer
269 views

Password protect media attachment - share across guests

I'd like to show certain content to people with a password, specifically links to media files like this: <?php if($currentuserid == foobar): ?> <a ...
0
votes
1answer
39 views

3rd Party Login in wordpress

I have two sites. One on wordpress and one non wordpress site. Now, I have used the header and footer from my non-wordpress site. What i want is that if user logs in on my non-wordpress site then he ...
4
votes
2answers
170 views

Allow anonymous user to access Themes Customizer

I created a theme and use Themes Customizer. Is there any way I can give anonymous users access to the themes customizer without the ability to save it? It will be very convenient in terms of user ...
0
votes
0answers
23 views

Wordpress Multi User Entries

I have a question, i want my wordpress site has multi user, like contributor for my site entries. but, in the homepage, i want to show only my entries, not the others. but i also want a page or rss ...
0
votes
2answers
240 views

Check if user registered more than a month ago

How would I go about checking if current user registered more than, say, 30 days ago? I would like to display certain content only to that group of users. Thanks very much in advance for your help.
0
votes
1answer
60 views

Custom User Role

I know how to add custom user roles, but how can i make it so that when a user with, lets say a role with 'DJ', they come to the dashboard AND ONLY GET TO SEE: Users > Your Profile custom menu DJ ...
1
vote
1answer
260 views

How to customize wp_signon()

I am trying to get a customized sign on process. The features that are absent in WordPress by default are the following: Allow user to choose a password at the time of registration. Allow user to ...