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

learn more… | top users | synonyms

1
vote
1answer
20 views

How to return 404 when called edit-comments.php?

I removed the edit-comments.php link from the backend but I can still access to it when I know the link ./wp-admin/edit-comments.php. How can I deactivate this link as well and return a HTTP 404?
0
votes
0answers
17 views

Tidying up URL at login/homepage

I am creating a website where you essentially land on the wp-admin from the homepage. I want the website to simply have www.exampledomain.com but have the wp-admin as the homepage with nothing like ...
0
votes
0answers
28 views

How can i move something from user panel to frontend user edit

Hellow stackexchange, How can i move this : It's from a widget that put that there and i want to move it here: On Frontend user edit panel. I look into the widget code and i try something but ...
0
votes
1answer
69 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 ...
0
votes
1answer
41 views

How can I filter the post of a CPT by taxonomy Term in admin meta-box dropdown?

I've searched frantically trying to find a solution for this. I'm trying to generate two drop-down fields within one side, Meta Box. The first drop-down field should be populated by the terms of a ...
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 ...
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): ...
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 ...
2
votes
1answer
46 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
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
45 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
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 ...
1
vote
1answer
31 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 ...
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 ...
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
71 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 ...
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 ...
1
vote
0answers
44 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
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 ...
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 ...
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
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
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 ...
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 ...
4
votes
2answers
102 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 ...
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 ...
4
votes
1answer
101 views

When attempting to update a self-hosted WordPress site, I'm seeing “ASN1 unknown message digest algorithm”

I've got several WordPress sites that I self-host on a Windows Server. When attempting to perform the upgrade process, via /wp-admin/update-core.php?action=do-core-upgrade I see the following error: ...
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( ...
0
votes
0answers
65 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
84 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 ...
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. ...
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 ...
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 ...
0
votes
1answer
21 views

How do I change the WordPress Address URL only and still login to wp-admin

The story so far: I added a distribution on Amazon CloudFront (randomString.cloudfront.net), then added a cname (cdn.mydomain.com) and finally created a cname record on the DNS server - pointing ...
0
votes
1answer
34 views

Renaming “Expand Details” within “Add Media”

I was wondering if it was possible that the "Expand Details" option via "Add Media" can be renamed? I couldn't find a guide online so I thought I would ask here for guidance, (that's if it's ...
0
votes
3answers
43 views

I installed Wordpress locally now how do I login?

I downloaded a WordPress website that I am modifying for a friend. He gave me access to cPanel, where I downloaded the SQL and changed it on XAMPP. Now when I open >localhost/wp it opens the ...
1
vote
0answers
40 views

From 403 error to 500 internal server error

I'm trying to install wordpress on a shared hosting (1and1), it's been 3 days i'm struggling and i give up, i've installed wordpress many times on other servers with no problem, first time on (1and1) ...
1
vote
1answer
28 views

add_page_menu to make shortcut to widgets

I want to make a menu button that takes me to wp-admin/widgets.php. The above code seems to work only partially. add_action( 'admin_menu', 'register_widgets_menu_button' ); function ...
0
votes
0answers
38 views

Admin panel specific page only with admin_head for 4.1?

<?php /* Plugin Name: Header Problem Demo Plugin URI: http://wordpress.stackexchange.com/questions/215190 Description: Shows how old admin_head-{page} method no longer works Version: 1.0 Author: ...
1
vote
2answers
104 views

Custom WordPress Dashboard for Specific user role

I want to customize dashboard or 1st page when user login into admin panel. This will be for Author/editor where he/she will only see some tabs/button of the pages and posts, by click them he/she can ...
0
votes
1answer
80 views

wp-admin 302 redirects

I have a new install of WordPress on my Mac mini server. The site uses SSL and has a valid up to date certificate from StartCom. The site loads, but with no CSS or theme. Mainly, I can't get into ...
0
votes
2answers
36 views

How do I link to a php file in my plugin directory?

Basically in the wp-admin section I have a page where I attempt to export some records from a grid. I have an Export link which leads to something like admin.php?page=download&selected_ids=1,2,4. ...
0
votes
1answer
37 views

How do I force a download in the admin area?

I'm doing an export function in my plugin but I cannot force a direct download. I get the error: Cannot modify header information - headers already sent Apparently at some point before my function ...