2
votes
1answer
69 views

Make A WordPress Page Accessible To Admins Only, Redirect Other User Roles

I need to redirect logged-in and non-admin users, from page with id 172, to the home of the website. Note that users that are not logged in can actually see the page. add_action('admin_init', 'xyz'); ...
0
votes
0answers
137 views

localhost Wordpress administrator area access disabled temporarily due to widespread brute force attacks

I'm using wordpress for my site. On the Administrator login link there is this message coming up: "Wordpress administrator area access disabled temporarily due to widespread brute force attacks" So, ...
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)? ...
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 ...
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. ...
1
vote
1answer
598 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:
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
2answers
605 views

How to check if user is in back end?

In my application, i have one form. Now if user is in front end i want to display the title but if he is in back end i do not want to display it. I do not want to check it based on user role.
0
votes
1answer
323 views

front end editing using iFrames, best approach?

I was going to give users back end access to edit entries but don't like the idea of them having access to the back end. I currently am using/developing with Adminize and Role Scooper and have set up ...
-2
votes
1answer
869 views

Is it possible to tell if a user is logged into Wordpress from looking at the cookies which are set?

Is it possible to tell if a user is logged into Wordpress from looking at the cookies which are set on a site? If not, how could I add hooks to the login success and logout actions and set my own ...
2
votes
2answers
141 views

Add a wordpress blog to my website having users

I have a php/mysql based site with users segregated into different groups... i want to add blogging system to it so that each group has its own blog which can be authored by users who are designated ...