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

learn more… | top users | synonyms

6
votes
1answer
108 views

Link to specific Customizer section

I've got a site with a few extra Customizer sections. Is there a way to link directly to these so that section open when the page loads? Something like ...
0
votes
0answers
52 views

wordpress wp-admin showing white screen with no error

Suddenly my wordpress site wp-admin stop working. When I will try to access wp-admin it will display white screen. I have deactivated all plugin by rename plugin folder , also uploaded fresh wp-admin ...
0
votes
0answers
12 views

Different images in media while selecting different laguages

I have simple WordPress 4.3.2 site with Polylang plugin and Twenty Twelve theme. I found strange relation between images in Media and selected language. When I swich between languages while staying in ...
1
vote
0answers
8 views

Iframe being removed only for some users when publishing a page

I have multi site wordpress installation. Recently I had a user complaining about not being able to add frames to a page. When I did it it just worked. This user is administrator on this page. Is ...
0
votes
1answer
33 views

Set “Display Name Publicly As..” to be usernames by default

My Wordpress iste currently displays users' identifying information by their FIRSTNAME + LASTNAME. The vast majority prefer to be known by their usernames. I've instructed how to change their ...
0
votes
1answer
28 views

Admin - Dashboard - Unset recent comments

I try to get rid of the comments list in the WordPress 4 dashboard section but it doesn't work. Here is what I tried: function remove_all_dashboard_widgets() { global ...
0
votes
0answers
19 views

Add column into post table

I need to add a flag in table post to generate a custom feed rss with external webapp. I would checked some posts with a flag (when I create a posts or when I edit them) and then I perform a query to ...
0
votes
1answer
42 views

Delete the “wp-admin” folder - what could go wrong?

I would like to pass on a website to a client, but he is not paying for the CMS backend. Could I just remove the wp-admin Folder and just use the front-end of wordpress? Could there go something ...
0
votes
1answer
68 views

Change post-slug using wordpress API? Change permalink of a post using php / jquery?

When calling wp_insert_post() see api there seems to be no possibility to set the post slug / the post permalink of the new entry. e.g. is there a way to check if: a string is possible to use as ...
-1
votes
1answer
65 views

“Are you sure you want to do this?” when deactivating all plugins in Wordpress 4.3.1 [closed]

Wordpress version 4.3.1, running in network mode. Logged in as super admin. In the main site's dashboard. When I try to deactivate all active plugins at once, I am taken to a white screen with the ...
3
votes
4answers
827 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
0answers
52 views

How to add mp3 uploader as custom field in custom post type? [custom-post based plugin ]

i'm developing a plugin which is based on custom post type. i want to upload mp3 file with each new post which is my custom post. for that, i have to upload mp3 file and some meta info of mp3 file. ...
1
vote
1answer
23 views

How to customize core admin pages within a theme?

Say I'm building a WordPress theme, and when this theme is active I want to display customized versions of some admin pages. Let's suppose I want a custom "Widgets" page: I can find the template for ...
0
votes
0answers
23 views

WP-4.3-trash not deleting automatically after specified days

I am using wordpress ver-4.3.1. I want to delete the trash automatically after specified days. For this in my wp-config.php file I have applied code - define('EMPTY_TRASH_DAYS', 1); to empty the ...
0
votes
0answers
53 views

Can't Access wp-admin without trailing slash

i am facing strange issue, i can't access wp-admin without trailing slash. Here is what i am facing when i typed www.mysite.com/wp-admin/ works fine when i typed www.mysite.com/wp-login.php works ...
0
votes
1answer
56 views

Detect Featured Image remove while editing post in wp-admin (client-side)

I'm looking to add some client-side (JavaScript) events to the post edit screen of wp-admin (post.php?action=edit). I wish to fire events when the user selects a new featured image and a different ...
1
vote
1answer
34 views

How Restrict access to admin dashboard by specific static ip?

i'm trying to restrict access to admin dashboard (wp-admin.php) by specific static ip so tried to add .htaccess to the wp-admin and set <FilesMatch "admin\.php$"> Order deny,allow Deny from ...
1
vote
1answer
79 views

Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]

I have registered a custom Post Type via register_post_type(), and about 45 Custom Fields via add_meta_box() function, within the theme. Custom Post Type Args: 'labels' => ...
0
votes
0answers
14 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
3answers
91 views

jQuery datepicker not showing on admin menu

Nothing happens when I select the datepicker field. This is the code for the field: <input id="sticky_date" name="sticky_date" class="datepicker hasDatepicker" type="text"> The javascript ...
0
votes
0answers
13 views

Unique user tables between three sites with same database

I have three websites that have their own prefixes, but are in the same database and have each member, and I have create a system that would allow to confine all its members in a mime table, so to ...
0
votes
0answers
21 views

WordPress removing query strings

I run custom scripts and plugins with GET parameters/query strings. Recently, when I try to access a page with query strings, something happens and the query string gets dropped. This, however only ...
0
votes
0answers
21 views

Edit is changing my custom's post type parent id

I'm having a custom post type (vehicle) and i attached a gallery (post) with image attachments in it. Through my custom frontend form, I set all the post and postmeta details right, as i want to, so ...
0
votes
0answers
44 views

Wordpress Admin custom error notice

I followed some advice around here in order to display custom error notices after clicking the update button in the admin area (here it is related to a custom post type, i don't know if it's ...
0
votes
1answer
53 views

Undeletable posts, users or other content

Recently I tried to move a WordPress instance to a production server and (besides other issues) had to deal with a page that could not be deleted via the admin panel. The success message would show up ...
0
votes
0answers
242 views

Woocommerce: trigger new order email without changing status

We are working on trying to process phone pledges for a non-profit where the payment is not received and will be invoiced. I have a custom checkbox field in the Woocommerce admin, when checked, I ...
1
vote
1answer
37 views

How to remove menu installed in wp-admin by a theme?

I installed Placester theme.And then disabled it, and deleted it. But there is still a menu there. How can I remove it? The only installed plugins are: Akismet Contact Form 7 Google Analytics by ...
0
votes
1answer
102 views

Checkbox not showing as checked on UserProfile (even with checked=“checked”)

I have a dynamic list of checkboxes that are showing on a user profile in the admin area (user-edit.php). A user should be able to select the checkboxes which will save their selections as an array ...
1
vote
0answers
90 views

inserting a post from an extern php file but post content doesn't show on wp site

I'm doing a php file that insert post's on my wordpress site. I'm filling all the fields in wp_posts, but the content doesn't shows on my wordpress site. I wonder if it's because the categories are ...
0
votes
0answers
94 views

Let user delete comment on front end only

I have a edit comments page on my sites front end and have placed a delete comment link for users. The link works however it takes the user to the backend to confirm the comment deletion. I cant have ...
1
vote
2answers
84 views

Limit access to wp_admin

I'm attempting to limit access to wp_admin by IP address but I still have a few that are getting through. I have an htaccess file in my wp_admin folder with the following: # Block access to wp-admin. ...
0
votes
0answers
49 views

Wordpress wp-admin redirect_to points to URL with folder name

I am having problem with wp-admin where the redirect_to variable holds my wp-admin URL with the folder name included in the URL. When I remove it, the redirect works good. The problem occurs when I ...
0
votes
0answers
60 views

Wordpress admin panel pages search not working?

wordpress admin panel pages search not working. Any idea about this? when i search for the specific page that exists in the list but wordpress search gives no results in the search.
0
votes
0answers
40 views

woocommerce_get_country_locale hook not working

I am trying to override the "woocommerce_get_country_locale" hook in many ways, why its need mean? I need to remove the state field for particular country! Shown below are what I tried? Attempt 1 ...
0
votes
1answer
35 views

How to enable comments meta box for other author posts?

I am working with a ticket system. which is a custom post type I created as ticket. And allowed to submit tickets in the front of my site. The registered users can post a new ticket, which Can be ...
0
votes
1answer
24 views

What do I need for testing a single script in admin

I like to test a single script in the wp-admin area. Do not know what to include at the top of my script.php file for testing including all kind if DB access + Wordpress like $wpdb->get_results, ...
0
votes
0answers
32 views

Admin field validation

I've seen a lot of examples of field validation for custom fields and checkout fields with WooCommerce similar to what I'm already doing here: function custom_override_checkout_fields( $fields ) { ...
1
vote
0answers
54 views

Image editing: “Edit Original” and “Replace” buttons missing on old posts

I have a site I've recently migrated to a new server. Everything is mostly looking okay, except on existing posts: when we go back to edit a post, and edit media attachments within it, the "Edit ...
0
votes
1answer
56 views

Wordpress error on my website

Hey guys I launched a recently built website for my client and everything seemed to be working fine, but recently whenever I try to edit anything, add a new page, delete something, etc. I get a fatal ...
0
votes
1answer
161 views

Making changes to woocommerce order before save

I use the hook woocommerce_before_calculate_totals to intercept and make changes to the cart before data is saved. Is there a hook or other way to do the same in the admin area? I need to evaluate the ...
0
votes
2answers
43 views

Applying jquery to WordPress admin edit.php

We use the latest versions of WordPress with the Woocommerce plugin. I'm searching for the best way to apply jquery to custom post types such as WC. I have a lot of hooks already for Woocommerce, so ...
0
votes
0answers
30 views

Getting admin style sheets for custom ajax response page with thickbox

I'm trying to use thickbox to bring up a small option in the WordPress users page for adding credit to a user. This all works fine, user clicks on the link, it fires an ajax request to admin-ajax.php ...
0
votes
0answers
28 views

Plugin dev: How to multiply instances of a plugin in the same metabox?

I have a picture uploader that fits inside a metabox in the administration. I would like to have four instances of this uploader in the same metabox in order for the administrator to manage 4 ...
0
votes
0answers
26 views

How to change admin page template?

I am trying to change the template for the admin page. I'm trying to remove the admin bar and replace it with the menu from the front end. Thanks
0
votes
2answers
66 views

Enqueued Stylesheets Effecting Admin Styles

I'm building a custom theme for a client and I've been adding stylesheets incorrectly for a while, so I decided to do it the correct way :-). However, when I add the stylesheet to my functions.php ...
0
votes
0answers
104 views

How to add a class to wp-admin custom sub menu item?

I was given the following code snippet: <?php add_action( 'admin_init','acme_custom_menu_class' ); /** * Iterates through the menu items in the dashboard and then applies a custom class * ...
0
votes
0answers
13 views

SSL doesn't deliver parts of Wordpress Administration Module

I have a very strange problem in my website. Let me figure it out: Firstly I have an SSL website https://example.com when I log in into /wp-admin i can't see some features like my Media Library or my ...
1
vote
1answer
88 views

Unit testing in the WordPress backend (is_admin() is true)

I've asked this on IRC, Twitter, Slack — am utterly astonished by how difficult it is to locate the answer to this: I have a bunch of plugin code that only runs when is_admin() returns true, i.e., ...
0
votes
0answers
154 views

Get URL of current featured image with JS in edit post view

Is it possible, somehow, to fetch the URL of the currently set featured image when you're in the edit post view? So far I've looked at fetching via jQuery such as: var url = ...
0
votes
1answer
153 views

How to add attributes to WordPress Admin Sub Menu List Items

I have been trying to find a way to add a class or an id to my custom administration sub menu. I only see a class on the first menu item. I would either like to add a css class or an ID on my sub menu ...