Stack Exchange Network

Stack Exchange network consists of 174 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
5 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
13 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
0answers
14 views

Suddenly denied access on admin panel

My WP website worked well for years, but today I can't access to administration panel, I tried some things : Disable plugins Disable theme Remove wp-login.php CHMOD 777 on FTP folders Grant access ...
0
votes
1answer
24 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
12 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
6 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
22 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
15 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
15 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
38 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
43 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?...
-1
votes
0answers
8 views

Issue on role management and “No role for this site”

I have an issue with users roles management. I have 4 users role on my wordpress installation (3 for the back office and 1 for the front office) Back office roles are : Administrator Head of ...
0
votes
0answers
22 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
20 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
45 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
12 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
58 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
28 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
9 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
59 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[] =...
0
votes
0answers
18 views

Plugin custom form displays without admin interface

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 ...
1
vote
1answer
22 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
28 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 ...
0
votes
1answer
37 views

How to find a spam link?

While analyzing my site I found many requests is done to external link to "friendsit.net" so I installed string locator plugin and tried to search all source files but I found nothing , I also tried ...
0
votes
1answer
12 views

Admin Bar Acting Up

my admin bar was randomly gone. I ddn't notice at first but I installed BuddyPress and was thinking maybe it was due to this and their specific admin bar stats for guests etc. I de-activated ...
0
votes
1answer
27 views

Add view to admin menu to filter for specific criteria ( If post is child of specific Parent )

add_filter('views_edit-page','addFilter'); function addFilter($views) { global $wp_query; $query = array( 'post_type' => 'page', 'post_status' => ...
0
votes
0answers
21 views

add url alias for wp-admin

I would to create an alias for /wp-admin in Wordpress. For example if I type mysite.com/admin then it should redirect to mysite.com/wp-admin but I don't know how to do it in using Wordpress ...
0
votes
1answer
22 views

Admin Login page not working at all

I'm running Wordpress on a small Ubuntu 16.04 Server, with Nginx and Php 7.0. Yesterday I noticed that I didn't have the site configured correctly, so that http://example.com worked, but http://www....
1
vote
1answer
24 views

How to search CPT's by meta query from the admin dashboard?

I feel like I'm missing something really obvious, but I've looked and can't figure this out. I have a CPT (request_form) and I need to perform searches on meta queries (wp_postmeta) rather than the ...
1
vote
0answers
61 views

WooCommerce: Add New Report Tab

I have a project for a school. The seats in the class are sold as variable WooCommerce products and student info is captured at checkout. I want to put a new tab in the Reports section of ...
2
votes
1answer
28 views

When is is_admin() available?

I see a lot of plugins that consist of a class that is instantiated in the same file, eg: class My_Plugin { function __construct() { add_action('init', array( __CLASS__, 'baz' ) ); } ...
0
votes
0answers
11 views

Hide excerpt note [duplicate]

Under the WordPress excerpt meta box is a note: Excerpts are optional hand-crafted summaries of your content that can be used in your theme. Learn more about manual excerpts. Is it possible to ...
1
vote
0answers
15 views

Move 'current-menu-item' class on #adminmenu li from Posts to Pages for Taxonomy Edit Screen

I've created a custom taxonomy called 'venuecategory' that is hidden by design(not attached to a CPT and does not appear in admin menu). When I'm on this taxonomy's admin page ('wp-admin/edit-tags....
0
votes
0answers
12 views

Create secondary admin role and restrict access to specific plugin settings

I've searched here and didn't find any threads that covered my specific needs, so here goes. I want to create a secondary admin role for another website builder (my competition, to be exact) -- it's ...
0
votes
1answer
22 views

How to create “custom page types” with different custom fields in them?

I have lots of pages that perform very different purposes in my website (landing pages, thank you pages, regular website pages, webinar pages, etc). As such, I would like to group my pages into ...
2
votes
1answer
30 views

Admin List Dynamic Heading

I want to modify dynamically the Heading1 that appears on top of the Admin List of posts. E.g. the Page heading of the Pages list. I have exhausted all possible searches I could think of and nothing ...
0
votes
1answer
30 views

Problem with Settings API: changes are not saved after submit

I'm writing a plugin "Paid Post" with some options. I made a settings page for my plugin, and it displays OK, but when I'm pressing "save changes" button, the option I have do not change, it just ...
0
votes
1answer
12 views

Show admin bar to editors with Buddypres

Hi I am trying to show admin bar to editors, but is not working. I am using Buddypress pluging. I dont know if this is the reason but I cant show admin bar for editors and admin. Anybody can help me? ...
1
vote
1answer
13 views

Convert (-) and (escape) signs to (_) when uploading files on wordpress media library automatically

For internal purpose, I'm looking for to convert (-) and (escape) sign to (_) automatically when we upload a file (photo,video,audio) on WordPress media library. Example: If i try to upload this 2 ...
0
votes
2answers
17 views

Trying to hide a submenu link which is created by Co-authors Plus plugin

I cannot hide this menu here (see picture) and I don't what else to do, please help. Apparently, I cannot find the correct hook to do achieve that. example: add_action( 'wp_loaded', '...
0
votes
2answers
39 views

How can I change the title of an Add New page in Admin for custom post type

I have a custom post type called 'Bookmark'. When users add a new Bookmark in the Admin, the title of the page is Add a new Page Is there a hook (filter) to change this title to Add a new ...
0
votes
1answer
20 views

WordPress permissions error with admin account

I have been assigned to manage a website that uses WordPress and hence have an admin account. It is hosted on a Linux machine. WordPress is not installed in the /srv/http directory. Instead, it is ...
0
votes
1answer
40 views

Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)

I have my normal HTML/CSS on my root folder and Wordpress installed in a subfolder (domain.com/subfolder). When I log into my wp-admin subfolder as admin, it directs me to a dashboard page which ...
0
votes
2answers
59 views

Different color admin bars for dev, staging and production

I'd like to get it so that all of my sites have a different color admin bar. Dev Staging and Production. I use Git to push my code. Any help would be appreciated.
0
votes
0answers
23 views

How to obtain WordPress domain administration/FTP credentials

I've been using WordPress web UI to administer. Now I want to change footer.php but that requires write access, which can only be enabled via FTP. I was directed to https://codex.wordpress.org/...
1
vote
0answers
7 views

Admin - Handle data before creating or updating a post, page or custom post

I need to make some checks of the aggregated data in a page form, a post and a custom post, before these are created or updated, "if it is possible to do it with specific taxonomy", and if the user's ...
1
vote
1answer
16 views

How do I add a contact form?

I want to add my contact form on my wordpress but I don't know how to add new module? Can you please give me instruction?