Skip to main content

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
1 vote
0 answers
35 views

Wordpress as microblog: show excerpt instead of "(no title)" in posts view

I am using WP (currently v6.5.3) for cross-posting to micro.blog/Mastodon/Bluesky (and occasionally manually posting the items to X or Threads). As such, my posts rarely have titles, which makes it ...
Andrew Jaffe's user avatar
0 votes
0 answers
9 views

Hide Dashboard and Profile from non admin in sidebar

I want the Dashboard and Profile tabs to be hidden from users who are not administrators in Wordpress. Specifically, I created a user group order_manager and I want it to have access to orders only, I ...
Anthony's user avatar
0 votes
0 answers
13 views

Remove element from admin page editing part

I would like to remove few element in the admin page editing part. Here a screen to the elements I want to remove. Thank you !
Brommando's user avatar
0 votes
1 answer
26 views

I accidentally rejected my wordpress admin account!

I accidentally rejected my wordpress admin account! How can I recover it? I would be thankful if you kindly help me with this.
Rouzbeh Khorramdin's user avatar
0 votes
1 answer
26 views

How can I catch WordPress custom settings page slug has already changed?

I created a custom settings page like below. add_menu_page( __('Management', 'domain'), __('Management', 'domain'), 'activate_plugins', 'management', // <--- ...
G.D.i's user avatar
  • 23
0 votes
1 answer
50 views

Only an admin can add new tags

Hello, How can I restrict the addition of new tags for users who are not administrators in Posts -> Tags?
user59's user avatar
  • 1
0 votes
0 answers
20 views

What plugin presents these extra columns in wp-admin -> plugins

One of my customer's websites shows very usefull extra information on the plugin page. But for the life of me I can't find any plugin in the list that does this (there are at least 35+ plugins used ...
GerardJP's user avatar
  • 103
0 votes
0 answers
40 views

How can I hide Dashboard notifications for just one particular plugin?

I have an orphaned plugin (removed from wordpress.org/plugins) that continues to spam me with review request notifications in the admin dashboard. I want to hide or disable just that one particular ...
clg's user avatar
  • 3
-1 votes
1 answer
77 views

Do not allow the creation of an administrator remotely

Two of our websites suddenly have admin accounts that were created remotely, according to the logs. I also found the code that created it. Is there a way to defend against this?
Vlado's user avatar
  • 111
0 votes
0 answers
65 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 ...
mmrn's user avatar
  • 101
0 votes
1 answer
27 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 ...
php-b-grader's user avatar
0 votes
1 answer
321 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 ...
blueionRich's user avatar
0 votes
2 answers
240 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 ...
John Smith's user avatar
1 vote
2 answers
172 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'...
David Borrink's user avatar
0 votes
0 answers
22 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 ...
meeyyer's user avatar
0 votes
0 answers
250 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/...
jdion84's user avatar
0 votes
1 answer
36 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 ...
jchwebdev's user avatar
  • 775
0 votes
0 answers
10 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.
jchwebdev's user avatar
  • 775
1 vote
2 answers
95 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 ...
Motivated's user avatar
  • 215
0 votes
1 answer
71 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 ...
pg.'s user avatar
  • 141
0 votes
1 answer
25 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 ...
pg.'s user avatar
  • 141
0 votes
1 answer
21 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(...
PhpDoe's user avatar
  • 199
0 votes
2 answers
533 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 ...
James's user avatar
  • 101
0 votes
2 answers
728 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 "...
jgdhnds's user avatar
0 votes
1 answer
250 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 ...
Devon Regular's user avatar
1 vote
2 answers
865 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-&...
sariDon's user avatar
  • 265
0 votes
0 answers
39 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!
Etienne Delcambre's user avatar
0 votes
1 answer
279 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 ...
Jun Dolor's user avatar
  • 101
0 votes
0 answers
59 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 ...
jchwebdev's user avatar
  • 775
0 votes
0 answers
31 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-...
Mark Mayo's user avatar
  • 105
0 votes
0 answers
38 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?
vvave vvave's user avatar
0 votes
0 answers
25 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 ...
coder's user avatar
  • 1
1 vote
1 answer
42 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: ...
markseinto's user avatar
0 votes
1 answer
63 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 ...
Leora Deans's user avatar
0 votes
0 answers
176 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 ...
Jay Mandell's user avatar
0 votes
1 answer
1k 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?
ZecKa's user avatar
  • 768
0 votes
0 answers
81 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 ...
PauloBoaventura's user avatar
1 vote
1 answer
200 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() { ...
Léa Rabatel's user avatar
0 votes
0 answers
926 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 ...
Patrick2997's user avatar
0 votes
1 answer
206 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..." /&...
Shahriar's user avatar
  • 175
0 votes
1 answer
240 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 ...
imagIne's user avatar
  • 83
4 votes
1 answer
805 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 ...
Baraka's user avatar
  • 141
0 votes
1 answer
43 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 == '...
Horacsio's user avatar
0 votes
0 answers
51 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 ...
Foysal's user avatar
  • 449
0 votes
2 answers
252 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 ...
IT goldman's user avatar
2 votes
3 answers
1k 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 ...
Michael Altfield's user avatar
0 votes
1 answer
74 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 ...
Foysal's user avatar
  • 449
0 votes
1 answer
531 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&...
John Dee's user avatar
  • 503
0 votes
1 answer
26 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 ?
Foysal's user avatar
  • 449
0 votes
1 answer
213 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( '...
Foysal's user avatar
  • 449

1
2 3 4 5
35