Questions tagged [wp-admin]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Change reset password hook?

When users create an account they get an email to set their password. Currently, it goes to the default https://example.com/wp-login.php?action=rp&key=hFRwAiQxbz634rmjHuWgU&login=username ...
0
votes
0answers
23 views

Confused where some of these admin menu items came from

I am working on a client's site. I noticed they don't have a Post admin menu item and instead have a Products. I also have a download center and a few other admin menu items. However, when I go ...
0
votes
0answers
14 views

Hook into form handle from admin users table

I'm adding a couple of buttons to the user table in a custom column, in which, on click will need to either approve or reject the user via update_user_meta. I've tried hooking in with profile_update,...
0
votes
0answers
26 views

Change the customer's name to a link on an order management page

Inside the admin control panel, on an order page where I see all the details of the order. I see a list of things: customer name, phone, address, email, etc. I'm trying to change the client's name to ...
0
votes
0answers
15 views

Block editor: How to check if block editor has initialized and populated the data store?

Within some JavaScript I have to get the current post content of Gutenberg. I am accessing this from jQuery (might be bad practice, however): $(document).ready(function() { const { select }...
0
votes
1answer
23 views

Block Editor: How to get title and post content within the WordPress admin UI in Javascript?

Adapting some old SEO module (which was written for TinyMCE) I have to access the current post title and post content via JavaScript. I have been avoiding Gutenberg in the past, but it seems like this ...
0
votes
0answers
16 views

Get full URL of WP plugin admin page

I'd like to append an admin notice to the edit page of a particular 3rd party plugin to help prevent user error. The URL is .../wp-admin/admin.php?page=plugin-name&action=edit... As $pagenow ...
0
votes
1answer
20 views

Does anyone know where to find the area to edit this text

At the very top of this site using Divi theme: https://www.vmcalbany.org/new-home-2 Where it says "Register: Celebrating Our Heroes 2019" in white text on the blue strip. Thanks!
0
votes
0answers
11 views

How to block the WP admin menus form loading depending on the current URL?

How can I block the WordPress admin menus and admin bar from loading depending on the URL. So that when a user visits a certain page in the admin area he will only see the wp-content block while the ...
0
votes
1answer
23 views

WordPress custom post type capabilities issue

Using WP 5.2.4, I am registering my custom post type with this code: $args = array( 'labels' => $labels, 'public' => false, 'show_ui' => true, '...
0
votes
1answer
19 views

How to prevent Google adsense invalid impressions while performing admin tasks on my wordpress site?

I've added google adsense to my website. Currently I've got pretty less traffic (~3-30 visitors everyday). I'm afraid that if I use my wordpress admin panel / write a post / view a post etc then it ...
0
votes
0answers
13 views

How to render main header navigation bar across all WordPress pages

I am building a theme using the Highend plugin in WordPress. In Highend Options > Logo Settings in WP dashboard, I overrode the default logo to implement a custom logo. This new logo appears to render ...
0
votes
0answers
27 views

Jquery no more loading, load-scripts.php not found (404)

When I open my wordpress website admin panel jquery is not working anymore (it worked yesterday and I don't see what I changed that can explain that). The first javascript error I have is GET https://...
3
votes
1answer
36 views

.htaccess rewrite rule for removing .php extension with exception of wp login and wp-admin

This is my current .htaccess: # Remove filename extension <IfModule mod_rewrite.c> # This will remove the .php extension if it is not a directory, the file does not exist and it's not a ...
0
votes
0answers
17 views

Change title in backoffice (wordpress + woocommerce)

I need to change the titles in the pages that have to do with woocommerce in the backoffice. I think that it must be a way similar to changing the custom title in the login (as I added the code in ...
0
votes
2answers
32 views

Cant login to wp-admin

Since my wordpress-instalation updated itself, i cant get access to the wp-admin page. All i get is a blank page with Warning: Cannot modify header information - headers already sent by (output ...
0
votes
0answers
13 views

How to pass custom_field value back to admin editor after field updated by a hook? AJAX? Other way?

I have a custom post type that has custom fields as meta data. The post is a lesson. As part of a lesson I have a webinar_id field. I typically don't edit that field directly, though I could if ...
1
vote
1answer
22 views

Allow administrators to pick post author on custom post type edit screen

I need to be able to allow Administrators to choose a different author for a post they create or edit in admin. I've added the post author capability, and the select field displays on the edit screen,...
0
votes
1answer
38 views

Save custom field on WP_List_Table

I have a custom field which is named clicktripz_object_location. I've created a WP_List_Table with the following code; if(is_admin()) { new UCO_Wp_List_Table(); } /** * UCO_Wp_List_Table class ...
1
vote
0answers
14 views

How to add Wordpress Admin “Insert Link” UI (searches through existing posts for URL) and functionality into a custom plugin?

When inserting a link into a post using the Wordpress Visual Editor, a popup UI shows up allowing you to type in / live search for the title of a published post. Is there any way to allow this ...
0
votes
1answer
16 views

Is There A Plugin to Create WP Multisite Installs programatically

So I created a wordpress multi-site and I want to be able to create multiple sites in the network programmatically. My subscription service has an API so I can create username and passwords on the fly ...
0
votes
0answers
13 views

Block Admin User in custom login page

I have created a separate custom login page for users login, also implemented users cant go to wp-admin without admin role. Now I also want to block admin users login, through my custom login page, ...
0
votes
1answer
19 views

Create “blank” admin page without having admin-bar/admin-menu for faster load

I'd like to create a page in the WP Admin backend that is just "white", e.g. without the administration menu or the admin bar. I am NOT looking to create an admin page without adding it to the menu; ...
0
votes
0answers
7 views

Redirect URI on Wordpress Admin Submenu Page

I have a submenu page with this url: /wp-admin/options-general.php?page=getty-options This works well but i have a Redirect URI from an api using that url which results in: /wp-admin/options-...
0
votes
0answers
21 views

Wordpress Admin login redirect to homepage

Wordpress admin page redirecting to home page after login, not at all see any admin area. For the console, it is showing 32 redirects. but not sure why it is happening For the console header, it is ...
0
votes
0answers
27 views

All files in public_html, Cannot launch WordPress site via wp-admin

my registered URL is casualtyclaimscontainment.com I developed the site on AMPPS using the URL kriswebpg.test I uploaded site to https://dallas124.mysitehosted.com I have tried everything in my ...
0
votes
0answers
15 views

All settings of my plugin disappear on its settings page

so I am currently working on building my first plugin. I followed a tutorial to make a settings tab in the woocommerce settings tabs. It worked once, but when I saved a setting, all elements of the ...
0
votes
1answer
9 views

How to move “Collapse Menu” to top of admin bar?

As stated in the title, I try to perpetually move the "Collapse Menu" button which is normally the very last entry in the admin sidebar (backend) to the top. I googled but can't find any working ...
1
vote
0answers
20 views

Is it possible to restrict all admin pages except theme customisation and storefront using plugin?

I want to restrict all admin pages except theme customise. I am wp_set_auth_cookie() for auto login. I don't need any other admin pages. I write code in my plugin add_action( 'wp_loaded', '...
0
votes
0answers
10 views

Sorting posts By Taxonomy using 'post_clause' filter

I have a table list in my plugin's admin panel that has taxonomy columns. I'm trying to add some sorting functionality for those columns and I'm using the post_clause filter to alter the query to ...
1
vote
2answers
38 views

How to avoid manage posts screen duplicates when two plugins use the same library

I have two custom plugins that use the WP Logging class. It creates a custom post type called Logs, which (at least in my case) is only visible inside the admin, for example at /wp-admin/edit.php?s&...
1
vote
0answers
62 views

transition_post_status not working via Quick Edit

I am trying to use transition_post_status with custom post statuses to update user meta each time a post status is updated. The following works when editing the post status in Edit Post Screen, but ...
0
votes
0answers
34 views

wp-login.php problem

when I try to access WordPress dashboard through mydomain.com/wp-login.php, it shows me login page but when I login into WordPress account, instead of getting access to dashboard, it shows me the ...
0
votes
0answers
24 views

Why is unfiltered_upload not working despite being enabled?

According to the Codex, all that's needed to enable the unfiltered_ upload capability - i.e. the ability to upload any filetypes to the Media Library rather than just the default whitelisted ones - is ...
0
votes
2answers
463 views

Icons are missing from Visual Editor

The Problem I've been grappling with this bug over several days now to no luck. When editing either a post or a page, all icons in the Visual Editor are missing: As you can see this, includes the ...
0
votes
0answers
16 views

How to disable theme editor “error” nag

When making small changes to my live site using the theme editor (for bigger changes I'd just grab a copy of the whole site as a development version and make changes to that locally), I get the error ...
0
votes
0answers
110 views

Multisite wp-admin redirecting to main wp-admin using NGINX

When I try to go to the wp-admin of any multi site, it redirects to the main wp-admin. So if I go to example.com/multi-site-slug/wp-admin/ it redirects to example.com/wp-admin/ NGINX is being used ...
0
votes
0answers
16 views

Simplest way to clear specific wp_postmeta value via a button

I have a submenu in the Admin Tools tab that shows a wp_postmeta record that has been used to capture error logs. I want a simple button to clear the record. Should I use javascript and send a REST ...
0
votes
0answers
12 views

remove_submenu_page problems

I am trying to remove a admin menu page added by another plugin. I got the settings I want configured so the page is no longer needed. So to reduce clutter, and to prevent an admin from accidentally ...
0
votes
0answers
15 views

Add custom WP-Admin (backend) menu location

I'm having a WP Multisite for dual language site and I'm a bit sick of the standard menu structure. Everything is mooved apart, such as the options etc.. To solve this a want to create an overview ...
0
votes
1answer
27 views

Change the color of the Password Protected Post titles

I want to change the color of the protected post titles. When a post is in protected status (have password), the post title will turn red different from other posts. Please help me, thanks.
0
votes
1answer
20 views

Remove All in One Pack from the admin bar

Hello I want to remove All in One Pack from the admin bar. I can remove anything else but it. I have already removed other things like update from the admin bar using this method Get the menu's id ...
0
votes
0answers
22 views

How to make a live search table in admin plugin panel in Wordpress

I want to create a live search for a database that shows results in a HTML table in my plugin admin page. This is my code: $connection = mysqli_connect('localhost', 'root', '', 'wordpresssite') ...
0
votes
1answer
24 views

WordPress site migration - locked out of admin area

I migrated my WordPress site by uploading the wp-content file from the original site to the new site and dumping the database of the old site onto the new one. However, this has resulted in me being ...
0
votes
0answers
49 views

/home1/vultusbl/public_html/wp-includes/class-wp-hook.php on line 286

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'et_tabs_admin' not found or invalid function name in /home1/vultusbl/public_html/wp-includes/class-wp-hook.php on ...
0
votes
0answers
20 views

CPT post count is 0 for the authors in the User list

I have created few CPTs for my website. There are several guest writers for my blog. The posts that the authors write are CPTs. However, the post count beside the user list is still 0. I want to ...
1
vote
3answers
220 views

Prevent /wp-admin/ from redirecting to homepage?

I have copied a wordpress instance from production to my local. After getting the public side of the site up - public homepage, pages, and blog posts -, I cannot access /wp-admin/ because that url ...
0
votes
0answers
72 views

insert post with wp_insert_post

EDITED: I'm trying to create a post when I submit my form from my custom themes page on the backend function simplyme_portfolio_icon_1() { $options = get_option( '...
0
votes
0answers
19 views

I used Duplicator to move my WP site to the root of my host, but my Astra pages are missing

The pages aren't showing up in wp admin. Have I made a stupid mistake? Duplicator copies all the files and directories (it made a zip file), so I assumed the pages I made would carry over too. I used ...
0
votes
0answers
57 views

Pages in wp-admin is not found 404

I moved my website from localhost to web server. The website works fine. When I explore any page the urls on the website(front-end) are working fine so permalinks are not a problem. Issue is when I ...