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

learn more… | top users | synonyms

0
votes
1answer
43 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 ...
1
vote
1answer
84 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' => $labels,...
0
votes
1answer
87 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
70 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 ...
0
votes
0answers
55 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
26 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
1answer
63 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 ...
0
votes
0answers
56 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 ...
5
votes
3answers
983 views

How to change admin bar color scheme in MP6 / WP 3.8 front end?

I need to change default color scheme for all users. The admin bar on my site is vidibile for all users including guests. The default black color scheme isn't beauty with my design and I would like ...
0
votes
1answer
60 views

Pages redirect me to the homepage

I am the admin of a multi Wordpress websites that are controlled from one Administration page. After updating to the latest version of Wordpress, 3.6.1, all of the pages are redirected to the to the ...
1
vote
1answer
36 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 ...
0
votes
2answers
204 views

Editing Pages Give 404 Error After WordPress Upgrade in Admin Panel

I'm getting a "Not found, error 404" message when editing a page. This started happening after upgrading to the latest version of WordPress The pages are there and they display fine on the site but ...
3
votes
3answers
2k views

Can't access dashboard, connection times out (other pages work fine)

I have a multisite Wordpress installation with 2 blogs, on different domains. One of them works fine, but I just realized that for the other, I can't access the admin area. I can log in, but when ...
0
votes
3answers
98 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
14 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
22 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
2answers
2k views

Why I can't change the permalink of this page?

I have the following problem with a permalink: if I open this page (it is implemented as a static page) on my local website: localhost/wordpressAsper/archivio it automatically change it into http://...
0
votes
0answers
46 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 relevant)....
0
votes
1answer
54 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
276 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 ...
0
votes
2answers
257 views

Resize Admin Featured Image Thumbnail in CPT Edit Screen

I have a custom post type for a slider and I'm using the Featured Image thumbnail uploader to set the image. I've relocated the Featured Image meta box to be underneath the title section in the ...
0
votes
1answer
1k views

Subsites in Multisite installation throwing 404 error on wp-admin in IIS 7

Running into an issue where sub sites of a multisite (fresh installation of 3.9 and no plugins or themes) are throwing 404 error when trying to access the wp-admin section of the sub site. It is ...
0
votes
1answer
120 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
1answer
44 views

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

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 ...
1
vote
0answers
97 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 ...
1
vote
2answers
97 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
115 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 ...
0
votes
0answers
43 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
0answers
50 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 ...
1
vote
2answers
3k views

Retrieve Path of admin.php

Is there a better way of retrieving the path of admin.php and the url of wp-admin.css? What I can think of is: $adminphppath = ABSPATH . '\wp-admin\admin.php'; $admincssurl = get_bloginfo('wpurl') . ...
0
votes
0answers
74 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.
4
votes
4answers
2k views

How can I diagnose a slow Wordpress admin?

Over the past few months the admin pages on my wordpress multisite site (around 80 sites) have been taking around 20 seconds to load. I am running the latest version of wordpress (version 4.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
38 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
59 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
57 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 ...
1
vote
2answers
1k views

WP AJAX is not working, always returns 0

I've checked any threads here regarding this and did a debug test which worked, I'd like to understand why my own code doesn't work as it presents the same functionality explained in every possible ...
0
votes
2answers
44 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
1answer
206 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 ...
3
votes
5answers
4k views

how do I force a single column layout in screen layout

I am using multipress, but users with small screens cannot access the HTML tab as the Publish meta box has a div that slides above it, disabling the ability to click it. One idea is to force a single ...
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
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
2k views

Getting 404 page not found error while trying to access add new plugin / themes

I am getting 404 page not found error while trying to add new plugin or view installed plugin in my admin panel. i am using Hueman theme. every time i tried to use some option of admin panel i am ...
0
votes
2answers
71 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
1answer
155 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 ...
0
votes
0answers
110 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 * ...
1
vote
3answers
4k views

Remove dashboard, use Pages tab as default

Is there a way to have "Pages" set as the default tab when the user logs in to the admin area? I am using a heavily customised set up, where none of the dashboard widgets are useful so they are hidden ...