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

Tools for site administration located in the `wp-admin` directory of a WordPress site.

0
votes
1answer
13 views

Can't access wp-admin Internal Server Error 500

I suddenly can't access company.co.za/wp-admin, as it redirects to http://company.co.za/wp-login.php?redirect_to=http%3A%2F%company.co.za%2Fwp-admin%2F&reauth=1 with error 500 What should I do ...
0
votes
1answer
47 views
+50

Hide Theme options and Customize Admin menu

Under the appearance admin menu, I have customizer added by the theme, and theme options added by a plugin. I'm using this code to hide both menus ( submenu's of Appearance )for ALL admins apart from ...
0
votes
0answers
13 views

Wordpress Dashboard Error [on hold]

My site working well. Suddenly when I clicked on admin side dashboard link i got there two errors. Please help me how to remove it. Warning: require(/home/qnfx7li6j0v5/public_html/rajasthanevent....
0
votes
0answers
17 views

Why all selected articles/posts did not display on news page after publishing on Word Press websites?

I have been working over Word Press website since last 5 months.The website is about stock news; publishing 250-450 articles/posts on the daily bases. Whenever I select 10-15 articles/posts for ...
0
votes
1answer
12 views

Store admin page into variable

I'm trying to store and admin page into a variable and sending back to an AJAX request. My code is the following, considering I'm in a class: add_action('wp_ajax_get_dashboard', array('$this', '...
0
votes
0answers
20 views

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

I'm getting this 500 error in the browser: HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request. (XHR)POST - https://www.example....
0
votes
0answers
13 views

Figuring out how to create “Option Pages” in WordPress admin

I'm having a static front page, in which I plan to have the little bits like text, buttons, and other plain stuff editable through wp-admin. I plan to make it simple, just like in "Settings > ...
3
votes
1answer
21 views

Restrict access to admin but allow admin_post hook

I'm using this hook to allow only admin roles access dashboard add_action( 'admin_init', function() { if ( defined('DOING_AJAX') && DOING_AJAX ) { return; } if ( !...
0
votes
0answers
16 views

How do I list subpages in post editor view?

I have many pages, each with many subpages nested up to 5 levels deep. In order to find a specific page in the administration panel, I can search for it on the list of all pages. The search results ...
0
votes
2answers
41 views

XDG-OPEN is not recognized by WP CLI admin command

So i installed the wp admin package, but i can't seem to get her working, an error pops up telling me xdg-open doenst exist.. For install i used: wp package install git@github.com:wp-cli/admin-...
0
votes
1answer
22 views

Change Label of custom post type

I have created a custom post type by the name of Teams. Listing page looks like this How can I change this highlighted title label? Is there any hook for this that you know of?
0
votes
1answer
58 views

Ajax call not working anymore

I had a few functions I was calling with ajax...basically, everything was working as expected and now it's not. I'm not sure what could be causing this problem. I have a button on my page like so: &...
0
votes
0answers
7 views

Including Post Format in filters for “All Posts” [duplicate]

How can I add a filter for post format on top of the "All Posts" page in the backend?
0
votes
0answers
12 views

Redirecting to “All Posts” after post publish or update

How can I redirect to "All Posts" after publishing or updating a post (or CPT), instead of staying on the edit screen?
0
votes
1answer
14 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....
0
votes
0answers
21 views

Is the Wordpress Nonce authentication enough for admin REST calls in a plugin

I have a plugin which also has some admin pages. These pages require some ajax calls that should be authenticated. So if the admin is logged in, these ajax calls are valid, and otherwise they should ...
0
votes
1answer
29 views

Ajax in Plugins: returns the whole page

I'm developing a small plugin for a client and my ajax calls returns the whole page as json response. I cannot find the bug. In the plugin main.php: function __construct(){ //.. $this->...
0
votes
0answers
6 views

website wp-admin is unaccessible page is not coming

my website is eliquids.in 1. when i try to open webste usint www.eliquid.in i can open the website but when i type jut eliquids.in cant access it (500 error) 2. when i try to go to my login page ...
0
votes
0answers
11 views

How to connect javascript to certain elements when creating an admin theme

This may be a stupid question, but it will be easier for you to answer it. I'm not an expert, but I really want to be. In General, I create my own wordpress admin theme. I've figured out how to ...
0
votes
0answers
20 views

Admin backend, show post from a category and exclude the posts from subcategories

In the www.myexample.com/wp-admin/edit.php?category_name=mycat I want to see only the posts which are in mycat and not in its subcategories. Any hint on how to achieve it? Here is what I've tried at ...
1
vote
0answers
12 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
23 views

Sort Custom Column in Admin Users Panel

I have added a new column in admin Users Panel that shows the last date when an user has submitted a post. Everything is working well but now I just need to make it get sortable and I am a bit stuck ...
-1
votes
1answer
42 views

I want to know if it's good for SEO [closed]

I locked the file (wp-admin) from the server Google Crawler Error in Address http://example.com/wp-admin/admin-ajax.php Do you have to lock out? Due to the cybercrime on the site, I want to keep ...
0
votes
1answer
25 views

Remove View details option from plugin listing

How can I remove "View Details" link from plugins listing in Admin panel without change in WordPress core files.
0
votes
1answer
15 views

Why does wordpress and my site create a downloadable file instead of allowing me to login?

I have a wordpress site hosted by Blue Host (www.doseofdiscovery.com). I was deactivating and deleting a few plugins today and now I am not longer able to access wordpress or my site. When I navigate ...
0
votes
0answers
8 views

Restrict both media library and media attachment page per user login

I am attempting to implement a solution that allows (1) users to have truly private files and (2) lets admin see all files. Many of the solutions that exist only restrict media on the backend, but if ...
0
votes
0answers
14 views

add Boolean / setting / meta data to PAGE via add / edit section of admin for use in theme

I would like to add an attribute / Boolean variable / meta data to a page when editing / adding via admin (right hand sidebar), that is then accessible by my theme for sidebar creation and navigation ...
0
votes
0answers
14 views

Wordpress after Installation did not show administrator panel

I try to publish webpage inside academic network and the problem is that after installation I get webpage, but without access to administrator panel. Server is provided by IT guys on virtualhost on ...
1
vote
0answers
21 views

How to change user admin_color with WP CLI?

I like to know how I can change a users admin color theme with WP CLI.
0
votes
1answer
17 views

Full list of registered scripts or styles, but from an admin options page

I'm developing a plugin that will allow some CSS optimization. But first of all, i need to get the list of all stylesheets (later i'll do something for scripts too). Doing this: function ...
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 ...
0
votes
0answers
21 views

Change Background Colors of Post Rows in WordPress Admin Based on Last Modified Date

I would like to ask the following - how to color, for example, in red all the rows in Wordpress admin panel for the posts that have not been modified for more than 3 months (or 1 year for example)?
0
votes
2answers
52 views

Show data from one Custom Post Type in another Custom Post Type

I'm working on a project where we'll be creating two different custom post types: Machines and Enquiries. The Machines posts will be created by admin, and will simply be a list of items that are for ...
0
votes
1answer
92 views

How to Fix WordPress Not Saving Settings?

How Can I Manually Fix & What is The Root Cause? The Site Language setting in Settings > General for my site, will not update. It is stuck on English (United States). I have done all the ...
0
votes
1answer
16 views

site identity will not update [closed]

my host is bluehost. i use wordpress to work on site currently. i am using trends theme. my site is www.sylverwolfenterprise.com i spelled a word wrong and forgot to upload an image for my site ...
0
votes
2answers
40 views

How to disable delete option for a specific page? [closed]

i found many questions like this but nothing matching to my requirement.Here i need to lock a specific page named settings,not to be deleted by other admins.But it should able to edit. Is there any ...
5
votes
3answers
108 views

What's the difference between admin_url() and get_admin_url() functions?

Except for the $blog_id parameter (which is only allowed in the get_admin_url function), what is the difference between admin_url and get_admin_url?
0
votes
1answer
32 views

Strange Popup Ad on my Wordpress Admin Dashboard

I have not updated any plugin or installed anything new. Since today, there is a strange Popup ad appearing on my Wordpress admin dashboard. The permalinks of all the pages (except homepage) became ...
0
votes
0answers
17 views

Featured image: How to only show the width and height of an image when there's a featured image?

I've found a way to display the width and height of a featured image in the admin panel. The problem I have now is that if there isn't an image, it shows the 'x' above 'set featured image'. How do I ...
0
votes
1answer
27 views

How to redirect from wp-admin/edit.php to a frontend page for specific custom post type?

I'm building a very tiny web app based on Wordpress. For this, I have created a custom post type for the items users will be able to manage in the app. I have created a very pretty, optimized ...
3
votes
1answer
69 views

How can I make my Admin Icon SVG color correctly? [closed]

I am trying to use my own Custom SVG Icon for Wordpress admin menu icon. Below is the contents of the SVG File: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-...
0
votes
2answers
49 views

Change the layout of action links under the plugin names

Some plugins place various links under their name on the plugins page. To display these each action links for a specific plugin in a seperate line I followed this and this answers, but my code doesn't ...
1
vote
2answers
136 views

Theme menu in Admin Panel

I am new in WordPress Development. How can I get Menus in Admin Panel like below ? I am trying to develop a theme. But I couldn't display that.
1
vote
1answer
28 views

How to make my custom widget appear within WordPress widgets? Plugin development

This is my first WordPress plugin ever, so i'm a little noob. But why is my widget not showing within all the other widgets in my WP-Admin interface? It should be visible when i activate the plugin. ...
0
votes
1answer
169 views

wp-login.php entering password nothing happens

I have a website prettypeople.nl and whenever I try to login as an admin whether at /wp-admin or /wp-login and input the correct credentials, nothing happens! The page refreshes and if I check the ...
1
vote
0answers
19 views

Logging into sandbox subdomain WP

I have recently set up a subdomain to do wordpress testing on. I installed a new wordpress instance at sandbox.example.com. I have a main one set up at example.com. When I try to log into my new ...
1
vote
1answer
18 views

using wp_sprintf at wordpress option page,

I'm using a custom option page to control default setting of my plugin, in one part I need to let the admin add a text which will be send through sms, I need using some predefined text (such as ...
0
votes
0answers
39 views

Limit post top level categories to one

My website have many posts, ~9 main categories and "unlimited" subcategories. I'd like to force in WordPress panel that you can't choose more than 1 top level category but you can choose unlimited ...
1
vote
1answer
32 views

disable a wp javascript on live website, but not on wp-admin page

I have a wp javascript, wp-embed.min.js, disabled on my WordPress theme by adding this sample code to my theme's function.php file: add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 ); ...
1
vote
0answers
25 views

How to auto refresh when user change postcode

I setup the shipping zones so if the customer is in the local area and enter the correct postcode, "Free local delivery" become active and replace other zones. The problem is the customers is not ...