The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
764 views

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

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
110 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)? ...
15
votes
3answers
300 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
94 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
310 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
131 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
49 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
410 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
846 views

how do i get pages to be visible to only members that are logged in

Hi 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
4k 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
113 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
1k 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 ...
1
vote
2answers
696 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. ...
0
votes
1answer
412 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
137 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
2k 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
1k 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
181 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 ...
1
vote
1answer
90 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
548 views

Check if specific username is logged in

How can you check if specific username is logged in?
1
vote
0answers
130 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 ...
2
votes
2answers
231 views

Restrict access and display for categories

Is it possible to choose specific categories that will only be displayed to logged in members? I tried to find a plugin or a PHP solution that does that but could not find anything that was still ...
4
votes
1answer
153 views

Theoretical Multi-Server WordPress Setup with Shared Users

The organization I work for would benefit if we could take the existing WordPress installations that are located on several (~5) different servers and be able to use a universal database with the ...
2
votes
3answers
495 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 ...
0
votes
2answers
104 views

How to make future posts visible to selected visitors without login

I run a website that I run stories that deal with other people's work and I want to allow them to view the specific post dealing with them, but without them having a wordpress login. I tried making ...
2
votes
1answer
76 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
1answer
172 views

Using my own user table

Quite a broad question but I was wondering if it's possible to remove user management from WordPress and let it be handled by a remote database? I have an existing user table with everything I need ...
1
vote
1answer
112 views

Users can only view their content from the front end

There was a great answer to how users can manage their posts only from the back-end. What I am wondering, is how to allow users to only see their posts, pages, etc, which have their user id attached ...
2
votes
2answers
238 views

How to show a category post to a specific registered user

I'm working a private blog and I'd like to know if this can be done with any other plugin or any other way: Lets say we have 3 categories: CA, CB and CC, and 3 users, UA, UB and UC, all of them can ...
-1
votes
1answer
44 views

How to post data to a word press site in case of a mobile app

I have a site made with word press. I came across a requirement where a developer tries to log in from an ipad or iphone into word press site. Is there any plugin to achieve this ?. there is a ...
1
vote
1answer
685 views

pre_get_posts Remove posts based on meta value with 'post__not_in'

I am attempting to alter the query of pages where the post meta value of _members_access_role does not meet that of the currently logged-in user. Here is what I have so far: // Get all posts with the ...
1
vote
2answers
4k views

Limit access to posts/pages by user roles

I'm looking for a way to protect content by user roles. Example: you have to be registered to view posts (frontend). If a user is a subscriber he can read post 1, 2 and 3, but if the user is a ...
2
votes
1answer
1k views

How to manually activate user in dashboard only by admin

I'm looking for a function that allows admins (only) to activate new users. When a user registers he have to be approved by the admin before he gets access to log in. Does anyone know how I can do ...
2
votes
2answers
952 views

wp_update_user not updating

In desperation I am asking for help in this forum too - if someone (ANYONE!) could take a look a this post and see if they could help I'd be eternally grateful ...
1
vote
1answer
599 views

How to remove “Super Admin” from All Users for those that are not a “Super Admin”?

I would like to remove the filter at the top that says "Super Admin" for users that are not a "Super Admin". How do I go about doing this? This screenshot shows what I am talking about:
4
votes
1answer
1k views

Filtering the Admin Comments List to Show Only Comments from the Current User?

In the Comments page (/wp-admin/edit-comments.php), every logged in user can see all the site comments. I'd like the users to see only his/her own comments and the comments that are left to ...
1
vote
1answer
523 views

How to create a front facing user sign up, log in and profile pages like FoodGawker.Com

Title: How to create a front facing user sign up, log in and profile pages like FoodGawker.Com Body: Hey everyone! I'll be as direct and detailed as possible. :) I want to be able to sign up ...
0
votes
2answers
213 views

Common user login for two different wordpress installation and bbpress

I have situation, that i need common user login for Blog A Blog B bbPress I found the solution Single use login for two wordpress installation from Justin Tadlock Blog. Installing two WordPress ...
0
votes
1answer
70 views

Make (custom) post type accessible only by custom query

I am trying to make a web application based on wordpress. This application needs some text data to process and then display to users. For that I use a custom post type. So far so good. Problem is, I ...
0
votes
2answers
225 views

Adding guestbook to my wordpress site

I´m trying to add something like a guestbook, where the user can write about our services, something like comments with few more content like country, facebook page... should i do this with a single ...
0
votes
1answer
197 views

Allowing logged in users to create custom posts

I'm looking to create a site with a wide array of user contributed content. I have strong experience in programming, and I'm evaluating Wordpress for the task. My question: Having created a custom ...
0
votes
1answer
163 views

Add existing user as administrator

I run several wordpress sites that I created. A friend has asked me to help admin his existing site. So we want to add my userid as admin to his site. However, User | Add User allows addition of a ...
1
vote
1answer
357 views

How to display only logged in user's post comments in comments area

I am making a custom Wordpress site where School students logged in and add their posts. I am giving them rights to use wp-admin panel with little customization and modification. QUESTION: "How can ...
1
vote
1answer
567 views

How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?

I'm developing a simple "member's only" section within a website, with the sole intention of allowing the client to post files for their members. I've come to realize quickly that the posts' ...
0
votes
1answer
182 views

each user having category with their name and can add sub categories post in that category

I am looking for help or plugin for the following conditions of my site I am using wordpress 3.0+ version. my site is about School where students will get register and post their experience and ...
0
votes
1answer
184 views

How to check main site user level from subsite in a multisite network

I'm using wordpress multisite. I installed s2member plugin. s2member plugin creates 4 extra level. I mean like level1,level2,.... I'm displaying content using this code if ...
2
votes
3answers
5k views

Allowing users to edit only their page and nobody else's

We currently have about 50 pages, each of which I want a user (eg, bob, rob, smith) to be able to edit only 1 page. For example, bob & smith each have their own page. I do not want bob to be ...
0
votes
1answer
536 views

How to Add Author Editing Capability to Existing Post by Admin

I apologize if this is mentioned on here but I can't find any information! Anyway, I am building a WordPress site where I created the content with my administrator account. However, once the site is ...
1
vote
1answer
1k views

How can I get multisite primary blog (url or path) for current user?

In a multisite setup, when users are visiting a blog/site that there are not a member, I would like to display a link to "HOME" that takes them to their "primary" blog. I know how to determine if a ...
0
votes
1answer
100 views

Profiles site with access levels

I'm building a site for a intranet that display data about people (totally legal!!). we will call these people Alumni. The structure is like this: there are three roles, administrators, alumni, ...