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

learn more… | top users | synonyms

0
votes
1answer
14 views

Block tools menu in wp-admin?

I'm using this code to remove tools from wp-admin menu. But how do I block the access to mydomain.com/wp-admin/tools.php since I still can visit it by typing in the URL? add_action( 'admin_menu', ...
0
votes
1answer
17 views

Is there a default way in wordpress to create a overlay in the dashboard?

Is there a default way in wordpress to create an overlay in the dashboard area? I need a jquery ui dialog to open after a button click. This is how it goes: The button click will fire a PHP function ...
0
votes
2answers
24 views

How to clone wp-admin and make a new dashboard controlled by your code?

Let's say I want to create a new admin panel for WordPress. Which should be separate from the one we have now. How do you think I should start? I want to build /wp-admin/ from scratch for ...
0
votes
4answers
5k views

White screen of death only in wp-admin

I'm able to log into the website but the moment after login, I get a white screen in wp-admin. I can still access the website and it shows that I am logged in with the toolbar at the top of each page ...
0
votes
1answer
16 views

php files not loading except for index.php [on hold]

I recently had to restore a public_html folder after an accidental deletion. Afterwards I can load the http://www.example.com/wp-admin/index.php but I cannot load any other php file such as ...
0
votes
0answers
27 views

wp-admin white screen of death [on hold]

I'm having an issue with wp-admin where the screen is completely blank. I have tried the following to no avail; re-installed core Wordpress files in the main directory including but not limited to; ...
2
votes
3answers
144 views
+50

How can I diagnose a slow Wordpress admin?

Over the past few months the admin pages on my wordpress multisite site (around 80 sites) have been taking around 20 seconds to load. I am running the latest version of wordpress (version 4.1). ...
0
votes
2answers
78 views
+50

Why are no posts showing despite my apparently correct DB restoration?

I restored a backup to MySQL using the phpMyAdmin Import feature. When I browse the DB in phpMyAdmin, I see that my posts are there. But in Wordpress, I only see the default out-of-the-box welcome ...
0
votes
2answers
295 views

Customize a WP_Posts_List_Table class

How can I customize output of tables of records in wp-admin/edit.php? What options are available for editing display_tablenav('top') and display_tablenav('bottom') before outputting in class ...
13
votes
7answers
7k views

Loading External Scripts in Admin but ONLY for a Specific Post Type?

So I continue to run into this issue and I just looking for the best and simplest solution to solve this problem. I have come to make use of custom post types in many different projects and have ...
0
votes
0answers
14 views

Trying to use and understand JSON API and get_posts

Me and my friend are breaking our heads to implement something. We are trying to get the results similar to function get_posts from JSON API ...
0
votes
0answers
19 views

Google map API theme option page not displaying

I'm having some issues with the integration of a google map in my web site which can geocode an address before displaying the map with the correct location. So i have a script (it worked when i was ...
1
vote
1answer
47 views

Use 'parse_query' filter to show posts that from multiple criteria

I am trying to filter the Posts page in the WordPress admin to show posts that meet the criteria for "A" -or- the criteria for "B". I've scoured documentation and can't find a good way to do this. ...
0
votes
1answer
14 views

How to add “back to top button” in wordpress backend product list page and order page? [on hold]

Hello i want to set "back to top button" in the product list page and order page in the backend of the admin area in product list page and order list page. Anyone help me how to add this button or ...
0
votes
2answers
13 views

Multisite wp-admin redirect loop

I have a subdirectory multisite setup, it all works fine apart from one small issue... The sites are setup in the following structure: http://domain.com/blogs/ http://domain.com/blogs/second/ ...
2
votes
4answers
2k views

Make sub menu items a main link in the admin menu using fuctions.php

I am trying to customize the admin area using the functions.php file to make things easier for my clients. One request I have got before and hope to be able to accomplish, is to move some of the sub ...
-3
votes
0answers
11 views

Woocommerce “All Orders” not showing “Pending” orders [on hold]

as my title says my problem is that, when I visit the admin, and click on "Woocommerce -> Orders", then click on "All" (to show all orders) -> It is listing orders but not including orders which are ...
0
votes
0answers
13 views

wordpress admin panel breaking , seems it does not getting CSS

I've just installed a wordpress . the front-end is okay but when I'm there to login to my admin, then i see everything is terrible, it seems it does not getting CSS file for admin. here is the link ...
0
votes
1answer
22 views

Locked out of admin panel after installing HC Custom WP-Admin URL [on hold]

I installed "HC Custom WP-Admin URL" plugin (https://wordpress.org/plugins/hc-custom-wp-admin-url/) on my WordPress installation, and then changed the admin slug value to a cryptic url ...
0
votes
1answer
29 views

Redirect loop (only for multisite network admin)

I can log into http://localhost/wp/wp-admin/ fine, but logging into http://localhost/wp/wp-admin/network/ produces a network redirect loop (ERR_TOO_MANY_REDIRECTS). The site also loads just fine even ...
1
vote
1answer
62 views

WP_Query pagination not working in admin area

I've created a custom plugin page. On this page, I list posts using wp_query(). It works fine. I want to add pagination, but it doesn't work, even when I'm using the code provided within codex: ...
0
votes
0answers
18 views

Customize WP Admin Login Page and Restrict Access

I am a newbie to WP and by late trying my hands on customizing admin login page. So far I have made a custom login and registration form which allow access only using e-mail address. I need to allow ...
4
votes
6answers
5k views

How to remove admin menu pages inserted by plugins?

I've got the following code, which cleans up a lot of stuff that is not going to be used within the admin area: add_action( 'admin_menu', 'my_remove_menu_pages' ); function my_remove_menu_pages() { ...
1
vote
1answer
29 views

How To Differentiate Drafted product and Publish Product through Color?

I want to set a different color border for product drafts and published products in my WordPress backend page. If there is a drafted product in my WordPress product listing page then it should have a ...
-1
votes
0answers
20 views

Problem with JSON API and Site Address (URL)

I think Site Address (URL) is the problem. I am trying to use JSON API plugin method "get_posts" and it is returning 404. My database is locally (access via "http://localhost/phpmyadmin") and my ...
42
votes
7answers
18k views

Organizing Code in your WordPress Theme's functions.php File?

The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up. More specifically, if I have a bunch of custom functions which only ...
8
votes
3answers
8k views

How do i best handle custom plugin page actions?

I'm constantly running into the same annoyance, so i thought i'd see if there's any ideas or experience out there... I've created a plugin that uses it's own admin page. It has to. Now that i sorted ...
0
votes
0answers
17 views

custom script not loading at admin pages

I want to load a custom script on the admin pages. Seems simple right. Still, for some reason the script is not loading. I've tried putting this in my themes functions: add_action( ...
0
votes
1answer
15 views

wp_get_update_data() function running on every admin request

In one specific instance of a WordPress build the admin is incredibly slow, after checking the issue out with the Query Monitor plugin I notice that WordPress is running a handfull (~15) HTTP requests ...
0
votes
1answer
55 views

How can I create a plugin installation link?

Currently, my code is generating the wrong nonce, I guess. Here is the code: $action = 'install-plugin'; $plugin = 'akismet'; wp_nonce_url( add_query_arg( array( 'action' ...
2
votes
2answers
2k views

Create any admin page with tab menu on that

I am very new to WordPress and here I want to create one admin page with tabs as shown in image How can I create such page with these tabs?
6
votes
1answer
101 views

Show all post tags on post edit screen/sidebox

I am looking for a way to show all post tags on post edit screen/tags sidebox in WordPress admin section. By default WordPress shows 45 most used tags but I need a way to list all tags there or at ...
0
votes
1answer
33 views

Wordpress Brute Force Prevention

I am using WordFence security plugin for keeping track of login attempts and I regularly check the logs from it. I realize that there are going to be a lot of login attempts with the username 'admin'. ...
1
vote
0answers
16 views

if it possible to get all notifications from all plugins and core?

if it possible to get all notifications from all plugins and core? when notifications appears wordpress insert this to: <div id="message" class="some class">notifications text</div> ...
0
votes
0answers
113 views

Strange characters appeared in header

Hi everyone! I have a problem with my website. There are strange characters in the header and I couldn't find any file with hardcoded characters like this. So I don't know how to fix this. The same ...
0
votes
0answers
14 views

How to use screen options with ajax pages?

How can I use screen options with backend ajax pages? Here is the code. I want to create pagination in AJAX pages. However $screen is null. $user = get_current_user_id(); $screen = ...
0
votes
1answer
112 views

User Profile Avatars

I'm using this plugin http://wordpress.org/plugins/user-photo/ How can I get the Profile Photo that I upload through this plugin to show in the All Users list beside the Users Name and in the admin ...
0
votes
0answers
26 views

How can I remove subdirectory folder from wp-admin urls?

I have the following root file structure: |-- composer.json |-- composer.lock |-- index.html |-- index.php |-- vendor | |-- autoload.php | |-- composer | `-- fancyguy |-- wp | |-- index.php | ...
0
votes
0answers
31 views

Set Featured Image from URL using Javascript (or jQuery)

Like the title says, I'm needing to set the featured image of a custom post using javascript (or jQuery) using an image hosted externally. Basically, I have a script that searches a separate database ...
19
votes
6answers
9k views

How do I enqueue styles/scripts on certain /wp-admin pages?

I have two simple functions that load stuff using wp_enqueue_style() and wp_enqueue_script(), something like these: function admin_custom_css() { wp_enqueue_style( 'stylesheet_name', ...
2
votes
2answers
702 views

wp_list_table search box does not show

I'm using wordpress 3.8 and a custom class derived from WP_List_Table. Why is there no search form? My code in plugin class: function __construct() { ...
1
vote
1answer
304 views

Change label of title field for posts in the backend

I am trying to add some HTML to the title label in the backend of WordPress. Attempt 1: I am using the following (simplified) function: function change_post_titles() { global $post, $title, ...
0
votes
0answers
28 views

How do I proprely navigate through my custom post types?

I want to redesign my website using WordPress and Bootstrap. I did most of the work, however, I have trouble navigating through my pages. Before I tell you anything, just want you to know that my ...
1
vote
1answer
3k views

wp-admin url doesn't allow to login and redirects to same page

I am using wordpress 3.6, the latest version. In this version when i access login page for admin url like www.example.com/wp-admin and i enter user name and password, wordpress redirects me to the ...
0
votes
1answer
406 views

Sort All Posts by Category Name in the Admin Panel?

I'm working on a pretty complicated site where everything is managed by category type including automatic spinner image submission, etc.. Unfortunately, its doggone difficult to manage things when the ...
3
votes
1answer
1k views

How do you create a custom edit.php / edit pages page

I need to create 3 custom edit.php pages which only display pages with a certain parent and the Post New button links to a new page with the corresponding parent. The closest answer I can is do not ...
0
votes
2answers
1k views

adding the category to the admin column for a custom post type?

I have built a custom post type called article and the information given on the admin summary screen is sparse. I was able to add the featured image post thumbnail image using the ...
0
votes
0answers
34 views

get_comments() returns empty array if called through AJAX

I'm facing a quite strange issue with a simple get_comments() implementation in admin panel. Code is this (post ID is truly 1234) get_comments('post_id=1234&status=approve'); It returns proper ...
1
vote
0answers
29 views

Ajax form submission from admin panel

I have created a page in admin panel and there I have created a form for CSV export/import . Action of my form is "/wp-admin/admin-post.php" . I want to submit that form via ajax . I want to remain on ...
0
votes
2answers
452 views

wp_dequeue_script not working in my plugin

There is a theme my client is using. It enqueues many scripts in the admin area of wordpress. I'd like to dequeue these so that my plugin works properly. Commenting out this code wp_enqueue_script( ...