Questions tagged [dashboard]

Can refer to the main page of the admin interface, or the admin interface as a whole

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

class WP_Widget - Different dashboard preview for custom widget

I try to create custom widget to display specified category latest-posts on home page. Unfortunately outcome of my php code print a lot of html elements so on dashboard widgets page the preview is ...
  • 145
0 votes
0 answers
14 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 ...
0 votes
0 answers
24 views

How can you change the admin dashboard URL without symlinking?

I'm interested in changing the WordPress admin dashboard URL without using a third-party plugin. NOTE: I know that 'security by obscurity' is not the best security measure; I plan on using other ...
  • 1
0 votes
1 answer
17 views

Can't save changes or modify settings in Dashboard but Pages and Posts are fine

I am working on a client site from a previous developer. It needed many updates so I updated WordPress to v.6.0.1, Astra theme 3.9.1 (uses a child theme) and the many plugins in use. After all this, ...
  • 1
0 votes
1 answer
16 views

.htaccess found in every folder

every week my site's every folder has .htaccess when try to open the site it gets a virus error. I remove .htaccess manually from every folder and then the site works. but after a few days, I got the ...
0 votes
1 answer
28 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..." /&...
  • 133
0 votes
1 answer
27 views

Block user roles from accessing the WordPress dashboard

I want to block multiple user roles from accessing the WordPress dashboard, I have a custom role, and I want to block it along with other roles, but I don't know how to edit the code. the code below ...
  • 5
0 votes
1 answer
16 views

Why does adding a dashboard widget in includes/admin.php fail?

Does includes/admin.php have special status I don't understand? This is my dash widget code: add_action('wp_dashboard_setup', 'custom_dashboard_widgets'); function custom_dashboard_widgets() { ...
  • 103
0 votes
0 answers
17 views

How do I modify the user role 'subscriber' to allow the user to delete posts

I've created a form to allow users to create new posts of a custom post type user-posts. This works well, any registered user of any role can create a new post of this custom post type. I created an ...
0 votes
0 answers
19 views

Is there something I need to know in order to use Wordpress on foreign (Swedish) TLDs?

So I have a wordpress multisite site for a client who moved to to Sweden from the US recently and has since contracted my for 4 more websites to go to urls with the Swedish TLD (.se). I'm able to ...
  • 101
0 votes
0 answers
10 views

Trying to create a page as a menu item in the admin while keeping the admen panel visible

I'll try my best to explain this in a way that makes sense. I'm customizing the WP admin dashboard and trying to add more elements to it by adding new menu items in the admin panel. Now when I create ...
0 votes
2 answers
22 views

Have mu-plugin remove meta box ONLY if it isn't already removed in functions.php

I have a mu-plugin that removes a branded "Welcome to X" dashboard meta box placed there by the hosting company I work for. It works fine mostly. However, some of our agency clients are ...
  • 1
0 votes
1 answer
21 views

Restrict editing of post type to list stored in user meta

What is the right action to invoke before a custom post type is getting edited in dashboard and contains the argument the post id? The url /wp-admin/post.php?post=282&action=edit&classic-...
  • 824
0 votes
0 answers
26 views

Is there way to toggle the publish date display?

I am interested in changing our WP dashboard so that I can choose whether an individual Post will include the publish date or not. Is there a way to do it without a plug-in and insert code that maybe ...
0 votes
0 answers
23 views

How can I view my site directly from WordPress dashboard?

Basically, I am using localhost through XAMPP, it has been 2 weeks since I started and and I had to reinstall XAMPP because I was having problems with ports. And now, I just started remaking my ...
0 votes
0 answers
31 views

Custom Icon for Plugin

is there a hook to add a icon to a plugin? I just found the information about how to add it, when you want to publish a icon. https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/
  • 13
0 votes
0 answers
13 views

"My Sites" incorrectly showing all network sites for all logged in users

I've searched this board for a similar question and answer, and I haven't seen anyone ask about this. Recently, after some updates, the functionality of the "My Site" item on the WordPress ...
  • 1
0 votes
0 answers
21 views

I want to add another search box on posts page in dashboard

There is already a search box in wordpress dashboard for posts, products, pages etc. in their listing page. My client use wordpress admin with their phone so he requested another search box on top of ...
0 votes
0 answers
25 views

Dashboard filter based on custom fields URL response code

I have a site with hundreds of posts, each with an image URL stored in a custom field called fulllimage. These URLs are either images on the Instagram CDN or thumbnails on the Youtube CDN. Every now ...
  • 1
0 votes
0 answers
79 views

allowing custom user role to access custom post type in wordpress admin

I am trying to add a custom post type access by only custom role (Newsletter manager), tried below code to get the solution, but when I log in using credentials of user (having role of newsletter ...
0 votes
1 answer
28 views

Allow users to give a dashboard widget a custom name using ACF

I want to use ACF (and CPT) to allow users to give a custom name to an admin dashboard widget from a settings page. In the below code, a widget would be created called "my title". If the ...
0 votes
0 answers
22 views

Quick Draft widget in weird place on dashboard after being re-added

My WP host disables the Quick Draft box by default, but I want to add it to my dashboard again. I got it to show up by adding the following to my functions.php. But as you can see from the screenshot ...
  • 1
1 vote
1 answer
29 views

remove wp floating submenu in wp dashboard

i successfully done making the menu name to be collapsed on click , but i have a problem with the floating submenu that appears on hover on menu name , i need to make this floating submenu to be open ...
0 votes
1 answer
22 views

Why does an ad page open when I browse my websites's wp-admin page?

While I try to edit my website via Wordpress and open any wordpress page after logging in, the page shows an ad page and I am not able to edit my website. The ad keeps appearing when I try to edit ...
  • 1
0 votes
1 answer
169 views

read excel file in the dasboard programmatically

To read a excel file inside wordpress, is there any function available, or we should build all using php?
0 votes
1 answer
74 views

How can I disable new plugin and theme install, but allow updates?

I've already tried the DISALLOW_FILE_MODS constant, but it disables plugin updates as well, which is not what I need. I need automatic theme and plugin update checking, and the ability to install the ...
0 votes
1 answer
59 views

Broken Customizer page

​Hello! The (Theme Customizer) is broken. The link from the menu disappeared and when I access it via the URL wp-admin/customize.php I got the attached error on my console. Screenshot: Things I tried ...
0 votes
0 answers
47 views

Slow CPT in backend

I have several CPT and I noticed that since I have now 100+ posts in some of them, the WP backend loads really slow but just in these CPT. Other sections like Plugins, COmments, Settings etc. works ...
  • 1
0 votes
0 answers
16 views

Translate dashboard metabox

I create a dashboard metaboxes for the last published and drafted pages below the code i use : #dahsboard metaboxes #Last edited pages add_action( 'wp_dashboard_setup', '...
  • 304
0 votes
0 answers
144 views

How to add CSV upload functionality on the edit page of a Custom Post Type

So, I am creating a school website based on WordPress. In that, I need to show birthdays of students on the front page. I've created a Custom Post Type named Birthdays which will contain the list of ...
1 vote
2 answers
378 views

Restrict WordPress Media Library for a specific user role (users can only see/select own media)

I have 4 roles in my platform : administrator, author, editor, external I need to restrict WordPress media library access to the user’s own uploads only for one users role (external) on my platform. ...
  • 304
0 votes
1 answer
40 views

Use localized plugin name and description even when the plugin is disabled

I'm working on plugin development and I'd like to localize my plugin name and description, so that these two pieces of information are shown to other WordPress developers in their native languages (if ...
0 votes
1 answer
98 views

How can I programattically hide all admin notices for everyone except admin users

When a user with Editor privileges logs in, they are bombarded with notices that they do not and should not care about. How can I disable all nags for everyone except users with Administrator ...
  • 237
0 votes
1 answer
32 views

Changing menu order of a specific plugin in dashboard

An extension of this question in a way. My Wordpress dashboard menu looks like below: Array ( [2] => Array ( [0] => Dashboard [1] => read [2] =&...
  • 115
0 votes
1 answer
13 views

Home Dashboard Screen Options always change

Like any other WordPress user I have installed a few Themes and Plugins. I recently noticed that the boxes on my Home Dashboard change every now and then and only 3 of them they are always there: ...
0 votes
1 answer
360 views

Page category filter in admin dashboard

I created page category by this way ( or custom taxonomy with the help of ACF Extended Plugin). It works. Now I can add pages into category. My problem is that, I can not filter pages by category in ...
1 vote
1 answer
20 views

How to edit dashboard search posts button texts for my CPT?

I am new to WordPress Development. Can I change texts of filter search box button ?
  • 13
1 vote
1 answer
86 views

Cannot access WordPress Multisite Main Dashboard

We have a number of sites that use WordPress Multsite and over the last couple of months we have noticed that we now cannot access the main WPMS Dashboard any longer where the plugins are added, users ...
  • 23
0 votes
0 answers
412 views

How to allow only vpn access to dashboard on Bitnami WordPress by IP address restricting

I'm trying to restrict access to the Bitnami WordPress(with apache) dashboard to VPN access only. The current environment is below. The WordPress site The site build by AWS Lightsail WordPress ...
  • 31
0 votes
1 answer
146 views

Sortable column (by numbers) in admin users

So I have this code in my function PHP: Add column /* * Add column to admin > users */ function yoursite_manage_users_columns( $columns ) { // $columns is a key/value array of ...
  • 203
0 votes
0 answers
28 views

I can’t access my wp admin dashboard

I take it this question must have popped here a few times so will try keep it sweet and simple: after having done a fresh wp install via ftp, the following url https://v2.mysitename.com/wp-login.php ...
  • 1
1 vote
2 answers
497 views

How to create a Tools menu on the Network Admin dashboard from a plugin

I'm coding a plugin. I want to put a Tools menu item on the Network Admin dashboard when the plugin is installed on a multisite WordPress instance. How do I do that?
  • 439
0 votes
1 answer
25 views

Is textarea always accesible throught textarea#content in wordpress dashboard for a specific page?

In the wordpress dashboard/admin area of a page. I add this event handler to jQjuery. When I click the button with the name btnSave the content-editor replaces it's content to the text wow (It's not ...
0 votes
1 answer
52 views

How to hide the tags “all, publish, thrash, draft, pending” for authors posts but not for the administrator?

I had find the code below and it is hide the tags “all, publish, thrash, draft, pending” for authors posts BUT is also keep hiding the tags for administrator too ! function remove_edit_post_views( $...
0 votes
0 answers
23 views

Spoof the admin panel on the client side? [duplicate]

I'm working on some admin dashboards with a plugin that uses shortcodes that are not available in the admin panel (can't use do_shortcode() - I tried). However these are dashboards that I really want ...
0 votes
1 answer
39 views

Disable ADD PDF media button on rich text editor

I'm looking for a way to completely disable "add pdf" media button on text editor but not with css tricks. Is it a hook to add on function.php for doing this? Also a need to keep add media ...
  • 304
0 votes
0 answers
78 views

How to show the posts listing on dashboard or custom page in admin panel?

I want to show posts listing(almost like the default post listing page) on the dashboard page. And if that is not possible then maybe on a new page in the admin area. This is the post meta that needs ...
0 votes
1 answer
18 views

A message to clients in the dashboard widget received from another site

I would like to display various notifications on the dashboard of client sites. This is not a list of posts, just a message. The message itself is located on my main site. That is, I change the ...
0 votes
1 answer
83 views

Set a dashboard widget to the top?

Instead of manually dragging and dropping a dashboard widget to the top, is there a way to code it into the widget itself so it's always at the top position? Thank you in advance
0 votes
1 answer
29 views

How to access a wordpress plugin page or add posts without doing it from the Wordpress dashboard?

I am a creating a website on WordPress that uses a plunging called H5P which allows the creation of interactive content. as in the picture below. However the creation of the content is currently only ...
  • 1

1
2 3 4 5
13