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

learn more… | top users | synonyms

0
votes
0answers
80 views

set cookie before log out and after admin login

Hi I am new to wordpress. I had researched lot about this but didn't succeed. I want to set cookie value NULL before logout and custom value after admin logged in. So I put below code in ...
0
votes
0answers
57 views

Adding custom OGP meta tags stops wp-admin redirecting to wp-login.php

I tried to use custom OGP meta tags in my theme's functions.php file. I followed the method described here; I literally copy pasted the code. After adding the code into my theme's functions.php ...
0
votes
0answers
35 views

Removing options from attachment details

In the image gallery section of my Wordpress admin, when I click on an image I get something like this: My site allows multiple users to add images and I feel that most of these fields are ...
0
votes
0answers
20 views

Add custom option to admin menu wordpress

I need to create a new option in my wordpress admin menu, I know I can create this using add_menu_page() but what I specifically need is an option to 'Add Property', which has similar options in there ...
0
votes
0answers
200 views

WooCommerce order bulk edit with custom hooks in function.php

I'm working on a Wordpress site with WooCommerce. I have to implement some additional functions, one of them is some simple operation after marking the order completed. I use ...
0
votes
0answers
79 views

Why is the Dequeue Not Working For All Plugin Styles and Scripts?

I'm trying to increase the load performance a with more sensible loading of admin scripts and styles. I am dequeueing and deregistering scripts and styles where they don't need to be loaded. I've ...
0
votes
0answers
28 views

wp-admin search posts by title only and show sub pages

I've got a custom post type that in the CMS I would to be able to alter the search so it only searches by title of the post, then also pulls through all sub pages of that page. Currently I have the ...
0
votes
0answers
32 views

Next and previous page buttons in wp-admin don't work

I have a problem I have never seen before. For some reason the next and previous page buttons in my wp-admin are messed up. Everything is working just fine on the website except for those buttons. The ...
0
votes
0answers
49 views

Super Admin unable to access appearance/customize.php on multisite

Basically when I am on my main site, in the admin area, my url is site.com/wp/wp-admin, when I try to navigate to the theme customize page I get the "Cheatin, uh?" message. On my second site I am ...
0
votes
0answers
34 views

why automatically folder is created on WP root and under wp-admin folder?

When I refresh my site then new folder with strange name is automatically created on root and under wp-admin folder: This folder is automatically created ...
0
votes
0answers
172 views

Pre-populate Woocommerce Order items with fees in admin

I cannot seem to get this down, I only have experience with editing Woocommerce templates and not anything in /includes/. The goal: Add 5 empty fees in the Woocommerce Order details admin area ...
0
votes
0answers
18 views

Edit category without leaving the page

When we edit the category by admin panel, we left after saving the page. To avoid this? I want to edit the category and continue after saving it.
0
votes
0answers
373 views

Update Woocommerce Cart Total with variable (having trouble)

Goal (project I'm working on): I'm trying to make Woocommerce more like an invoicing tool so my client. To do this I am using Advanced Custom Fields plugin [ACF]. This is a big customization of the ...
0
votes
0answers
44 views

Rename field labels for post in Admin Panel

My client wants to be able to upload a product datasheet file (PDF) for each product (we are using woocommerce). As the 'product Short Description' field allows media to be uploaded and to link to ...
0
votes
0answers
61 views

filter built in columns types in edit-tags.php table

I am successfully filtering the header of the tags table in edit-tags.php add_filter('manage_edit-{custom_taxonomy}_columns', 'change_columns_header', 10, 3); function change_columns_header($columns) ...
0
votes
0answers
117 views

How to display custom columns for confusing custom taxonomy?

I'm trying to add to admin custom columns for custom taxonomy for a custom post type, and it's been pretty confusing so far. I've created a post type called Parceiros (partners) and assigned 2 custom ...
0
votes
0answers
20 views

How to hide the adminbar and adminmenu for user except admin in wordpress?

My requirement is to hide the adminmenu and adminbar for normal users except admin while editing their profile like ad image below I want to hide the adminbar(Page Builder, New) in upper and ...
0
votes
0answers
12 views

How to disable the footer in a submenu_page?

I am developing a wordpress plugin that allows upload of files through a custom form in the admin section of the blog. The page where this is done is built with add_submenu_page(). The form (which is ...
0
votes
0answers
19 views

password protected problem with register

I wanna use from password protect directory (with .htaccess ) in my admin pages. but in user registration page I see a alert for user and password autorazation ( same autorazation that created for ...
0
votes
0answers
159 views

How to make wp-login.php and wp-admin not accessible

Hello guys I wanted to limit my LOGIN and WP-ADMIN without using plugins. I have a network (multi-site): I have done so: wp-config.php define('WP_ADMIN_DIR', 'controlpanel'); define( ...
0
votes
0answers
131 views

modify admin panel all post to show date time

Hey I want to Know how can I modify admin panel all post to show date and time instead of only date. Published post will have published date and time and scheduled post will have scheduled date and ...
0
votes
0answers
22 views

Re-layouting the “Settings Menu” in “Add a New Post” page

Just asking a quick question here to see if anyone can help me out with this issue. I am building a blog website, but the "Add a new Post" page menu to select publish, categories etc default layout ...
0
votes
0answers
24 views

Not getting confirmation link with email change

I'm requesting a change for my email address. I get an email at the old address saying a change has been requested & to delete the message if I made the request. But when I log back in, even days ...
0
votes
0answers
61 views

Weird admin-ajax.php problem

In my site, each request on the home page is also making a POST to wp-admin/admin-ajax.php. 10.30.4.122 - - [21/Aug/2015:06:07:53 -0400] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 275 ...
0
votes
0answers
13 views

How to add character length condition to WP-CMS fields?

I created a custom module with the help of https://wp-types.com/ plugin. Everything seems fine but I want to include a character length condition for my CMS custom field (NOT FOR THE FRONT-END). ...
0
votes
0answers
43 views

add_settings_field how to add a field in the default admin page using a child theme

I have a theme (tempera) that have a number of field option for something, in a fixed number of five, I want to add 3 more of them but I don't know how to do it in my child theme. This is main.php in ...
0
votes
0answers
68 views

Adding description to wordpress blog post through wp-admin panel

Is there a way to add a description to my Wordpress blog post through wp-admin panel?
0
votes
0answers
40 views

How To Display Admin Toolbar On Custom Template

I am trying to get the admin toolbar to display on a custom page. I am using a custom php file for this. The basic structure of the page is like this and this will display the basic structure of my ...
0
votes
0answers
91 views

wp_is_mobile() inside js

I've stumbled upon a issue that i can't fix. I've implemented a autocollapse menu ..all works fine UNTILL i go to mobile version where the wp core's menu bugs out with my menu js code. Basicly i ...
0
votes
0answers
51 views

Dynamic admin submenu

I'm creating a plugin for WordPress with dynamic sub-menu's fetched from the server. Putting the dynamic loading of sub-menu's into the menu_setup() hook function would slow down other WordPress ...
0
votes
0answers
39 views

Wordpress admin menu pages not receiving passed info

I have a Wordpress menu page (A) and a wordpress submenu page (B). I want to pass data from A to B. A has a list of items and I want B to show the details of each item, by passing the item id to it. ...
0
votes
0answers
167 views

Display existing admin list table for custom post type in another location without recreating it

I have two custom post types; Inventory and Jobs. I have customised the columns displayed in the Inventory admin list table (ie. wp-admin/edit.php?post_type=inventory) to display relevant fields Is ...
0
votes
0answers
54 views

Hide pages in CMS Tree Page View hack

Hi I am trying to hide some pages in wordpress dashboard from CMS Tree Page View. Can someone pls help and tell me how do i achieve this. I am trying to add filter in function.php but it doesnt work. ...
0
votes
0answers
134 views

Fixing admin menu offset

I've encountered a little problem during my plugin development. I've added a search box on all pages and it's working flawless but the only thing that annoys me is that it's causing the menu to ...
0
votes
0answers
48 views

Add a box below admin toolbar via plugin

First of all thanks for your time and for your help. I'm looking to add a custom box below the admin toolbar on all pages via plugin(the blue one from the screenshot). In future i would like to add ...
0
votes
0answers
122 views

Solution for extremely slow pages or custom post in WP-admin

Somehow WordPress likes to load all the pages and custom post in the admin area. When you have a site with more than 500 pages things get slower and slower. After 5000 pages things start to timeout ...
0
votes
0answers
31 views

Allow Editor to Select Content From a Post Category Dropdown List (Advanced Custom Fields)

I'm sure something like this has been done before, but I cannot find the right search terms to find it. Right above my footer on pages, I want to output a single post's content from a given category, ...
0
votes
0answers
70 views

Split posts into separate screen on custom post type admin screen

I have a custom post type called 'event' that has a meta_key of event_status with a value of either 'upcoming' or 'past' depending on the event date. I am trying to split all past events into their ...
0
votes
0answers
115 views

Problem assigning Custom User Roles to Custom Post Type

I'm having issues assigning custom capabilities for custom post types to custom roles in the WordPress admin. The markup works for one post type but not others. Let me explain a little... I've ...
0
votes
0answers
81 views

Post preview in iframe without saving the post

I aim to make a live preview inside an iframe of the current edit post. The preview should render the post content only. Thats why I guess an iframe is actually a good idea. The frontend includes ...
0
votes
0answers
29 views

Sort custom fields in admin by last field added

I'm trying to sort custom fields in admin post by last added fields but it sorted by words and number example my add is 3 , 6 , 4 , 7 , 5 , 1 when admin post save my custom sorted by number be ...
0
votes
0answers
16 views

Editing part of a link that is recurring on website

I have a site: Coolthingsaddict.com the site has hundreds of affiliate links to the Amazon affiliate program. Within each of these links, there's an element with my Amazon affiliate ID. I need to ...
0
votes
0answers
44 views

Is it possible to outsource wp-admin to another server?

This question might be very crazy and stupid, but I wonder if there is any chance that I could host the whole wordpress backend on another server, in order to minimize server load. For this, I guess, ...
0
votes
0answers
47 views

Lost password link not working

Has anybody come across this error message before when clicking the forgot password link on the wp-admin page? object(WP_User)#5816 (7) { ["data"]=> object(stdClass)#5815 (0) { } ["ID"]=> ...
0
votes
0answers
57 views

Added fields in quick edit screen need to update at the moment

I have added the meta fields in quick edit screen in wordpress admin section. When Isave the quick edit screen, it will be saved but not shown at cuurent time but when I reload the page it will show ...
0
votes
0answers
36 views

Error when open wp-admin

I know this question is asked many times here. But none of the answers solved my problem. When I try to log-in to my site through wordpress-admin, like this, mysite.com/wp-admin it gives me the error ...
0
votes
0answers
110 views

Subsite admin in redirect loop, resources on frontend are all 404 and .htaccess changes back

I have a Multisite with three sites. The main site isn't affected by any of this, but the subsites are both broken. 1) When accessing wp-admin on one of the subsites, I get a redirect loop. 2) When ...
0
votes
0answers
34 views

Replace Parent Page dropdown with number input

I have about 30 000 pages with hierarchy. I see, that my wp-admin performance is very bad because 95% of time PHP is building a tree for parent page parent select field of page attributes. My pages ...
0
votes
0answers
138 views

Add options to Wordpress backend

I hardcoded a page to use for a Wordpress-Site I'm managing but then my boss decided that said page needs to be editable from the backend for our customers. Long story short: How do I add editablity ...
0
votes
0answers
121 views

Why does nonce verification fail intermittently?

I have a strange re-occurring issue that has me stumped. Briefly, when writers are saving posts in the admin the nonce check fails intermittently and shows the message “Are you sure?”. It’s been ...