Questions tagged [admin]
Users with the ability to perform administrative tasks for a site or a network of sites.
1,724
questions
0
votes
0
answers
28
views
What triggers WordPress automatic updates? (revisited)
I'm trying to ascertain what triggers WordPress automatic updates. (focusing core-updates for now, not plugin/theme at this time.)
How To/What triggers a Wordpress auto update?
The 8 year old question ...
0
votes
1
answer
22
views
Administrator user cannot access dashboard after localwp import
This is the 2nd time this has happened in the past few weeks so I thought I would try and get some ideas on how to overcome. There are a few others in the localwp community that have had the same ...
0
votes
0
answers
59
views
Unknown phantom user "wordpress" created with admin privileges
We've been seeing a user created out of nowhere named "wordpress" every so often, with most of our wordpress sites on a couple Ubuntu 20 servers. I run a quick audit across our server using ...
0
votes
1
answer
61
views
How can I get the Media Library backend to show larger thumbnails?
I have a pretty simple need. On the admin screens, my media gallery is reducing my picture thumbnails to about 145x145 so they'll fit in 6 columns across the screen. The only way I can get a good look ...
1
vote
2
answers
138
views
Want to be able to redirect readers to another wordpress site but still be able to access the back end of current site
I had done this once before but cannot find my notes for it. I want to be able to redirect readers to another WordPress site, but still be able to access the back end of the current site. Basically it'...
0
votes
0
answers
13
views
How to make an image appear then another takes its place and so on?
i would like to reproduce the same effect than this website's homepage has (https://studioswine.com/), which consists of an image appearing randomly in the space for a very short time, then disappears ...
0
votes
0
answers
85
views
how to update page without reloading the page builder?
is there a plugin that will make it so when i click "update" on a page, it will do it via AJAX rather than reload every time?
when using WPbakery, having to scroll back down and collapse/...
0
votes
1
answer
19
views
Is there a way to assign a default Category to a Post when the user creates a new Post?
So far the best I've been able to figure out is how to assign a category when the Save Draft button is pressed. That is not what users want. They want to a particular Category ticked when they first ...
0
votes
0
answers
9
views
How can I move the position of the View attachment page link on the Attachment Details popup in the Media Library?
I'm not trying to be lazy but I can't seem to find a hook which describes how this might be done.
1
vote
1
answer
58
views
How to set up a private custom post type that is accessible in the administrative dashboard?
I'm not entirely sure of the best way to approach the requirement so I'm hoping someone who has more experience with it will be able to share some gems. I've set up a custom post type with the ...
0
votes
1
answer
40
views
I want to force secondary rows using WP_List_Table
I am making a custom Pages screen to display all of my published pages.
I started with Matt Van Andel's excellent Custom List Table Example that works with WP_List_Table.
Each item looks something ...
0
votes
1
answer
22
views
How to make a secondary Pages Screen
I want to make a custom Pages Screen in admin, leaving edit.php?post_type=page as it is. This screen will have different columns, different filters etc. I want the link for it to go under Pages and ...
0
votes
0
answers
71
views
Display Any Field fromAdmin Panel in Frontend via Shortcode?
Frontend Admin by DynamiApps allows you to display/embed any ACF field in frontend.
What is the best process to replicate this concept to display any field from any admin page in front end? i.e, We ...
0
votes
1
answer
16
views
How to add the "page" post type to Recent Activity widget displayed in admin?
I already know how to custom the default Recent Activity widget displayed in Dashboard in order to show the last Custom Post Types published :
add_filter( 'dashboard_recent_posts_query_args', function(...
0
votes
2
answers
90
views
How to quickly search posts by title in Admin interface
I have a site with thousands of posts, and in the admin interface I simply want to be able to find and edit posts quickly based on their title.
The default post search functionality matches on the ...
0
votes
2
answers
343
views
AJAX call not initializing for non-admins in WordPress
I developed my ajax functionality while using a WordPress admin account and everything worked correctly. Testing as a user, however, I cannot get the functionality to call - and pressing the "...
0
votes
0
answers
32
views
Modify 'the_content' appearance in the admin area
In the backend admin area, is it possible to change 'the_content' section to appear as a basic text input similar to 'the_title'?
So turning it into a simple text input, instead of the rich text ...
0
votes
1
answer
191
views
AJAX WP_Query's order and orderby parameters not working
TL;DR SUMMARY OF PROBLEM
AJAX will not use the proper order and orderby parameters given, and instead sorts post by menu_order (posts section doesn't even have post attributes set as true).
PROBLEM ...
1
vote
2
answers
557
views
Display notice in block editor after wp_insert_post_data hook
I have a custom post type which checks and validates some (custom) meta fields added with it upon publishing. I am using wp_insert_post_data for the purpose:
public function __construct()
{
$this-&...
0
votes
0
answers
34
views
Display taxonomy terms when adding a link in the admin
When you add a link in the admin and make a research, all post types are displayed, but I wondered if there is an easy way to display also taxonomy terms. It would be very useful.
Thanks!
0
votes
0
answers
61
views
Wordpress site down for my IP only after trying to implement .htaccess whitelist
UPDATE: the problem seems to have solved itself now, about 24 hours later. It would still be useful to know what happened, though.
My team and I have tried to make 2FA plugins work with WordPress a ...
0
votes
1
answer
151
views
Why is my Wordpress admin not working
My WordPress admin has stopped working. This is running with WooCommerce. On the Customize Appearance > WooCoomerce > Store Notice, I tried to set the Store Notice to Off. I got this error ...
0
votes
0
answers
46
views
CSS Styles specific to Admin Sidebar not loading
I have several sites where I have loaded a custom stylesheet for the Admin. They work fine in both the TinyMCE editor and the sidebars.
I have one site where the custom stylesheet targets the TinyMCE ...
0
votes
0
answers
30
views
500 error for regular users, not for admin
Not sure what's going on here. Some of my pages (eg https://beatthatflight.com.au/) are getting 500 errors. However other pages (https://beatthatflight.com.au/index.php/2022/12/19/56-fast-free-easy-...
0
votes
0
answers
30
views
Display admin sidebar into custom post pages if logged
Is it possible to display the default admin sidebar in a custom post type page (frontend view) if user is logged in, as happens for the admin top bar?
If is possible, how can I do this? Any hint?
0
votes
0
answers
18
views
How to change WP menu item type?
There seems to be no way to change menu item type from page to custom in wp admin. How can I do this? If I have big menu it’s very cumbersome to build these always by hand… Type change should be in ...
1
vote
1
answer
34
views
Admin menu link with variable
I used this function to display a log out link below the home icon. But how could I put a variable, for instance the current username, on that link to show a profile page?
The function is:
...
0
votes
1
answer
35
views
Filtered dropdown for author?
My site has a long list of authors. I understand the html is a select list. However, is there any way, javascript or other, to make this a filter-able list, i.e. with a search box at top of the ...
0
votes
0
answers
138
views
Override Wordpress Core File?
I'm currently writing a plugin that will not work without adding a simple action hook to one of the core files located in the wp-admin folder. Without violating best practices is it possible to copy ...
0
votes
1
answer
842
views
Add custom css class to wp-list-table row for custom post type
Is there any way to add a custom css class based on post data in the custom post type admin table?
0
votes
0
answers
73
views
How to make the Panel // WP-Admin lighter via Mobile
By accessing the WordPress Admin Panel.
via Cell/Mobile the loading is too slow.
And the layout is not responsive.
In Chrome console I get the following errors
[Violation] 'DOMContentLoaded' handler ...
1
vote
1
answer
149
views
Removing WPML Items From the WordPress Admin Bar
I'm using WPML on a website, and since I'm traducting everyting mylsef, I want to hide the "WPML Translation managment" section.
I tried with :
function my_remove_menu_pages() {
...
0
votes
0
answers
862
views
admin-ajax.php returns 0 even when the post status code is 200 OK
I've seen a lot of similar questions and I've incorporated the feedback from the answers but still, the issue is not resolved.
Ajax request is sent on click of a button in js file.
WyrRoute.js
...
0
votes
1
answer
160
views
HTML Img with data:image src gets sanitized in admin?
In the WordPress admin panel (dashboard), I want to add an image inside an ACF field description. Since it's a simple SVG icon, I want to load it using <img src="data:image/svg+xml..." /&...
0
votes
1
answer
177
views
Authorize subdomain to access and read user and admin cookies
My subdomains redirect alls in the main domain .
I am the admin.
We can access to my website by the main domain or subdomain.
I use that to share cookies between domain and subdomain :
There is no ...
2
votes
1
answer
522
views
External HTTP API calls slowing down Wordpress admin [closed]
By using Query Monitor I'm finding that virtually every page load within Wordpress admin results in 15-25 server-side HTTP API calls being made. Most take less than 0.1s, but there's 5 or more that ...
0
votes
1
answer
38
views
CPT Columns doesn't show categories
I have the following code creating some Columns and reordering them to my CPT.
// SHOW THE FEATURED IMAGE
function pessoas_custom_columns_data($column_name, $post_ID) {
if ($column_name == '...
0
votes
0
answers
49
views
Metaboxes inside Tab
I am learning WordPress Plugin development. In this regard I have to save some settings along with Custom Post in Admin Panel under a Menu. Can I place metaboxes inside tab for this issue like the ...
0
votes
2
answers
200
views
Is there a way to add the list of recent posts into the admin sub menu on hover?
If I need to edit a specific post then I need to click the "All Posts" link and then find it. It would be nice to click directly on a link from within the popup hover sub menu.
Something ...
1
vote
2
answers
859
views
How to see which sites use my installed plugins (wordpress multisite)
How can I (easily) determine which of my wordpress sites are using a given plugin, on a Wordpress Multisite install?
Let's say I have 1,000 wordpress sites on a Wordpress Multisite install. I have 100 ...
0
votes
1
answer
59
views
Insert Custom Post Types
I am learning WordPress plugin development. I need to insert Custom Post Type. I registered custom post type using register_post_type(). I am getting below Form when I would like to insert a New ...
0
votes
1
answer
363
views
Change the destination of the URLs in post.php
The post.php screen lists posts vertically in the admin area [and other post types]. Each item's post_title is a hyperlink, directly above some inline choices. Both the title link, and the "Edit&...
0
votes
1
answer
25
views
Admin Panel Development [closed]
How to create Tab on Admin Panel like "General Settings" screenshot ?
How to create List on Admin Panel like "Pages" screenshot ?
0
votes
1
answer
183
views
How to pass multiple parameter in add_action()
I have below code.
add_action( 'admin_init', [$this, 'settings_page_registration'] );
I would like to use enqueue_assets function name inside add_action().
Should I use like below ?
add_action( '...
0
votes
1
answer
26
views
Newly created user role not displaying on users screen
I have created a new role with the following code:
add_role('sponsored_content', 'Sponsored Content', get_role('contributor')->capabilities);
I have added users to this role.
When viewing the ...
0
votes
1
answer
22
views
Does an administrator access allow someone to access to the WordPress database?
I gave an administrator access to a developper and he made a copy of my entire Wordpress website (meaning : files from my FTP and the whole database).
How did he succeed to do that ?
Does creating an ...
0
votes
1
answer
736
views
Theme javascript/css 404
I have recently installed WordPress 5.9.2 on my VPS using Apache2 on Debian 11. I want to try some different themes (partially because I think the editor for the new Twenty Twenty-Two theme is clunky ...
1
vote
1
answer
72
views
Fallback media image for featured image not working in admin column
I want to display a fallback image if a custom post type does not have a featured image set and displayed in a custom admin table column.
However all that is being output is the image url and not the ...
0
votes
1
answer
345
views
sortable columns for multiple custom post types not working
I have two custom post types named professor and campus.
To each of these CPT's I have added two custom admin columns named image and last_modified, which currently display correctly on both CPT's ...
0
votes
1
answer
1k
views
Add checkbox in admin post list - show checked post in widget
I try to make a plugin with a widget where I can mark / check posts, maybe old post I want to bring back to life.
I want to add a checkbox in the field before the title, like I try to show in the ...