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

learn more… | top users | synonyms

1
vote
1answer
6k views

wp-admin url doesn't allow to login and redirects to same page

I am using Wordpress 3.6, the latest version. When I access login page for admin URL like www.example.com/wp-admin and I enter the username and password, Wordpress redirects me to the same page. But ...
0
votes
0answers
15 views

Drag & Drop Anchor's Data Attribute Value into Post Text Editor in Admin

Can anyone tell me how I can drop the contents of an anchor's data attribute into the 'edit post' page's text editor, using jQuery, instead of dropping the link text itself? I need to be able to drop ...
-1
votes
0answers
38 views

Overriding product search in Woocommerce admin

I need to alter the query used for the AJAX product search when adding or editing an order in Woocommerce admin. I want to add variation terms to the query. Using browser dev tools, I see the call ...
0
votes
0answers
12 views

Admin sometimes redirects to HTTPS

I have multiple Wordpress installations hosted at Hostinger. Sometimes, when I save a post or, as happened right now, just tried to access wp-admin, it redirects me to HTTPS version of the website. ...
14
votes
6answers
8k views

Change the text on the Publish button

Is there a way to change the text of the publish button on a custom post type to say some different? For example, Save instead of Publish. And also remove the draft button?
0
votes
1answer
25 views

Get (eventual) permalink from post within Edit Post in Admin panel

I'm working on a plugin that needs to access grab the Permalink from within the Edit Post screen to send it to a link-shortener API. The catch is that I will need to grab the permalink before the post ...
0
votes
2answers
541 views

Select box saves but doesn't update value in admin

I have a select dropdown in my custom meta box in the admin area. It offers two options Approved and In Progress. When I select an option and save it the database is updated, but the value in the ...
0
votes
0answers
33 views

Redirect loop in WP Admin with SSL

we're running a membership site on the latest Wordpress 4.5.3 hosted on Bluehost. We need to move the website to SSL so made some changes in .htaccess, wp-config.php and added Wordpress HTTPS plugin ...
4
votes
3answers
3k views

wp_list_table search box does not show

I'm using wordpress 3.8 and a custom class derived from WP_List_Table. Why is there no search form? My code in plugin class: function __construct() { ...
0
votes
1answer
53 views

Redirect Plugins.php to New Plugin Page

I have a multisite install and need to redirect the default plugin page to another admin page that will handle plugins. For example, if they request /wp-admin/plugins.php, then it should redirect them ...
1
vote
1answer
140 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 ...
56
votes
7answers
34k views

Organizing Code in your WordPress Theme's functions.php File?

The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up. More specifically, if I have a bunch of custom functions which only ...
0
votes
0answers
18 views

Site admin that can see everything, but not save

Maybe it's strange question, but I'm interested in it; Is there any way to allow user display everything, that Admin can see (site options, custom types, plugins settings) but disallow to edit ...
0
votes
0answers
31 views

Slow query in admin on custom post type

i get an slow query in my CPT listing. the query weight over 700M. I've ~2500 posts in this CPT and in a custom taxonomy ~1500 terms. This is normal operation? The slow query : SELECT t.*, tt.*, tr....
1
vote
1answer
75 views

Wordpress admin is incredibly slow [closed]

I built a WordPress site for a client a couple of years ago and over the course of those years, they've accumulated 21,000+ articles, have 30,000-50,000 views per day, and have 300+ active writers, ...
-1
votes
3answers
2k views

Admin panel: Javascript not loading properly. Cannot edit pages/posts [closed]

I am using the latest Wordpress.org install. None of my back-end javascript is working, none of my navigation drop downs, admin panel areas are not loading as well. I have not edited any core files. ...
-1
votes
1answer
42 views

wha does the following function remove from wordpress users admin area? [closed]

function remove_stuff($action){ if(!is_super_admin() && !current_user_can('edit_theme_options')){ unset($actions['inline hide-if-no-js']); return $action; }else{ return $actions; ...
5
votes
2answers
58 views

Checklist of selected categories

On my blog I have a large number of categories >500, so I need to have some kind of checklist which categories are already selected to continue selecting. For example, if we have cat1, cat2, cat3......
2
votes
3answers
4k views

Custom height/width for thickbox in WP Backend

I use thickbox in the WP backend for preview or other content. On own pages in the backend works my script very fine and a can use custom width and height for the thickbox. below my code: ...
0
votes
0answers
24 views

Issue with search form admin panel after PHP migration

I have website hosted on OVH, and currently I am using PHP v. 5.3. Since OVH will stop supporting it soon I have to migrate to 5.4, 5.5, 5.6 or 7. I've tried 5.6 and 7 but what happens is that ...
0
votes
0answers
55 views

wp-admin/post.php access denied

When I publish or update posts with media (eg: image ) it results to following message. Access Denied You don't have permission to access "http://example.com/wp-admin/post.php" on this server....
0
votes
0answers
40 views

Just switched to HTTPS and need to remove mixed content from /wp-admin area

So here's the error inside the console: JQMIGRATE: Migrate is installed, version 1.4.0 load-scripts.php:9:542 Loading mixed (insecure) display content "http://example.com/wp-includes/js/thickbox/...
0
votes
0answers
20 views

Categories box not showing on post edit pages

for some reason I don't get the Categories meta box on my standard 'post' edit pages in the wp admin. It shows up on my custom post types, and they show up in the 'Quick Edit' view on the Posts list ...
0
votes
1answer
17 views

Custom comment action

I have updated my Wordpress version from 4.3.1 to 4.5.2 and apparently it broke a custom function I've made in the past. What it does: Display a anchor below comments, next to Approve/Answer/Edit/...
1
vote
1answer
1k views

Wordpress Options Page not working

So, I need to add a custom options page, and based on as many tutorials I could find, I came up with the following code to create an officers & chairs options page for my group, mainly, so I can ...
1
vote
0answers
22 views

Unable to Access WP Admin or Login buttons after Migration

After migrating from IIS server over to CentOS, I am having a hard time logging into my admin. When I did manage to login it said the User had no permission to login into WP Admin so it was the ...
2
votes
0answers
32 views

How can I restrict a user to a specific item in the Wordpress Admin? [closed]

Let us assume I want to restrict someone only to accessing the comments section of the WP-Admin interface. I don't think that this functionality is covered by the default group permissions. How ...
2
votes
2answers
3k views

adding the category to the admin column for a custom post type?

I have built a custom post type called article and the information given on the admin summary screen is sparse. I was able to add the featured image post thumbnail image using the http://codex....
1
vote
0answers
60 views

Using ReactJS in the WordPress admin for plugin development

I have some WordPress plugin projects planned which would benefit greatly from using ReactJS in the WordPress admin. I'm pretty sure I can get ReactJS working in the admin but the sticking point is ...
4
votes
1answer
81 views

Unable to login to my wordpress site. reauth=1 redirection loop

There was a similar post to this, however the solution did not work for me. I am having some difficulty logging into my WordPress site. When I attempt to visit example.com/wp-admin, I see the login ...
-3
votes
1answer
23 views

Unable to access my plugins [closed]

What does this mean when I try to access my plugins in the admin? Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /home/xyz/public_html/abc/tuv/wp-...
0
votes
0answers
25 views

Set custom image size for Media Settings via ajax in wp-admin

I want to the user upload image custom size, but I want to possibility to change size via ajax, without go to media settings, I have two types images sizes. 700px for posts 1500px for header When ...
0
votes
0answers
22 views

registration_errors fail to prevent add a new user while required extra field using user_register

backend "Add a new user" where I used user_register to add extra field teampleader_id, I want it as required field while adding a new user, I tried to use registration_error, but registration_error ...
0
votes
1answer
19 views

Search plugin form on “Add Plugin” page not working

Search plugin form not working. Steps to produce: admin-> plugin-> Add New. This is used to search plugin but this form is not submitting. Wordpress Version 4.1.1
48
votes
10answers
39k views

Can I rename the wp-admin folder?

Is it possible to rename the wp-admin folder? I know I could just rename it, but unless it's supported by the code lots of things would break. If I use a custom folder name, it will make it slightly ...
0
votes
1answer
25 views

Creating another wordpress site as sub-domain of a wordpress site

Main domain: www.abc.com new wordpress: xyz.abc.com I have manage to work everything on the front-end part. both use the same database but different tables classified with their own prefixes. ...
1
vote
1answer
44 views

Filter out comments with certain meta key/s in the admin backend

Not long ago I learned how to add and filter comments on posts/pages with certain meta key/value and it works fine now. Now what I want is to do two things on the backend (/wp-admin): Filter the /wp-...
0
votes
0answers
12 views

Managing advertising code snippets

I'm looking for a solution to manage a mix of advertising code snippets. Lets say you have three advertising contracts. adService1, adService2, adService3 each of them will have some code in the ...
3
votes
0answers
36 views

How to debug “You do not have sufficient permissions to access this page”?

The error You do not have sufficient permissions to access this page when trying to access wp-admin can result from many causes. How can I debug effectively what is causing the problem? Is there any ...
0
votes
0answers
34 views

Color picker for posts and pages

I want to add color picker to wordpress posts and pages at admin menu. I have this code for color picker: add_action( 'admin_enqueue_scripts', 'add_color_picker' ); function add_color_picker( $hook )...
0
votes
4answers
667 views

Custom admin logo not showing after wordpress 4.5 upgrade

I have just upgraded to wordpress 4.5 and now my custom logo for the admin doesn't work, the theme which I built uses the following in the theme functions.php: /* change admin logo */ function ...
1
vote
1answer
503 views

How do I add an admin notice within javascript in the admin interface for posts?

I want to use javascript to add a notice to the top of the wordpress page just like they do when auto-saving the page. But in looking at the DOM, I don't see any special div that I could find to add ...
0
votes
0answers
12 views

How to search based on meta keys

I am trying to search custom post type based on meta keys but have no success so far I only have one post in this custom post type but no success. Here is the code. $args = [ 'post_type' => '...
2
votes
0answers
20 views

Render Selected Categories in Admin Edit Post Screen differently

Selected Categories for a post in the admin screen are rendered by: // Put checked cats on top $output .= call_user_func_array( array( $walker, 'walk' ), array( $checked_categories, 0, $args ) ); ...
0
votes
1answer
32 views

Disable Auto-Expanding Menu in Wordpress Admin Menus

Right now, when I click on a menu item in the wordpress admin menu, the section that that page belongs to is automatically expanded. For instance, if I click on a link in the Settings section then ...
2
votes
1answer
99 views

How to Add a Third Level Sub Menu to the Wordpress Admin Menu

Is there a function, action or filter that I can use to add a third level dropdown menu to the wordpress admin menu. For instance, right now in the sidebar menu their is a menu for posts and under ...
1
vote
4answers
3k views

Require a Custom Taxonomy to be checked

I have a custom taxonomy, "position", with multiple terms for a custom post type, "employee" in the admin. I want to validate the form to require a position to be selected when you save/update a post. ...
0
votes
0answers
15 views

Reordering fields on the Add New Post admin ui

Would anyone have a suggestion for re-ordering the fields on the Admin Ui page for Add New Post? For example, I would like the Excerpt field to fall beneath the Title field, above the Editor for the ...
2
votes
0answers
16 views

wp-admin remove the subfolder URL

I have a problem with WP. I have a website with this URL: http://sub.domain.com/subfolder My Website works fine, but when I connect on wp-admin, the subfolder URL disappeared (http://sub.domain.com/wp-...
2
votes
0answers
83 views

How to allow users login to WP from external domain and make REST requests

Basically what i want to do is: Use Wordpress as a login system and data storage for web-application on another domain. Make users able to register and perform REST calls from the application. Let ...