The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
436 views

Limit a user to have access to only specified pages?

I have several users that I would like to put in user groups. The reason for this is each user group will have access to a specific set of pages or a specific custom post type. I would like to be able ...
0
votes
0answers
85 views

Plugin (smart archives reloaded) crashed site / no access on admin panel

During a clean up of my plugins inside of WordPress i deactivated the: smart archives reloaded plugin. Next up: a fatal error when i refreshed the page. Fatal error: Class 'SAR_Generator' not found ...
0
votes
1answer
529 views

Restrict custom post content to specific user

I've created a custom post type called Students with custom fields like ID #, Name, year, age, etc. With this, I have also created one "Student" post for each student in a school. What I want to do ...
0
votes
1answer
162 views

Standard way of creating profile pages with custom content for each user?

I'm in need of a solution that I need a profile page (accessible to only admin and that user) with custom content (i.e. different content for different users), for each new user I've registered. Many ...
0
votes
1answer
101 views

Post/Custom Post Type URL Access

Is there a way to prevent people from visiting a post's permalink? A lot of times we create posts or custom post types that end up being included as part of the content of a page or some other ...
0
votes
1answer
50 views

Allow users to create and store data and retrieve it on login

I write a wedding blog and would like to allow the subscribers to login and be able to create and save their own wedding guest lists. The data they store, should be retrievable on future login to the ...
0
votes
2answers
2k views

Only show category to certain user levels without plugin

I'm building a site for some army guys to share photos, and one thing keeps stumping me. They have some photos that they'd like everyone who is signed up for the site to view, and others that just ...
0
votes
2answers
438 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.
1
vote
1answer
351 views

How to redirect specific post type with user role

I have created custom post type Books in my functions.php. Now I want to redirect every user (assigned with editor role). When they click to Dashboard it goes to this page: ...
0
votes
1answer
132 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 ...
0
votes
1answer
52 views

view and update form only for registered users

Requirement:- I have created a Form in wordpress, which have some fields e.g., article name, article type, upload article, author name, etc. Now i need, that only registered users can fill and ...
1
vote
0answers
42 views

Disable comments for a user?

Is there a way I could ban a registered user from posting comments, thus converting them to a read-only mode temporarily? Ideally I'd like this to be a set-it-and-forget-it solution (ban user for 2 ...
1
vote
3answers
5k views

Add new media uploader at frontend for wp 3.5+

I create a form for user to submit content from the frontend. The only problem is I don't know how to handler the image upload. So, I want to know how to use the WP media uploader in the frontend. ...
0
votes
2answers
539 views

Plugin creation - how to add user rights?

I wrote a little wordpress plugin and I want to grant only specific roles or users access to it. Is there a way to do this?
1
vote
0answers
47 views

Multi-Site Subfolder User Permission Issue

Currently I have a header file checking to see if users are logged in, and then a "landing" page which allows them to view all the sites they have access to within my multisite network. This ...
1
vote
0answers
96 views

How to “Global Ignore” / “Hell Ban” someone, restrict post visibility to the author only?

I'm looking for a way to deal with trolls by making any post they make invisible to everyone except them. This is known as a number of names "Global Ignore", "Hell Ban", "Troll Hack", "Tachy Goes to ...
4
votes
3answers
482 views

Is WordPress' is_user_logged_in() secure?

I've been wondering about this for a while. Is the following if statement safe enough? Is it easy to break through the code and get access to the content when not logged in? <?php if ( ...
0
votes
0answers
72 views

Some Subdomains on a Multisite Install Not Found

I am running WordPress multisite and can't access some subdomains. I can access the main website and other subdomains. According to isup.me these subdomains are up. Any idea why this would happen? ...
5
votes
2answers
2k views

How to programatically change username (user_login)?

As in the title, how to programatically change user's login? I wanted to use wp_insert_user function, but it appears that when updating current user, it doesn't change their username. Should I use ...
1
vote
0answers
103 views

Share user table from WP with Drupal

I'm developing a sister website to a well-established private site that is already built in Wordpress. I can't use Wordpress to create what I need and I am therefore using Drupal. The owners of the ...
0
votes
1answer
98 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 ...
4
votes
2answers
2k views

Only allow administrators and editors to access wp-admin

I am trying to restrict access to wp-admin so that only administrators and editors are allowed. At the moment I am using this function: function restrict_admin(){ //if not administrator, kill ...
-3
votes
1answer
132 views

Allow User Can See His Post on his dashboard

I want to allow user that Post option display on his dashboard. Where User's Can Show only his post. How I manage this. Please Help me.
0
votes
1answer
1k views

Show different menus for login / logout user [closed]

I am try to show different menus for login and logout user. Here is perfect solution to do this and also work on Twenty eleven theme. But when I try to add this code to my woo theme's defination (in ...
0
votes
1answer
87 views

Wordpress blog fails to open

When I try to view/access my blog I get the following message.... Just wondering if anyone has any ideas as to the cause and the solution? Warning: ...
2
votes
1answer
682 views

How can I have different groups of editors only allowed to edit certain parent+subpages?

I've tried a bunch of different plugins, including Role Scoper, Advanced Access Manager, User Account Manager and more, to accomplish this but can't seem to get it working right. Basically, the ...
2
votes
2answers
596 views

What is the difference between “create_users” and “add_users” capabilities?

The codex lists both create_users and add_users under roles and capabilities. Does anyone know what is the difference between these two?
2
votes
1answer
4k views

Restrict admin access to certain pages for certain users

As the title says, I'd like to restrict back-end access to certain pages for certain users. While doing a site with 45-50 pages, I realised it would be a much better user experience if the Page menu ...
1
vote
1answer
485 views

Lost administrator privileges and can't find a fix

WordPress 3.5.1 Web Host: Windows Azure Cloud Database Host: Cleardb Web Server: IIS 7.5 I've built a custom child theme that runs on the Genesis Framework and it has multiple custom post types ...
1
vote
1answer
2k views

How do I hide one menu item link for logged in and logged out users [closed]

Using bbPress and s2Member, I need to hide the registration link in the menu for logged in users and the members directory link for non logged in users.
0
votes
2answers
155 views

Protect custom php file with login

I've developed a php app and I'd like that it's restricted to WP users (use WP like a private area). Is there a way to use WP is_user_logged_in function in a custom file (i.e. www.mysite.com/app.php)? ...
16
votes
3answers
522 views

How to enable suggested edits?

I like the idea of enabling any user of my website to suggest edits to a page. Much like the edit system on Stack Exchange but different in that anyone should be able to edit, not just registered ...
0
votes
1answer
100 views

Create a WordPress administrator without access to back-end

My site recently got hacked, and all my admin users lost their administrator level access. But when I access mySQL database, I saw all the users still exist. How can I create an administrator when I ...
3
votes
3answers
546 views

Multisite Independent User Base

I run a multisite blog farms with all blogs having a consistent functionalities (theme and plugins and some basic content), but independent from each other in terms of user database. I would like to ...
-2
votes
1answer
151 views

How to change user role setting in members plugin so that user can only edit his own post?

I want enable a user to only edit specific post. I am using the members plugin. I do not see a way to achieve this. Do I need to do some code for that post? Thank you!
0
votes
1answer
60 views

Why: sticky front page code, shows latest non-sticky on logged-in front page

I have this code to display only the latest sticky post on the front page. the strange thing is that, when I'm logged-in it shows non-sticky latest post, even if it's private... <?php ...
0
votes
1answer
914 views

Upload PDF and other files from the Front-End

I am trying to create a medical website, where logged-in doctors can actually upload pdfs and other files (such as jpg) from the front-end in posts. Then, after reloading the page, the uploaded files ...
0
votes
2answers
2k views

Make pages visible to only logged in members

I want to make a page for each user on my website. When a user logs in, I want them to be able to click on pages that are just designed for them (basically when they log in, I want them to be able to ...
0
votes
2answers
6k views

Custom user profile, registration, login page with theme

WordPress user profile page uses the administration interface, and its user registration / login page is not part of the theme. I would like to change it into the custom theme of my site customize ...
0
votes
1answer
266 views

Auto log in hook is requiring a page refresh

I have a simple auto log in hook that looks like the following: function auto_login() { if (!is_user_logged_in()) { //Removed some code for brevity. $user = ...
0
votes
3answers
3k views

Temporarily disable user role login and replace with message

Is there a simple way to temporarily stop a user role logging in with wordpress? For example, if I have a user role called media, how can I block them from logging in? I would like a custom message ...
2
votes
2answers
979 views

Restrict dashboard access for specific user roles to specific actions

I have a script that enables a logged in user (role Author) to delete their own posts using get_delete_post_link(). However, I also want to be able to restrict the author's access to the dashboard. ...
2
votes
1answer
565 views

Restrict Author role to only 3 wp-admin pages

I allow the author user role to add/edit posts (using a custom post type called "User Posts") as well as add/edit their own media from wp-admin. I currently have it set up so that the only menu items ...
1
vote
2answers
167 views

How to get the ID of the currently logged in user?

I want to get the ID of the currently logged in user. I've found the function: get_current_user_id which seems to be working, however I'm not sure what 'current' means in this context. Meaning if the ...
2
votes
2answers
4k views

How can I hide media library images from general users?

As an admin I really like the features and functionality of the WordPress 3.5 media manager. With a multi-user site however all users can see all images in the media library - whether uploaded by ...
2
votes
6answers
5k views

Website Visible only to Registered users

How can I disable access non registered users? If the user is not logged in I would like to redirect them to a custom registration/login page. Is it possible this using below code as I dont want to ...
0
votes
1answer
240 views

Use Wordpress engine for user registration and management

I am building a web app and would like to use the Wordpress Engine only for Authentication and User Management. Is there any good tutorials out there on how I can connect only the back end of ...
2
votes
1answer
248 views

Is there an existing capability to allow editing of only pre-existing pages? If not, a good way to implement this?

I'm working on a setup for which I need general users to be able to edit a specific list of pages, but not create any new ones. Looking through the Codex, I don't see anything that will come close to ...
0
votes
1answer
1k views

Check if specific username is logged in

How can you check if specific username is logged in?
1
vote
0answers
215 views

Conditional menu for registerd users/guests (Genesis framework)

I'm running Genesis Framework on WordPress and I have to display a different top menu for logged in users and a different one for unregistered users (guests). I created the 2 menus in the WP backend ...