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

learn more… | top users | synonyms

0
votes
1answer
19 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
1answer
143 views

Why adding Categories does not auto refresh in Backend while using my custom theme?

If I am using my own created custom theme, the Post Categories Page in admin panel is not getting updated automatically when I add a new Category. To see the new category I have to reload the page ...
0
votes
1answer
27 views

Woocommerce cannot see products in wp-admin [on hold]

I have a problem with the wp-admin interface in woo-commerce. I have around 14k products and they show up when I browse the website as a user, but I cannot see or modify them in wp-admin -> ...
0
votes
0answers
11 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
13 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 ...
11
votes
6answers
6k views

Is there ANY way to remove comments function and section totally?

I don't want any comment querys to run. I don't wont anything about comments to be shown in wordpress admin area. Is this possible in any way? EDIT: Remove all links to the comments from admin bar, ...
0
votes
1answer
32 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 ...
4
votes
5answers
4k 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() { ...
2
votes
0answers
36 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
0answers
19 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
18 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 ...
-1
votes
0answers
20 views

autosaveL10n is not defined [closed]

I have a plugin which is working on all the sites except one, it gives an console error - "autosaveL10n is not defined" and just displaying blank white page on wp-admin/post-new.php. Anyone have some ...
1
vote
4answers
288 views

Replace wordpress login logo with custom text

I wanted to replace the wordpress logo which is displayed on login screen with some custom text. Here is the code what I tried so far: function my_custom_logo() { echo '<style ...
4
votes
2answers
51 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 ) ...
2
votes
2answers
629 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() { ...
7
votes
2answers
14k views

How to check if a user is in a specific role?

I have a pretty specific requirement to show different text in a field label on the user profile page based on the current user's role. I can't seem to figure out how to check whether the current use ...
0
votes
1answer
379 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 ...
0
votes
1answer
60 views

Get access to Wordpress when logged out

I have a WP site with bbPress installed and bbPress Like Button (a like button plugin). I was trying to import a phpBB forum to bbPress. I'm having problems doing this and in the process must have ...
6
votes
3answers
2k views

How to disable the “Post Lock/Edit Lock”?

I want to disable this just for one Post Type, as it doesn't really matters if there's another user editing it (the main content editing area is Ajaxified and non-admins can only see that). I ...
0
votes
1answer
22 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 ...
3
votes
1answer
990 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 ...
9
votes
2answers
3k views

Toggle admin metabox based upon chosen page template

I'd like to have a custom field interface show up only when a certain template is assigned to a particular WordPress page. Any ideas?
1
vote
1answer
2k 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 ...
3
votes
3answers
1k views

Easiest way to make post private by default

I don't know how to make a plugin so I can't do what's suggested here How can I make it so the Add New Post page has Visibility set to Private by default? so what's alternative ?
0
votes
1answer
29 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
0answers
39 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
2answers
1k views

How To Create a Metabox of HTML Content with Instructions For Editors When Editing a Post or Page?

I would like to add a custom Metabox with HTML content in the screens New and Edit Posts/Pages ( /wp-admin/post.php?post=POST_ID&action=edit), so that I could display a list of editorial ...
0
votes
2answers
3k views

Using TinyMce with textareas in meta boxes on custom post types

I am trying to use the http://www.tinymce.com/ plugin to add a tinymce to my textareas in my meta boxes I have created. I've googled other ways and either I cant get it to work or didnt grasp the ...
0
votes
1answer
13 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
1answer
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
1answer
26 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
20 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
2answers
414 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( ...
2
votes
2answers
752 views

Add mass action to wp-admin/users.php

I'm heavelly modified my Wordpress, it's amazing what you can do with wordpress hooks, actions.. But i'm not able to find how can i add mass action for users. Let's say i select 5 users and i want to ...
0
votes
0answers
31 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 ...
2
votes
2answers
401 views

Elegantly using JavaScript on widget admin forms

I'm working on a project involving a lot of widgets, and I'm thinking it'd be really great to have a "More options" section built using jQuery UI Accordion that expands when clicked. So, I've ...
0
votes
2answers
431 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
0answers
41 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
19 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
2answers
280 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
1answer
222 views

Wordpress custom permalinks not working on OS X localhost

When changing premalinks, none of the pages and links are not working except home page :( Result are shown below. Thanks in advance.
0
votes
0answers
16 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, ...
-3
votes
0answers
16 views

How do i get all title of widget [closed]

if i have 3 widget like sidebar-1 ,sidebar-2 , sidebar-3 <div id="supplementary"> <div id="footer-sidebar" class="footer-sidebar widget-area" role="complementary"> <?php ...
0
votes
1answer
601 views

Replacing select2 in admin backend for all selects

I originally posted this question as a javascript question here, but think maybe it would be better asked here. I tried adding select2 to all wordpress admin screens. However, since many selects are ...
1
vote
1answer
31 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 ...
1
vote
3answers
290 views

jQuery UI inside widget on admin page

I have created a widget that has quite a few settings, and so I am trying to create a tabbed menu (using jQuery UI) inside the widget settings of the admin page. The problem is basically that tabs ...
0
votes
1answer
32 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 ...
71
votes
12answers
44k views

Adding a Taxonomy Filter to Admin List for a Custom Post Type?

I have created a Custom Post Type called 'listing' and added a Custom Taxonomy called 'businesses'. I would like to add a dropdown list of Businesses to the admin list for the Listings. Here is what ...
3
votes
4answers
2k views

Removing an admin page added by a 3rd party plugin. Gravity forms in this example

I'm trying to hide a help page from editors, added by the gravity forms plugin. I believe I've run into the same issue before with other plugins, so I'd like to know the correct way to do it for 3rd ...
0
votes
0answers
25 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 ...