Tools for site administration located in the `wp-admin` directory of a WordPress site.

learn more… | top users | synonyms

0
votes
1answer
70 views

Best practice for plugin: always detect admin-ajax call?

Recently I was debugging/hacking a plugin authored by someone else. I put a breakpoint at a spot I was interested in - a relatively complex admin page. I noticed that even during admin-ajax calls ...
2
votes
1answer
47 views

How to do a query only on a specific admin page?

I'm making a page for settings API using Codestar Framework, and loading fields using their filterable configure - question is not related to Codestar. In one of such dropdown field, I need to load ...
0
votes
0answers
50 views

500 internal server error on wp-admin only

I am getting a 500 internal server error when I try to log into www.mysite.com/wp-admin/ and www.mysite.com/wp-login.php. The actual site is up and running just fine so it cannot be a database ...
0
votes
0answers
17 views

Limit access to wp-admin but still be able to log in from different locations?

I have problems with some cms attacks, and I uploaded the following .htaccess to wp-admin # Block access to wp-admin. order deny,allow allow from x.x.x.x #studio ip deny from all Is there a way ...
0
votes
0answers
34 views

Is there a way to choose a parent before a child in a custom taxonomy?

I have a site with a custom taxonomy that is hierarchical. I want to be able to allow the users who have access to the backend post editor to choose a parent term first, then have only that parent's ...
3
votes
1answer
1k 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 ...
5
votes
2answers
54 views

What hook do I use to edit the post statuses option in admin?

I want to restrict pending posts to only certain users in the admin section, so I want to remove it from the post status options when viewing all posts (the bit highlighted in red in the image below): ...
7
votes
4answers
5k views

How to disable the “Post Lock/Edit Lock”?

I want to disable this just for one Post Type, as it doesn't really matters if there's another user editing it (the main content editing area is Ajaxified and non-admins can only see that). I ...
0
votes
2answers
332 views

How can I modify page <h2> content in the admin panel?

I'm modifying the layout and content of the wordpress admin panel using a custom plugin. For most sections I have been able to change the page heading (i.e. the title wrapped in h2 tags at the top of ...
0
votes
1answer
20 views

Registering for a domain on Wordpress

I have recently started development with wordpress for a project and its wonderful! I am following Wordpress Essential training on lynda.com to help me build a foundation on the subject matter. I ...
0
votes
3answers
939 views

How to show postmeta in custom columns for the posts screen?

I've got a True/False value added to posts (Exclusive versus Curated) that was added via Advanced Custom Fields. How do I get that value to show up as a column on the Post list (/wp-admin/edit.php) to ...
0
votes
1answer
21 views

Disable plugin on admin page

I have just made a plugin which shows me fb icon on fixed position. My problem is that the plugin shows on each page include administration panel there I don't want to show. It may be visited only at ...
0
votes
1answer
30 views

issue in wordpress auto delete post and redirect to another 1

i am getting strange issue on WordPress, my site is huge traffic and database. one thing.. my WordPress is updated 4.4.2 all plugins updated. now i get issue when i publish new post most of the posts ...
5
votes
1answer
208 views

Security in WordPress plugin development

My plugin is Mailer.app for WordPress, I'm 85% completed and I'm focusing on security before release. Before the questions, I should outline the plugins architecture: The plugin is able to take in ...
0
votes
1answer
46 views

Password reset problems

Hello having an issue ive not yet come across with wordpress. Upon trying to reset the password, I get the validation email but when clicking it i get the following error Your password reset link ...
0
votes
5answers
10k views

White screen of death only in wp-admin

I'm able to log into the website but the moment after login, I get a white screen in wp-admin. I can still access the website and it shows that I am logged in with the toolbar at the top of each page ...
0
votes
1answer
34 views

Locked Out Of Wordpress Admin Dashboard After Server Move

Recently I made a clone of my Wordpress installation from a production to a development server. This entailed me copying and backing up the database and public_html folder to transfer the production ...
0
votes
2answers
972 views

Add filter-by-tag in the all posts admin console page

By default the 'all posts' page contains the following filters by date by category Is there a way I can add 'by tags' as well ?
1
vote
1answer
32 views

Why a strange discrepency between get_current_user_id() when using AJAX versus output of document.cookie?

I'm developing a simple Ajax function as part of a plugin intended to be used from within the traditional WP Admin dashboard but am encountering a discrepancy regarding the login cookie state. The ...
5
votes
3answers
6k views

Using TinyMce with textareas in meta boxes on custom post types

I am trying to use the http://www.tinymce.com/ plugin to add a tinymce to my textareas in my meta boxes I have created. I've googled other ways and either I cant get it to work or didnt grasp the ...
0
votes
0answers
17 views

Getting 404s in wp-admin after logged in

I'm successfully able to login but the links point to 404s until I correct them manually. Here's the step by step scenario: Visited wp-admin/wp-login.php and login successfully say the dashboard ...
3
votes
4answers
843 views

How to filter users on admin users page by custom meta field?

The Problem WP appears to remove the value of my query variable before it gets used to filter the list of users. My Code This function adds a custom column to my Users table on /wp-admin/users.php: ...
0
votes
1answer
27 views

How to make sure your admin doesn't hi-jack you site?

I have a domain and I would like to hire someone to develop it. Could it be possible to give him full control, yet be safe that he does not hi-jack the site. Or the only way is for me to be the admin ...
0
votes
1answer
72 views

How to get specific page screen ID

Is it possible to get the screen id of a specific page? I've search on google and couldn't find anything related to specific page screen ID I'm not looking for the get_current_screen() ID or the ...
0
votes
1answer
36 views

Create Admin Only Taxonomies?

Is there a way to create admin-only taxonomies in wordpress? I have some things I'd like to tag with private, admin-only terms (for various reasons.) Is there a way to do this? EDIT: Use case: I ...
1
vote
0answers
45 views

Can't change language (only “English (United States)”)

Wordpress should always allow me to change the language, anytime. However, sometimes I get stuck in these kind of situations, where I only get to choose "English (United States)". (Settings > General ...
1
vote
0answers
29 views

Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?

Is it possible to have the Editors to change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published? I can hide the button for non admin but I ...
1
vote
1answer
28 views

Returning content via jQuery without footers on admin pages

I am writing a plugin (github link) that allows the user to upload files in the admin-pages of wordpress. I am running into an issue however: I created an upload form that essentially posts to ...
-1
votes
1answer
63 views

You do not have permission to access this document on form submit

I have few little problem. If i submitted the user credential for login no matter login detail correct or incorrect page goes to Forbidden on submit button. What i do for this problem Forbidden page ...
3
votes
3answers
2k views

Easiest way to make post private by default

I don't know how to make a plugin so I can't do what's suggested here How can I make it so the Add New Post page has Visibility set to Private by default? so what's alternative ?
0
votes
1answer
63 views

Edit a WordPress site without the username and password?

I am trying to edit a website for a client who had the website built for them a few years ago. They've given me access their website server, and I can see the website is using WordPress from the ...
1
vote
1answer
33 views

How to load an assets based on custom field value?

How can I load an asset based on custom field value? - This would be outside of the loop, all I can find for this is in the loop related functions, which I'm not familiar with, or what I find are ...
1
vote
1answer
31 views

Wordpress wp-admin suddenly lost its style

NB: I originally posted this on SO, but I was recommended to try here - sorry for the duplicate! I'm really baffled about this. In the last couple of days (since I was using the site last), my ...
4
votes
2answers
104 views

Add content in custom post type page after the title and before columns

I found here on WPSE that you can add content before post title in the post page, and in custom post type pages add_action( 'load-edit.php', function(){ $screen = get_current_screen(); ...
0
votes
1answer
34 views

Create a variable with string, array or multiple values

I'm running some functions that will allow a user to register their own custom templates to my custom theme from an external directory. They can see these page templates in the wp-admin and they ...
0
votes
1answer
27 views

Wordpress Child problem in admin

I created a child theme of Twenty Sixteen. It shows ok on the visitors' side, i.e. http://favrodsculpture.com. But in the admin, I can't upload images, can't log out etc... If I write a post, it does ...
4
votes
3answers
5k views

How To Remove WordPress Version From The Admin Footer

Is there anyway to remove version number from the right side of WordPress admin footer? I know this code will add some text before the version number, but it will not remove it: function ...
0
votes
0answers
10 views

Redesigning the add new post form

This is a learning exercise. I'm trying to redesign the form that is rendered when a user tries to add a new post via the administration panel. So far i've tried messing around in ...
0
votes
0answers
16 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 ...
7
votes
3answers
6k views

Change page title in admin area

Is there someway to change the title in wp-admin? Been looking all over google but no one seem to mention it. I simply want to get rid of "— WordPress" and possibly change the "‹" into ...
1
vote
3answers
44 views

Detecting all admins that are logged in

I'm trying to find all users that are logged in to WordPress. I can detect myself, but I want to be able to find the other admins. Here is my current code to find myself. if (user_can( ...
27
votes
4answers
43k views

Changing Admin Menu Labels

I have spent the last day using the functions.php file to fully customize WordPress for my client sites. I am amazed at how much I have been able to accomplish and how much easier it will make things ...
0
votes
3answers
428 views

Redirect from the dashboard to edit.php if wp_is_mobile() is true

Looking for a way to redirect the user from the dashboard straight to edit.php if wp_is_mobile() is true. This is what I've tried: function redirect_if_mobile() { $screen = ...
10
votes
8answers
23k views

Front-end Register Form

I'm looking for an easy way to place the user registration form on the front-end of a WordPress site. I've already used wp_login_form() to place the login form on the front end, but now I need to do ...
0
votes
0answers
66 views

“Trash”, “Draft” and count not showing for custom post type in admin panel

I have searched the internet and have also found some questions here with similar problems, but mine seems to be different. I have created a custom post type, and neither can I see the "Draft" and ...
0
votes
0answers
86 views

Create tabs in admin options page from custom post type loop

For a WordPress crm/password management plugin I am working on, I have created a custom post type called 'client'. I also have made a separate menu page for storing and showing the passwords of these ...
3
votes
2answers
208 views

AJAX requests broken due to HTTPS for wp-admin

I have my wp-admin section forced to HTTPS via a plugin. I also have specific pages that are using https on the frontend (login, billing, etc.) I seem to be having an issue with HTTP pages using AJAX ...
0
votes
2answers
124 views

Can't update database after wordpress update from 3.8.1 to 4.4.1

I have just updated wordpress 3.8.1 to 4.4.1. Tried to update in various ways: Before updating I have deactivated all the plugins and switched to the default theme provided by wordpress i.e. ...
0
votes
1answer
20 views

Problem with admin columns

The title is showing but the content is empty.. I tried following few tutorials time after time but i guess i miss something.. How can i get it to echo 'test' on each col please? // ADD NEW COLUMN ...
1
vote
0answers
28 views

Get First Child Page ID or Permalink in WordPress Admin

I have a navigation set where the content doesn't exist on the parent page, but rather on a page called Overview which is the first child of the parent. eg: About is the first level page, but when ...