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

learn more… | top users | synonyms

0
votes
0answers
11 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
41 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
10 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
9 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
9 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
39 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 ...
2
votes
1answer
69 views

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
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
18 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
27 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
60 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
16 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
28 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 ...
0
votes
0answers
17 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
16 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
99 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
29 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
112 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
111 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
22 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
23 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
694 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
299 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
26 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
404 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
22 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
451 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( ...
0
votes
1answer
40 views

add_post_meta displays in admin edit area

I use a simple way to add_post_meta() to wp_insert_post(). Everything's working fine, except my meta box doesn't appear in admin area. Is there a simple way to do that? <?php $condition = ...
0
votes
0answers
16 views

Hook function on click of Button “Pages” in the WP Admin Panel / Not Activate Plugin

I need a hook which I can use for add_action('TheHookINeed', 'add_hooks_for_advanced_page_manager'); I need the function add_hooks_for_advanced_page_manager() executed before the page overview site ...
0
votes
1answer
16 views

Make “Post published. View post” Open in a New Tab

How would I make Post published. View post(edit and pages as well) always open in a new tab? I have this in an iframe but it looks weird when a post is in it.
0
votes
0answers
40 views

Can't access wp-admin/wp-login of my website

Whenever I'm trying to access mysite/wp-admin "Update database required" notificiation comes up. http://awesomescreenshot.com/04844f1y64 After clicking on update database the error of upgrade.php ...
0
votes
0answers
161 views

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration.

I'm getting the following warnings when I log in to my wp-admin. It appears on all pages in admin view. Pages in admin view taking a lot of time to load. Also I'm unable to connect to wordpress.com ...
0
votes
0answers
19 views

change text in users.php “create new user” button

i am trying to change text in h2 a (create new user in users.php) using some techniques like: but none of them seems working. any suggestions? <h2> משתמשים <a href="user-new.php" ...
0
votes
2answers
479 views

Unable to locate WordPress Root directory

I'm trying to upgrade WordPress version of a blog and it fails. I input FTP info (host, user, pass and type) then I get the message: Unable to locate WordPress Root directory. Installation ...
0
votes
2answers
293 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 ...
1
vote
4answers
927 views

How to prevent parent admin page from appearring as a child admin page

I am using this code: add_menu_page($page_title, $menu_title, $this->capability, $menu_slug, $function); Which is adding top level admin page. When I add: add_submenu_page( $menu_slug, 'sub ...