Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [admin]

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

0
votes
0answers
6 views

Remove Order List Row Link in WooCommerce Admin?

I wanna remove the functionality of when you click on a order row in Orders in Admin, you will be sent to the edit page for that order. I know it's added with jQuery in a js-file in the WooCommerce ...
0
votes
2answers
18 views

Can't access wp-admin, redirects to http://%24domain/wp-admin/

I have a WordPress website on a Digital Ocean VPS which I've come back to and tried to log into the admin panel through the 'wp-admin' link. For some reason I can't access it now. The website gets ...
0
votes
0answers
21 views

After upgrading to WP 5.1.1 sometimes I need to reauth infinitively

I have some blogs, and after upgrading to 5.1.1 I always have to reauth myself. If password/username is wrong, I got that error message but if I enter right data, the page simply reloads. So I go to: ...
0
votes
1answer
80 views

Editing the term_order field

Can I add the term_order field to the terms edit page? I need a text field, not a sorting plugin. Thank.
-1
votes
1answer
36 views

Forbid certain users to access a specific page

I want to build a blog where every user is allowed to post something (only text) after a successful registration. However, a user should only access other contributions from users who have uploaded at ...
0
votes
0answers
33 views

Doesn’t call user information to include “wp-load.php” in an external php file

Doesn't call user information to include "wp-load.php" in an external php file. <?php require_once( dirname( dirname( __ FILE __ ) ) . '/wp-load.php' ); global $wpdb, $user_ID; echo $user_ID; // ...
0
votes
0answers
27 views

How to filter page title for certain page?

I have saved in DB in options an ID of certain page. I wanna use that ID to filter corresponding page title and add a postfix in pages overview as follow. So for example to add postfix "- My Chosen ...
0
votes
0answers
13 views

How do I move the “Add New [Term]” column?

On each edit-tags.php page (that is, on each Taxonomy term listing), the left-hand side of the page, left of the actual term list, always has an "Add New [Term]" form. Frankly, I often find it gets ...
0
votes
0answers
20 views

can i add admin menu for set query category id?

I am thinking of something.that i want to add a wordpress admin menu for set category id. i mean i designed news section that lists post from specific category. like this: Sports News Post from ...
1
vote
1answer
32 views

How to only show posts assigned to current user, only in certain post types

im trying to get this code to work. in admin id like to only show posts assigned to current user, only in certain post types like: shop_order, pages, posts. But show all posts in other post types ...
1
vote
1answer
35 views

Editing admin pages in WordPress [closed]

I’m trying to find information on how to edit admin pages in WordPress. Custom pages can be overridden in the site template, but I still do not understand how to deal with the admin. Note: In my ...
0
votes
1answer
22 views

How to add convenient buttons for new custom post statuses

I add new post status via this code in functions: function custom_post_status() { register_post_status( 'spam', array( 'label' => _x( 'Spam', 'post' ), 'public' => false, ...
0
votes
0answers
9 views

Admin dashboard Issue Or VPS issue?

So this problem occur everywhere in my Admin dashboard now. After I edit basically anything(Post/Page/Plugin/Settings/etc), the admin panel is still showing the unedited version. For example, I have ...
0
votes
1answer
37 views

Access to “My Site” is missing from the admin bar

You know there´s a direct access to every wordpress site right on the left side of the admin bar (or tool bar) once you get access to the wp dashboard which is intended to connect your website backend ...
3
votes
3answers
107 views

Filter admin columns by custom post field value

I have a custom post type called dogs. Within the Add Dog interface, I have a radio-button group that gives choices for color, which are added to the new dog post as meta data. There are about five ...
0
votes
0answers
70 views

How to be able to edit custom address fields in WooCommerce admin?

I'm Dutch and in The Netherlands we use a different address format than in the US. We'd have to spit the street name and the house number. In order to fix that I used "address line 1" for 'Street name'...
1
vote
1answer
31 views

Admin multiple column sorting

This question seems simple enough, and I'm surprised that I don't find much while searching Google to find an answer. The only thing I've found is a pro plugin, so far. I'd just like to be able to ...
2
votes
0answers
36 views

SSL Partially breaking admin panel and elementor

I have recently installed a SSL certificate on my hosting server and I switched WordPress to SSL. The website is running normally, with no mixed content errors and everything is loading as it should. ...
1
vote
0answers
23 views

Options page - dropdown of users

I want to create an options page in WPAdmin that will let me select among registered post type "Members" and anoint them as "captains". Here is my code so far but the dropdown is not functioning ...
0
votes
0answers
21 views

Creating front end admin area for users

I am creating a front end custom admin area for registered users. The logic and everything else in in place, so it works. BUT, I have created this using pages with custom page templates. I feel this ...
0
votes
1answer
110 views

Can't add users in admin after copying database

This is a really strange issue. I'm testing a large production Woocommerce site with a 2 gig database. The production site needs updates to Woocommerce and plugins, so I want to test on staging. I can ...
0
votes
1answer
16 views

Put page on Archived statut after end of publication date

I’m looking for a way to put pages on archived statut after expiration of the publication date. First, I add archived statut to the platform (code below). This statut appear if the page is published. ...
0
votes
1answer
22 views

Does is_admin() really provide a plugin performance improvement?

I have this block in my Main.php class which loads the admin, core and front classes that make up my plugin function registerObjects() { // register the front $controller = new front\...
0
votes
0answers
11 views

Lock CMS during code updates

Is there a way to temporarily log out and disable all users from WP admin to stop content creators from making any database changes during a major page rebuild?
0
votes
1answer
29 views

POST 429 Error when trying to place more than 20 images into post at once

I’ve come across a bug that I can’t seem to fix and it seems to be on multiple WP sites that I manage / own. The issue: When placing multiple images into a wordpress post it spits out “VM392:1 POST ...
0
votes
0answers
20 views

Only a small portion of my export page renders

Has anyone had this problem before? Only a few options are showing.
0
votes
1answer
16 views

Adding more than one Wordpress Gutenburg block type?

I am currently in the process of creating a Wordpress plugin that allows extra block types to be added for creating posts. I have successfully created a wordpress block type but it doesn't work when I ...
0
votes
1answer
154 views

admin_enqueue_scripts not working

enqueue.php function sunset_load_admin_scripts( $hook ) { if($hook != 'toplevel_page_mypluginname') { return; } wp_enqueue_media(); wp_register_script('sunset-admin-script',...
0
votes
1answer
26 views

How to enforce authentication for all resources?

I want to host a personal journal with wordpress. I don't want to share it with 3rd parties but I want to be able to access it from anywhere with my admin credentials. There are several plugins ...
0
votes
1answer
33 views

Allow direct access to files/folders within Wordpress to replace wp-admin

Here is the scenario: I would like to design a brand new wordpress admin for my clients (using WordPress autoload as the core to interact with WordPress). I have tried slightly modifying the css or ...
0
votes
1answer
27 views

Mixed language in admin backend

I’m running WordPress in French and some words in admin backend are still showing in english ! Like “users” and “dashboard” and many more. What I did : – Switched to twenty seventeen theme – ...
0
votes
1answer
42 views

How do I add an admin table to my page?

I've added a new page to my admin area, and am now trying to add an admin table to this page, using the WP List Table class (per these instructions). Per the instructions, I would like to first ...
0
votes
1answer
41 views

How to pass query string vars between admin pages?

I want to pass two query string variables, and their values, from one admin page to another. When I try to do so, on the final destination page, it indicates the variables are not set. My code is ...
0
votes
0answers
17 views

Admin – Add custom display() function for posts list

I'm trying to customize the posts lists in the admin panel without modify the default scripts. I found the edit.php (wordpress\wp-admin\edit.php) and i found the line "<?php $wp_list_table->...
0
votes
1answer
29 views

How to access variables from one plugin in another

Intro: My company offers products as well as services, and we currently use Woocommerce to sell both. I would like to keep products separate from our services, as we treat our products similar to food ...
0
votes
1answer
16 views

How to save edited post when submitting form

I have added a custom button(via form in html) on my WooCommerce edit product(same as WordPress edit past I think) page. When this button is pressed, my php code will parse the post content. The ...
0
votes
0answers
428 views

Error “Sorry, you are not allowed to access this page”

I renamed plugins folder, removed unused themes, checked wp_capabilities for my website, It's getting error like below after login page and redirecting to home page.
0
votes
0answers
31 views

Can’t log wp-admin

After a malware attack and a cleanup, I can’t log in to my WP Admin control panel. It always says password incorrect. So far I’ve tried to: change password from the WP form change password WP_users ...
0
votes
0answers
13 views

Check to see if a post's child category also has it's parent category ticked

Is there a way I can check to see if a post's child category also has it's parent category ticked? With a warning popup when publish/update is clicked.
0
votes
1answer
18 views

<meta> in source code but I can't find it in files or plugins

I've got someone verified in my Google Search Console for our site and it's using a meta tag in the head. I've checked header.php in the theme and the child and it's not there. I've double checked ...
0
votes
1answer
32 views

require/include php file in add_menu()

I'm creating a custom WP Admin Bar menu item with custom HTML inside the dropdowns. Referring to this: https://codex.wordpress.org/Class_Reference/WP_Admin_Bar/add_menu the HTML i want to use is ...
0
votes
0answers
14 views

Disabling/Remove Caption Field for uploads in admin

Can someone please assist me. I've been trying to disable/hide the caption field for uploads in admin. Using the functions file in the child theme so that it doesn't get overwritten when WordPress ...
1
vote
1answer
19 views

How to remove wp panel for users

Hello i have a question , i want to create the whole panel for users by myself and i dont wanna just hide the wordpress panel i dont wanna let users have access to wordpress panel, is that possible , ...
0
votes
0answers
8 views

Keep Page hierarchical order on Control Panel when I use 'remove_cap' 'edit_others_pages'

I'm admin user and just created several editor users who are 'NOT' allowed to edit other pages. Let me call them 'master editor','editor A' and 'editor B'. 'master editor' can edit top level parent ...
1
vote
1answer
185 views

Gutenberg “Add Block” button is not active (greyed out), cannot add new blocks

I am currently using Wordpress version 5.0.2, i want to add news posts but the button "ADD BLOCK" is not active.
0
votes
1answer
18 views

Allow admins to login as other users

My question is about WordPress in general. How can I give admins the ability to log in and do things that other users can do? My specific use-case for this is, in WooCommerce, when an admin creates ...
0
votes
0answers
19 views

Re-Use WordPress Admin Tag/Category Selector

I want to re-use the frontend tag/category selector that is used when editing a post in the WordPress Admin. I have my own data API that I want this to connect to, rather than searching for tags/...
0
votes
1answer
105 views

I can't access login page

I was copying my web from live host, but when I want to access admin dashboard, the url can't be accessed The url is changed to be like this : http://backstagewhisp.local/wp-admin/backstagewhisp....
0
votes
0answers
53 views

Unable to load image through admin-ajax or ACF

I have a strange issue that affects some images on my WP install. Some images are broken. I can view them fine in the media page, the image URL is correct and the image loads in the browser. However ...
0
votes
0answers
19 views

Same function but different add_settings_field

I have two fields but related to each other; Is it possible to have two add_settings_field() with same function? or one add_settings_field() with multiple $id and one function? Or just should have ...