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

learn more… | top users | synonyms

0
votes
2answers
114 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
0answers
79 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
2answers
174 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/ ...
0
votes
0answers
28 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 ...
4
votes
4answers
672 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). ...
1
vote
1answer
343 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
2answers
98 views

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
1answer
96 views

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

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
342 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 ...
0
votes
0answers
86 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 ...
1
vote
1answer
45 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
vote
1answer
140 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
27 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
42 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
72 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
18 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
25 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
0answers
137 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 | ...
6
votes
1answer
262 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
0answers
136 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 ...
0
votes
0answers
45 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 ...
0
votes
0answers
76 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
130 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
0answers
76 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
80 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
71 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
42 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
1answer
113 views

Add sub menu page in your plugin

this is how i am adding the menu and trying to add the sub menu page which is not adding. party-reservation.php function a_qoute_admin_action() { add_menu_page(__('Reservations Pages'), ...
0
votes
1answer
246 views

Cannot Update wp DB - Get 500 Error

I have this site on godaddy Failpeep.com , It started giving me this problem yesterday , When I tried to login to admin area , It 1st kept loading if I entered the correct password and took me to a ...
0
votes
0answers
105 views

using slug instead of ID in admin edit post url

In Admin, is there any way to use a slug instead of a post ID# within the url that takes you to a post's edit screen. So instead of: http://mysite.com/wp-admin/post.php?post=5562&action=edit ...
0
votes
0answers
39 views

“widget” on edit.php which loads/saves data

i am trying to add a "widget" to the edit.php post-filter-table as seen in this plugin: https://wordpress.org/plugins/advanced-post-manager/screenshots/ i would love to do this with piklist or ...
0
votes
1answer
96 views

New wordpress install, what are the reasons the “Install Themes” tab is missing?

I just installed Wordpress 4.0.1 (never ran this version before, but I remember this not being a problem with older versions) and gave the requisite permissions to the various folders to allow ...
3
votes
1answer
233 views

How to remove admin.php?page= from admin using .htaccess?

I've been looking for this everywhere, and can't find it - so I apologize if it is a duplicate question. I can't believe it hasn't been asked before... So please direct me if it has :) I'm looking ...
0
votes
1answer
293 views

How to use ajax in wordpress plugin to get data from coustom DB?

i have created php script that work great as stand alone. now i need to create this script as wordpress plugin. so i have created custom table in wordpress DB. then i tried to make the ajax call. in ...
0
votes
0answers
392 views

wp-admin page redirecting to 404 error page

I updated my Wordpress site to 4.0.1 from 3.8.5 and now I can't access my wp-admin page. It redirects to a 404 error page. I've already tried deactivating my plugins by renaming my plugin folder via ...
4
votes
1answer
79 views

Admin Filter - Add Post Type Description on Post Type Page

WordPress allows adding descriptions to Custom Post Types whenever it's registered. ( register_post_type(). I would like to output that title on the Admin Landing Page ( View All Post Type ) ...
0
votes
1answer
55 views

Hide user group filtering links

I have standard 4.0.1 wordpress site through which I'm selling digital content with woocommerce. I have permission scheme set up so that i have thousands of user groups (group can access certain ...
0
votes
1answer
85 views

always by default show welcome panel in the dashboard

i am looking for solution to show always welcome panel in the dashboard by php code. i know that for every user this parameter is stored in DB. the question is, how can i check if the login user ...
0
votes
1answer
210 views

FORCE_SSL_ADMIN not working

Any ideas why define('FORCE_SSL_ADMIN', true); wouldn't work? I'm not getting any errors at all, but a http request to example.com/wp-admin isn't redirecting to https
0
votes
0answers
84 views

User Meta Search Script with Strange Number of Results Per Page and Incorrect Number of Items

I have not been able to find a plugin that allows me to search well on user meta fields from the WP backend users search. The closest I’ve found is "Improved user search in backend" however, this is ...
0
votes
1answer
84 views

Plugin Development - Get Admin Url (Including cases where wp-admin is not used)

I'm currently writing a WordPress plugin, and am looking to retrieve the WordPress admin url. It sounds simple enough - and it is - assuming every WordPress install is using the default wp-admin slug; ...
0
votes
0answers
82 views

_wpnonce blank screen

this is killing me! I don't understand what is making _wpnonce and _wp_http_referer appearing in the url. If I manually delete them from the url, it is working, so this is the problem. Even with all ...
0
votes
0answers
138 views

Why WordPress not logout after I have close my browser?

The default login cookie has expiry time as "session", so suppose when I close my browser, I need to login again when I visit wp-admin. But I've found that serveral time I've closed my browser (kill ...
0
votes
0answers
281 views

Failed to load resource at admin screen

So I've done Wordpress clean install in a live server. Everything looks fine and seems to work. However, if I go to the admin's edit page or post and try to add or change the featured image, the Media ...
1
vote
0answers
71 views

I can´t access my admin panel. I tried all possible solutions

HELP. This morning I was editing a little line in the style.css file (to change the way the navigation menu displayed). All of a sudden I was not able to access my admin panel, but the frontend was ...
0
votes
0answers
50 views

media_sideload_image uploads an image multiple times!

i want to upload an image programmatically into wordpress media library and then attach it to a post! i found media_sideload_image function in wordpress codex but when i use it in functions.php file, ...
1
vote
1answer
38 views

Adding text in more than one language (at the same time)

I am building a wordpress site. On the upper-right hand corner of every page on the site I am going to have two (or more) flags, and clicking on any given flag should cause the site to display the ...
0
votes
2answers
521 views

How can I remove the “Add New” button in my custom post type?

I have many custom post types that need the Add [custom post type] feature but I have a custom post type of "About" and I do not need to "Add New" about to the about custom post type. So I want to ...
0
votes
0answers
83 views

restrict_manage_posts for users?

restrict_manage_posts is great for allowing me to filter posts by taxonomy on the admin page. Is there any way of using a similar function for the users admin page - so I can filter by user meta data ...
0
votes
0answers
54 views

Wordpress login not working

Ok so i needed to add a new user to my wordpress site DreamersCorp.org. When registering in the wp-admin screen it worked. I then proceeded to login and it failed. I then reset the password. I once ...