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
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
30 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
60 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 ...
-1
votes
0answers
11 views

Upload and configure new wordpress installation

I'm sorry if this is duplicated but I need help to resolve my problem. So, I bought hosting about an 2 weeks ago. The hosting does not support cPanel, because of some hardware space needs. Any way I, ...
0
votes
0answers
18 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
27 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
29 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
22 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
11 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
62 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
13 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
20 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
19 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
15 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
43 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
25 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
20 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
31 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
39 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
13 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
25 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
1answer
160 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
1answer
28 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
12 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
28 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
13 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
18 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
7 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
93 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
17 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
17 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
55 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
48 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
18 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 ...
0
votes
0answers
32 views

How to clone an admin page (content) to another admin page in Wordpress?

Following, I will use the Edit Flow plugin as an example, but my question should address any similar situations. I would like to clone the same content there is on User Groups (/wp-admin/admin.php?...
0
votes
0answers
35 views

WordPress admin url rewrites to be used with Vue router

Using Vue in a custom plugin with vue router, how would it be possible to rewrite wp admin urls with query params? The web server is Nginx My link looks like /wp-admin/admin.php?page=my_plugin. I ...
0
votes
1answer
24 views

Updating Wordpress plugin admin panel footer text

The Wordpress admin backend displays the following footer text for each page of the admin panel: 'Thank you for creating with Wordpress'. What is the cleanest way to update this text for a particular ...
0
votes
1answer
228 views

Admin-ajax.php 500 error when Add to menu is clicked in admin

In the WordPress(V 4.9.9) admin panel when I click the "Add menu item", the never ending spinning wheel starts and I get the admin-ajax.php 500 error in the console. The error is something as below ...
0
votes
0answers
15 views

Having issue with dynamic data within restrict_manage_posts function

I have the dropdown dynamically populated with the titles of my podcast post type and I can successfully apply a filter by selected a podcast title and clicking filter. However, when the page loads ...
0
votes
0answers
181 views

How to remove Google fonts from wp-admin (Roboto) added by core

This line is in source of /wp-admin/ code. I do not wish to have extra Google fonts in Wordpress admin area. <link rel='stylesheet' id='prefix-style-css' href='https://fonts.googleapis.com/css?...
0
votes
1answer
33 views

Adding orderby url parameter to main CPT admin menu link

Is it possible to change the main admin menu link for a CPT (the link to edit.php) to include URL parameters? I wan't to make the posts list default to sorting by "title" but I don't like how ...
0
votes
0answers
12 views

custom post to “add email” has white background - not admin

I am trying to develop a plugin that runs in the admin space. It is very simple. I'm using WP_List_Table to display a list of the items in the db. That works perfect. I have an "Add" button on the ...
0
votes
2answers
62 views

How do I add a custom body class to the admin area of a page?

I tried with this code in functions.phpof my website's child theme. add_filter('admin_body_class', 'custom_body_class'); function custom_body_class($classes) { if (is_page(8)) $classes[] =...
1
vote
1answer
29 views

Is it possible to edit the styling of the admin panel from within a custom theme?

I'm making a custom theme. I know from reading around that I can make a custom admin theme by creating a plugin, but I would prefer to keep everything contained within just my custom theme. ...
0
votes
2answers
32 views

Cannot access wp-admin after installing SSL - user capabilities not being set

EDIT: Turns out the solution was to simply re-install wordpress (it was a new blog anyways). Still not sure what the issue really was but that solved it. I have tried every single fix on ...