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

learn more… | top users | synonyms

3
votes
2answers
1k views

Change the edit page for a custom post type?

I've been looking for this all day and can't find it. I'm working on a custom contacts page and I am using the custom post type feature so that I can have more control over it. I'm looking to change ...
0
votes
0answers
88 views

403 Forbidden for wp-admin for me but not my customer

When attempting to log into my customer's site domain.com/wp-admin, I get a 403 forbidden error which redirects me back to //127.0.0.1/?redirect_to=http%3A%2F%2Fdomain.com%2Fwp-admin%2F&reauth=1. ...
5
votes
1answer
305 views

Custom ReCaptcha Login

I'm trying to add ReCaptcha to my login page. I know there are many many plugins by per request I cannot use plugins. So far so good, I'm able to add the Captcha to my login but unable to show errors. ...
1
vote
2answers
478 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?
0
votes
0answers
263 views

Images on admin backend not showing up

It was going alright with images a week ago! But recently when I noticed I found that image thumbnails in media library and in post editor were either not showing up or were just showing there ...
0
votes
1answer
93 views

Show a custom field instead of username in the backend author area

I'm building a new WP site with about 1200 authors(which are actually companies, pulled from my client's existing site), each attached to at least one custom post type. My problem is the admin(our ...
-2
votes
2answers
247 views

Can admin-ajax.php be used for spam purposes? And if yes, how to prevent that?

Today I've got a letter from my hosting provider that admin-ajax.php script had been sending spam until it was blocked. About two thousand spam messages were sent to different emails. I know if you ...
0
votes
0answers
75 views

Add CSS Classes Field to Media Uploader

I need a functions.php hook that will allow me to add the standard CSS Classes field to the "ATTACHMENT DISPLAY SETTINGS" section of the Media Uploader modal. I know the css class field can be ...
0
votes
2answers
144 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 ...
6
votes
2answers
252 views

How do I improve this admin query snippet to avoid generating duplicate results on non-meta searches?

I've been playing around with code snippets which add meta data to admin searches. The best snippet I've found was written by Stefano on this question. However, it appears to have 1, annoying bug ...
0
votes
1answer
284 views

Post data in wp-admin to external database

I am trying to make a private form to submit data into an external database so that I can later pull from the database and display the records on a page. So far I have been trying to create a plugin ...
1
vote
1answer
170 views

Simultaneous admin updates causes custom fields to not update

Okay, I have another doozie of a problem and although I'm still in the middle of trying to figure out exactly what's going on and what kind of help I might need, I thought I'd throw something up here ...
0
votes
1answer
1k views

adding custom stylesheet to wp-admin

im having troubles getting my custom stylesheet work on WP-ADMIN area. plugins_url('style.css', __FILE__) ); do i have to create folder in my plugins named css or do i just copy my .css to the ...
-1
votes
2answers
59 views

Admin login not working

I can't log in as admin on my wordpress site. I've tried to change the password, and a bunch of other stuff, but no result. What happens is that I come back to the log in page, no message. The strange ...
0
votes
1answer
201 views

How i add new link after Edit | Quick Edit | Trash | View in quick edit section

I want to add new link in custom post type . I have create a custom post type and i want to add new link after Edit | Quick Edit | Trash | View links like Edit | Quick Edit | Trash | View | PDF . How ...
-1
votes
1answer
75 views

Create custom page and custom menu

I'm trying to do one custom menu at my wordpress admin panel. My plans are: make and menu, to add some contents at a custom page, like "people" and their names, etc... I wanna make it with php. I ...
1
vote
1answer
134 views

Backend search; include CPT meta?

I've currently got a CPT with 2 part titles; I've got everything working perfectly on the frontend. But when it comes to searching for a post, the post you're searching for doesn't always show up ...
0
votes
1answer
53 views

Install old version of plugin from admin panel?

Is there a way to install an old version of a plugin that is hosted on the WordPress.org plugin repository from the admin panel? I know that you can easily go to the WordPress.org plugin repository, ...
0
votes
0answers
127 views

wp_capabilities for administrator (sharing user tables)

I'm attempting to share only the user tables across two separate wordpress websites. I'm not a hardcore coder or anything but I know just enough to understand and tweak things. I found this question ...
2
votes
2answers
324 views

Custom login redirects to wp-admin on wrong password

My custom login form redirects to the wp-admin login when an user doesn't manage to guesses his/her credentials right. How can I manage to redirect the user to the current form instead? And of course ...
0
votes
2answers
63 views

Rename menu items for All except super admin

I can rename wp-admin menu items But How Can I active it for all users except Super Admin ? add_filter('gettext', 'rename_admin_menu_items'); add_filter('ngettext', 'rename_admin_menu_items'); ...
-1
votes
1answer
144 views

My website's wp-admin redirects to another website's wp-admin after pointing the site url to a subdirectiory

* DETAILS THAT LEAD UP TO MY PROBLEM * I'm familiar with WP's Giving WordPress its own Directory in codex. I am experimenting on my personal website, erons-expressions.com with redirecting to ...
0
votes
0answers
359 views

Wordpress subdomain wp-admin redirects to main domain

we have a wordpress installation running on address www.example.com. We wanted to have a development site for it as a subdomain, so we created a subdomain dev.example.com on cpanel. Created a ...
0
votes
1answer
43 views

Why do Metabox use Nonces?

Why is it advised for admin panel metaboxes to use nonces? Every example I see of creation and saving metabox data there are nonces involved but aren't nonces a bit unnecessary in this case?
-1
votes
2answers
136 views

Hook with jquery script is not working in wp-admin [closed]

This is the hook and script Im using, the jquery script itself is working as you can see in this fiddle: function my_custom_admin_footer(){ echo ' <script ...
0
votes
1answer
258 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 ...
-1
votes
0answers
125 views

I want to restrict admin panel from front user in wordpress [closed]

I am very new in wordpress. I am working on a project in which I want to restrict access to wp-admin url for admin login. I want when user as well as admin try to access the wp-admin they should ...
0
votes
1answer
1k views

how to create my own edit.php admin page code or template for my custom post type

Most plugins try to hide the components of the edit.php screen on wp admin and replace it with meta boxes to create the needed layout and fields for the custom post type. But this means that there is ...
1
vote
1answer
386 views

Custom Dashboard Home Screen Options

I want to make the entire Homepage on the Dashboard empty and add in my own custom screen options. How do I go about doing this? Do I create one from scratch or edit what's already there? Is there ...
0
votes
1answer
396 views

admin page passing $_POST variables to itself

I'm new to wordpress but I really like this and I would love to write my applications inside of wordpress. However there are still many things to learn and after a while one can lose it's head, as I ...
12
votes
2answers
571 views

I found this in a plugin. What does it do? is it dangerous?

I found this in a plugin. What does it do? is it dangerous? add_action('admin_enqueue_scripts', 'pw_load_scripts'); if (!function_exists('wp__head'){ function wp__head() { ...
2
votes
2answers
176 views

Bulk Delete Users Error uri too large

I am trying to delete thousands of users at once. After seeing that I can only display up to 999 user records at once using the "Screen Options" menu I thought that might be ok. But upon clicking ...
0
votes
0answers
154 views

WP admin broken. Not saving catgories or adding categories to menu

Wordpress Admin panel is not saving categories when creating new post or editing it. Also same problem with adding categories or pages to menu. It just doesn't save changes when I press update.
0
votes
1answer
283 views

Change the “Default Avatar” admin option via functions.php

So I'm trying to add a new default avatar for my theme using the following code: add_filter( 'avatar_defaults', 'mytheme_default_avatar' ); function mytheme_default_avatar ( $avatar_defaults ) { ...
0
votes
2answers
177 views

Wordpress as heavily personalized content management portal, and somewhat like dropbox [closed]

My background is not that of a Web-developer (either UI or backend), though I've dabbled a bit in PHP. So please help me improve this question if required. I am trying to evaluate if Wordpress (with ...
0
votes
0answers
31 views

cookies creating bugs and interfering with js and correct images and css display when login in the back office

i have experienced weird behaviours with custom js functions output as well as contact form correct display. I have localised a problem being , everytime i connect to admin , i need then to clear ...
3
votes
1answer
657 views

Uploading Images to Multi-Site Causes Failure to HTTP Error

Just to fill you in on my situation. Running WordPress multi-site version: 3.5.2 clean install. Zero 3rd party plugins. All of my plugins have been disabled for debugging. Using WordPress MU ...
1
vote
2answers
219 views

wp-admin produces a 302 redirect to itself

I'm running Wordpress (v3.5.2) in network mode. Any of the sites which try to access /wp-admin produce a browser error saying there is a redirect loop. A redirect checker tool says the page returns ...
0
votes
1answer
35 views

How do I make it so that the all users page is not a white screen?

I tried to up the amount of users displayed on the screen, and then after clicking 'Apply', the Users page stays white for me, and only the user page. How do I fix this?
0
votes
0answers
21 views

Single admin domain for multisite

We have a WordPress with multisite feature enabled. The sites have totally different domains using the domain mapping plugin. It is like: site1.com site2.com site3.com. Now we want to enable SSL for ...
0
votes
1answer
53 views

Capability to read/edit page in wp-admin only for administrators

I want to create a page which is only for editable and readable (within wp-admin) for administrators. To restrict other users to edit any page (and not only the own ones) is not the solution as I want ...
0
votes
0answers
120 views

Hook in to add new post link wp admin?

How can i customize the Add new post link or how can i add my custom parameter in add new post link like http://www.test.localhost/wp-admin/post-new.php looks like ...
1
vote
1answer
101 views

WP Multisite with Domain Mapping : Preventing User Access to Dashboard

I have a theme being used by a sub-folder multisite and a domain-mapped multi site. E.g. mywpsite.com/site1 mywpsite.com/site2 www.site2.com (leads to the above) I have this snippet of code in my ...
1
vote
1answer
76 views

Can't load a class into WordPress post editor's content field

Following to THIS WordPress QUESTION we tried some tweaks and got some nice solutions, hope we can public them after some good active codes-snippets. According to our procedures, we correctly ...
1
vote
1answer
152 views

ASCII to Unicode conversion and then save the data into database using WP post editor field

Here is the WordPress default post editor as we know: You may notice, here are some garbage texts in the Title and Description field. They are ASCII texts. PLOT In Bangla, a widespread software ...
0
votes
1answer
28 views

Which filters or actions involve with index page for plugin?

I decide to manipulate index page or all pages except admin page with plugin but I don't know which filters or actions control index page. for example if I want write plugin that shows a link to admin ...
1
vote
0answers
83 views

Combine and Minify wp-admin files, also re-write URI's for CDN

I'm currently using WP-MINIFY to combine and minify my front-end files as I have a large number of plugins, it has helped greatly and I'm looking for a similar solution to help with backend ...
0
votes
1answer
74 views

Cannot change Connection Information in admin interface

There are 11 plugin updates available for a WordPress site, so I tried updating it. However, when I do that I get an error: Public and Private keys incorrect for <username> I have made keys ...
-1
votes
1answer
42 views

How do I unset all of the select boxes for pages

I am using WooCommerce and need to recreate the default pages. The answer given is Go to WooCommerce > Pages and unset all of the select boxes for the pages (including the shop base option). ...
0
votes
1answer
113 views

How to get new post URL?

I'm wondering... how can I get the new post URL in my theme? Is there a built-in function for this? So, it should return something like http://example.com/wp-admin/post-new.php?post_type=post. ...