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
1answer
10 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 ...
0
votes
0answers
13 views

WordPress admin gone white and domain no css and photos [closed]

I have 2 domains on one server and run Plesk. One domain word press admin has gone white and domain no CSS and photos, the other word press admin has no error running well (except no javascript) and ...
0
votes
1answer
17 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 ...
0
votes
0answers
34 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 ...
1
vote
1answer
29 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 ...
0
votes
0answers
16 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 ...
0
votes
1answer
13 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 ...
0
votes
0answers
13 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 ...
0
votes
0answers
13 views

I want to reorder & filter the custom fields on the admin screen

I am using custom fields for an unpublished page to hold all kinds of data for my site. It works fine except that in the admin page, they're ordered by their meta_id when I want them in order by ...
1
vote
2answers
29 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 (!...
0
votes
0answers
17 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 ...
0
votes
0answers
17 views

Loading script in Admin

I am trying to create a plugin in which (among other functions) someone can insert alternatives SKUs for a product. I have created the form and a script in order to work dynamically. When I try to ...
0
votes
0answers
17 views

Wordpress Admin-ajax 400 error

I have a problem with ajax request on admin-ajax.php. In the scenario, when the user selects a swiss billing payment method a hidden product should be added automatically and removed when some other ...
0
votes
1answer
22 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 ...
0
votes
1answer
9 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 ...
0
votes
0answers
20 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?
0
votes
0answers
12 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à ...
0
votes
0answers
28 views

Extending woocommerce admin product search with custom fields

I have added several custom fields to my Woocommerce products using ACF Pro. I need to be able to search for custom fields values while using search box in the backend Products list page. Any help on ...
0
votes
0answers
14 views

call_user_func() expects parameter 1 to be a valid callback … => brak możliwości zalogowania się do panelu administracyjnego

Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in /wordpress/wp-content/plugins/cache-enabler/inc/cache_enabler.class.php ...
0
votes
1answer
51 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="<...
0
votes
0answers
20 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-...
1
vote
1answer
40 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 ...
0
votes
1answer
14 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 ...
0
votes
1answer
47 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 ...
0
votes
0answers
10 views

Is it possible to have a single page on my current wordpress install under a subdomain? So editing the page is still accessed from the main interface?

I don't think multisite is functional for this for a variety of reasons (including small scale of what the subdomain would be fore, interface access, plugins, etc.) I have a single page that I would ...
0
votes
0answers
37 views

Woocommerce: add custom metadata to order item admin page

Please tell me! I added a checkbox to the line for order item in admin order page, that informs that the product was put in the order add_action('woocommerce_admin_order_item_headers', '...
0
votes
1answer
606 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 ...
7
votes
1answer
1k 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
0
votes
0answers
14 views

How to create user's profile where he could add intresting for him posts?

Hello I want create an opportunity for user of my website to be registred and see in their profile added posts(airdrops), which they add while surfing website. Plus admin has to be able to see the ...
0
votes
1answer
25 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 ...
1
vote
1answer
18 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 ...
0
votes
0answers
7 views

How to customize the default users page in admin panel?

I'm trying to add a new feature to the admin panel that enables filtering users using specific field. and I'm wondering is it better to add new page with this functionality or to add the functionality ...
0
votes
0answers
19 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 ...
0
votes
0answers
13 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('...
1
vote
0answers
13 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 ...
0
votes
1answer
21 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 ...
0
votes
0answers
13 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 ...
0
votes
0answers
44 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', '...
0
votes
0answers
18 views

Missing Wordpress Address, Site Address and Membership options from Site > General Settings

WordPress Address (URL) , Site Address (URL) and Membership options are missing from Settings > General. This is not a MultiSite. I registered my hosting with siteground.com and signed up for a ...
0
votes
0answers
20 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 ...
0
votes
0answers
39 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 ...
0
votes
0answers
15 views

Custom CSS ace editor not loading on Theme options?

I am trying to edit a theme and it is using Custom CSS. However the Custom CSS input is not rendering for me in the admin You can see in the screen shot the Custom CSS section says "adding it to ...
0
votes
1answer
44 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/...
1
vote
1answer
11 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', '...
0
votes
0answers
20 views

Adding a menu item to the top right of the admin bar

I know how to add items to the admin bar. Also with the priority setting you can define the position within the left of items. But I struggle to add something to the right section of the admin bar, ...
0
votes
0answers
15 views

How to add filter to post_name just for a CPT

I was seeing this post on how to add a filter that allows adding dots to post_name. I made a change to use only dots. I want to make it work only for one type of CPT. But I don't know how to check ...
0
votes
1answer
22 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 ...
1
vote
1answer
15 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 ...
0
votes
1answer
23 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. ...
1
vote
1answer
31 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 ...

1
2 3 4 5
33