As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [admin]

Users with the ability to perform administrative tasks for a site or a network of sites.

Filter by
Sorted by
Tagged with
0 votes
2 answers
416 views

How can all E-mails be sent with BCC copy to Admin?

I'm translating WordPress page into seven different languages. Have around 70 plugins active and working, no worries. Subscriptions, shop, pre-orders you name it. Getting there with translations, ...
Kztok's user avatar
  • 1
0 votes
1 answer
40 views

How do I disable the discussion notification emails to us when a comment is "approved" and when an adiministrator replies?

We have all comment notifications being emailed into our ticketing system (Freshdesk) and it's getting a bit muddy because of the redundant notifications. What is currently happening: A site visitor ...
Davbog's user avatar
  • 111
0 votes
1 answer
127 views

How to exclude some post from admin edit screen

I want to restrict which post appears in a user edit screen based on its role. The roles are mapped to category. I am trying to add some conditions at the time posts are retrieved so that only posts ...
Maanas Royy's user avatar
0 votes
1 answer
242 views

Upload error on localhost (at minimum, not yet tested online)

uploading a picture on localhost I keep receiving following error: Post-processing of the image failed likely because the server is busy or does not have enough resources. stopping any upload, even ...
lyllo's user avatar
  • 1
0 votes
0 answers
159 views

Wordpress Admin Panel Left Sidebar No showing on Post create page

These are two different WordPress sites on post create pages. The first site has left the admin panel. The second admin panel does not have a left sidebar. How can I add the left sidebar on the second ...
Chadsmith's user avatar
2 votes
1 answer
505 views

Trouble with wp_reset_postdata() in Admin Panel

I'm hooking into 'edit_form_after_editor' add_action('edit_form_after_editor', 'make_the_button_to_generate_a_report_number'); function make_the_button_to_generate_a_report_number($post) { Check that ...
SoloCrowd's user avatar
1 vote
0 answers
50 views

Sort custom meta column by other meta value

I have a post type named "event" and I store two meta values for these posts: _start_time and _start_time_unix. The first one contains a string representation of a date and the other one a ...
wwdes's user avatar
  • 11
0 votes
1 answer
174 views

Admin users not able to see network menus

I am new to wordpress, and I am an admin in my site. But I can't see the network menu, SuperAdmins can. Any idea why? I am using the user role editor plugin to manage roles. But I haven;t changed any ...
Neenu Chandran's user avatar
0 votes
1 answer
126 views

Adding prefix to WordPress database tables breaks admin capabilities?

I have attempted a few different ways (manually, using Brozzme's DB Prefix Tools & Addons plugin) to add a prefix to an older WP database (right now table names look like posts instead of wp_posts ...
davemackey's user avatar
1 vote
2 answers
51 views

One button on admin page works but not two

I am workin on a plugin (for use on my own site). I recently added a button to the admin page that generates some text, and it works fine. This is what I use (pilfered from examples): if (!...
Dominic Bender's user avatar
0 votes
0 answers
18 views

wordpress email checker on domain

I need a email verification when a users/admin logs into wp-admin. So it checks if the domain is @gmail.com and when is not i have functions is this possible? I made it with id checker but is was not ...
huzza's user avatar
  • 1
0 votes
1 answer
345 views

Change page name in admin list

One of my customer has many pages that have the same titles, although their content is different. They would like to be able to give them "admin titles" in order to differentiate them in the ...
Pierre's user avatar
  • 95
0 votes
1 answer
15 views

How To Create Wordpress Dashboard Item

I have just started in building Wordpress sites as a side-project. Can anyone please help me with something that I cannot figure out? How do I create a "section" like Case Studies in the ...
marklikesyou's user avatar
1 vote
0 answers
247 views

Missing 'Page Attributes' in page edit

Im missing Page Attributes from page edit screen. I have searched and not found any solution. Anybody with some ideas?
Morgan's user avatar
  • 11
0 votes
0 answers
15 views

problem connecting to the administrator

Good evening, I put my wordpress site online but I cannot access my administrator area. When I put my username and password I have this error: Remarque : Constante DRICUB_DRIVING_SCHOOL_IMG_URL déjà ...
Mohamadou's user avatar
0 votes
1 answer
1k views

WordPress is creating nonce as a logged in user but verifying it incorrectly

I'm having trouble validating a nonce created with wp_create_nonce() inside a hidden input with the name nonce in an html form: <input type="hidden" name="nonce" value="<...
dewd's user avatar
  • 172
0 votes
0 answers
149 views

Hook into the Admin Dashboard and redirect users

So I have a configuration that a API returns a ?code=..... to the URL inside my admin dashboard www.test.com/wp-admin. Is there a hook inside the admin where I can copy the admin url www.test.com/wp-...
DevSem's user avatar
  • 209
1 vote
1 answer
204 views

Can I mass change all admin emails for a multisite instance?

I am managing a multi-site instance of Wp with 300 sites and so I am trying to see if this can be done automatically. I know individually I can go to each site and change the admin email value in the ...
user avatar
1 vote
1 answer
445 views

How to get custom page template being edited in gutenberg editor

I want to know custom page template name (the one chosen in page attributes - template) in PHP, before page opens in order to enqueue additional scripts according to chosen template. I know how to get ...
Lovor's user avatar
  • 756
0 votes
1 answer
283 views

Can I create a separate admin section for my plugin?

Is it against the WordPress guidelines to create a separate Administration section for my plugin? For example, Elementor opens a separate page for building pages but I'd like to create a similar ...
Krishna Suwal's user avatar
0 votes
1 answer
5k views

Wordpress Hacked 5.5 admin-ajax.php [closed]

I am using the latest version (5.5) of WordPress themes and plugins. I also have 2 custom-written add-ons. I tried all the protection methods I know of. wp-config.php and wp-admin url and admin nick ...
Tamerlan Memmedov's user avatar
7 votes
1 answer
2k views

Wordpress 5.5 - ReferenceError: commonL10n is not defined error

I just upgraded to the latest version of wordpress 5.5 and my theme stopped working. The categories are no longer automatically selected when I click the button. https://prnt.sc/u030gj
Vincenzo Piromalli's user avatar
0 votes
1 answer
59 views

Unable to edit my "Administration Email Address" after mySQL editing?

WordPress won't let me change my administration email address. I've checked the spam folder and what's more I even changed the email in the mySQL and it still shows up... Any idea how to kill off this ...
Henry's user avatar
  • 983
1 vote
1 answer
91 views

What determines whether admin toolbar is shown to a logged-in user?

By default, Wordpress shows admin toolbar to Administrator, Editor, or Author but not to Subscriber or unauthenticated visitors. What determines whether admin toolbar is shown a logged-in user? I am ...
ronnefeldt's user avatar
0 votes
0 answers
23 views

Adding a WordPress Admin Dashboard to my local wordpress site

What my team and I are doing is working on a Wordpress site, but we need to set up permissions to use certain features. We put a lot of work into it and we don't want it to go to waste, so is there a ...
Stuart Kushner's user avatar
0 votes
0 answers
103 views

Admin user column sort by numeric meta key

I try to sort a custom user field (team_user_id), I have all data but I can’t sort by numeric. updated code add_filter('manage_users_columns', [$this, 'custom_id_column']); add_filter('...
David Sticker's user avatar
1 vote
0 answers
20 views

Custom Fields box in the post editor: Replace textareas with input elements

I am developing a theme for a specicific use case which uses custom fields. To emphasize that the values are always single line, I would like to replace the textareas with input fields. What is a good ...
no_gravity's user avatar
0 votes
1 answer
54 views

Headers already sent warning in Admin source is media.php 3140

After years of running fine, I am suddenly getting this dreaded message after updating to 5.42. However it only happens in the Admin: Warning: strpos() expects parameter 1 to be string, array given in ...
jchwebdev's user avatar
  • 763
0 votes
0 answers
47 views

Accessing wordpress tool in local MAMP Site

I created a Wordpress website locally using MAMP. For weeks I was able to get to my website and continue creating it by clicking "start servers" and it would open the MAMP page and I would ...
DAS's user avatar
  • 1
0 votes
1 answer
238 views

Need to remove the admin menu item from a be theme in wordpress

I need to remove the few admin menus of BeTheme from admin wordpress menu. Although this code works (when added to functions.php) for usual wordpress admin menus add_action( 'admin_menu', '...
Jessica217's user avatar
0 votes
0 answers
83 views

How to show WordPress admin dashboard forms on front-end?

I need to show some WordPress Admin forms like "Dashboard > User > Add New User" or some parts from Woocommerce Admin like "Edit Product" on front-end without using any ...
Hossein Hashemi's user avatar
1 vote
1 answer
995 views

Backend Checkboxes working – but not visual?

first…sorry for my bad English. Since a few months I have a problem with the checkboxes in the wp backend. They are working, but you can´t see that they are activated. (see enclosed picture as an ...
Rapidpat's user avatar
0 votes
1 answer
418 views

wp-admin/users.php Add a column with last name

How can I add an additional column containing the last name of the user in wp-admin/users.php? It also should be sortable. There is a similar question here: https://wordpress.stackexchange.com/a/...
lefty's user avatar
  • 15
1 vote
1 answer
493 views

Trigger a custom function when option are saved in admin area

I am creating a Wordpress theme from scratch and I would like to save a file with the theme option anytime the theme options change. I was thinking about: do_action('admin_init', '...
Marcello Perri's user avatar
0 votes
1 answer
48 views

Order All Pages table in administration

In administration, in the "All Pages" section, each time I add a new page the table is refreshed order by page Title. I reorder the table clicking on "Date" column to keep working on the last updated ...
Alex Angelico's user avatar
1 vote
1 answer
16 views

Displaying different in-page content to cliente/admin

i'm a young informatic engineer student who is developing his first wordpress website. It is a booking website when a client can see the available hours in certain local and book it, and the local can ...
javier romero's user avatar
0 votes
1 answer
25 views

What is the best way to modify Admin Panel on Wordpress?

I need to customize fields in my admin panel so that the user can edit content such as text style, image uploads, google analytics and such on different pages of the custom theme I have created. ...
Alessandra M's user avatar
1 vote
1 answer
149 views

Access $post object when adding custom columns to list table

We've got a custom post type called 'products' which stores all of its additional meta data in a separate table for performance reasons (we're expecting 1000s of records). We have extended the query ...
Will Fairhurst's user avatar
1 vote
2 answers
1k views

Cannot access wp-admin after disabling all plugin

I cannot access my admin page after disabled all of my plugins via wp-admin/plugins.php. Initially, I was trying to activate Multisite. Now, despite logged in into my admin acount, the wp-admin only ...
Banitama's user avatar
0 votes
0 answers
550 views

How to add a DELETE button to the "Edit User" Wordpress admin page?

I'm looking for a way to add a DELETE button to the "Edit User" (/wp-admin/user-edit.php?user_id=???) page. This is what I have so far but I'd like to place the link next to the "Update User" button. ...
Micah's user avatar
  • 101
3 votes
1 answer
866 views

Trying to add admin file upload form plugin

I'm trying to create an upload form from my admin page via a plugin. I've cobbled together some code from a few sources, including this one: https://www.htmlgoodies.com/beyond/cms/create-a-file-...
Jesse Aldridge's user avatar
1 vote
1 answer
514 views

current_user_can() always returns true if user is super admin

current_user_can('custom_capability') always returns true for super admins even if the capability is explicitly denied as stated here. It does work with a normal admin account. I have added a custom ...
kwellmann's user avatar
0 votes
1 answer
493 views

How To Remove Import/Export Option From Tools?

I want to give admin access to a freelancer. One plugin named controlled admin access done most of the part for me, expect it don't have option to select or deselect subtools.
RGM7's user avatar
  • 13
0 votes
1 answer
624 views

How to create custom backend admin menu in different languages?

So I've found absolutely nothing about this subject online. What I've done: I successfully programmed a custom admin menu in english for my wordpress backend, according to https://webkul.com/blog/...
Joe's user avatar
  • 35
0 votes
1 answer
555 views

Why does my admin email address keep changing to something random?

Every once in a while, I see an email like this: Someone (hopefully you) has used this email to register at My Website Username: ********* Password: ********* Thanks My Website I login to my ...
Christian's user avatar
  • 101
0 votes
1 answer
75 views

WordPress Admin Doesnt work

I was working on the WP admin about an hour ago, all good. I was able to browse to difference pages. I didn't log off. Now, when I try to go to the /wp-admin/ page I get blank white. I navigate to the ...
Peter Friedlander's user avatar
1 vote
0 answers
105 views

Force Contributors to add Tags via edit-tags.php

I need to be able to stop contributors to the website from adding new Tags when they create or edit a Post in WP. The reason is that I need them to enter an additional field at the same time which I ...
kubo's user avatar
  • 11
0 votes
0 answers
69 views

Allow custom REST route to return before doing long operation

I have a custom REST route that imports a CSV file. Everything works so far, but I get a timeout error because it's a really big CSV and it takes a long time. I want to make my REST route start the ...
chrispytoes's user avatar
4 votes
1 answer
2k views

Custom WP_List_Table displays blank rows

I am trying to make a custom WP_List_Table extension to display a custom post type. Here is what the table and the DOM look like. You can see that it is rendering the table rows empty, and no header. ...
chrispytoes's user avatar
0 votes
0 answers
452 views

How do I add custom field to Admin comment form and display

I am talking about the back-end not the front end of the website. I have added custom fields to my comments on the front end of the site and want to display the results on the back-end. Each comment ...
James's user avatar
  • 205

1 2
3
4 5
35