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

learn more… | top users | synonyms

0
votes
1answer
39 views

Custom Field select list is truncated

The site I'm working on has many custom fields being used in it's pages. For some reason though, the list of custom fields that you can pick from the dropdown only displays the first 30 field names. ...
1
vote
2answers
132 views

Disable inline_edit() on edit.php

In the class WP_Posts_List_Table there is a function named inline_edit() and it is responsible for rendering the entire quick edit table that is used (but initially hidden) on wp-admin/edit.php. I ...
2
votes
1answer
1k views

How To Remove WordPress Version From The Admin Footer

Is there anyway to remove version number from the right side of WordPress admin footer? I know this code will add some text before the version number, but it will not remove it: function ...
2
votes
2answers
2k views

.htaccess in wp-admin produces a redirect loop

I've decided to take the advice of protecting the /wp-admin directory using .htaccess on a website which keeps getting hacked. Whenever I upload .htaccess to /wp-admin, my browser says /wp-admin has ...
2
votes
2answers
405 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
1answer
208 views

Dashboard Widgets - Add Admin Page With Same Functionality

I have a plugin that has its own dashboard with basically quick-views of relevant data and I wanted to know if there was an "easy" way to mimic the functionality of the admin dashboard where you can ...
1
vote
1answer
435 views

Custom rewrite rule for backend/admin?

I would like to create a custom rewrite rule that will take the URL: http://domain/submit-project/add but display http://domain/wp/wp-admin/post-new.php?post_type=project Is there any way to do ...
0
votes
1answer
163 views

How to remove menu from WP-Admin menu

I would like to hide option of template from the menu side in wp-admin. I tried this code but its not work , its no hide the option:- //hide in admin menu add_action( 'admin_menu', ...
0
votes
1answer
44 views

Custom post type won't take my custom fields

I have written the following plugin: <?php /* Set up the post types */ add_action( 'init', 'mdg_kjdz_register_post_types' ); /* Register the post types */ function ...
0
votes
0answers
37 views

getpost content with all formatting for admin pages

All My post usually uses various plugin based data manipulations (Like visual layout, grouping, plugin css, etc) And now I want to render a post content in my admin page. On using following code: ...
0
votes
1answer
77 views

How to display product category's individual product list in shop page?

I want to display each product category's sub products list in the shop page. Actually now in my shop page was displaying the whole list of products. But when ever i click on the list of sub category ...
0
votes
3answers
293 views

Add a custom text to admin footer in a Custom Post Type page

I want to customize the footer text in a Custom Post Type admin page. I have a plugin that creates this custom post type and want to add in it a function to customize admin_footer_text. As you can ...
0
votes
1answer
23 views

Filter / add_action to upgrade.php page

I'm wanting to change the wording and add some styling to the upgrade.php page. We have a situation where we update our codebase across multiple sites via Git - when a user logs in after the update ...
0
votes
0answers
597 views

Admin blank but Admin menu showing

A client website has recently had the issue of a blank admin but the menu is showing. No admin pages appears at all. Just plain ol white, nothing showing in the source code either. Front end of the ...
1
vote
1answer
716 views

Show Custom Post Type values in Wordpress grid view

I have created a custom post type in WordPress as shown in figure. What i want is to show the values eneterd in this custom post in the grid view of admin panel. Now the admin panel is only showing ...
2
votes
2answers
637 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() { ...
2
votes
1answer
144 views

Cancel post save

I need to abort the post saving process when the post content contains a specific string and then display a message to the user. I found a method to display the message but didn't find a way to ...
0
votes
2answers
84 views

Wordpress Admin Login Custom Logo

I know this may not be possible.But just trying to know wordpress deeply. Is it possible to replace default admin login page with custom one?
1
vote
0answers
142 views

can not access wp-admin after migrating to openshift

I recently migrated to Redhat's Openshift PaaS. My site is little bit slow in loading but working fine but Now I am unable to access wp-admin. mysite/wp-admin is redirecting to ...
10
votes
1answer
889 views

WP 3.8 Default Admin Colour For All Users

I am surprised with the new colour scheme for 3.8 and although the classic 3.7 theme has gone, I would like to set the new "Light" colour scheme as the default for all users, but at the same time, ...
0
votes
1answer
44 views

How to validation for sanitize_URL?

Like sanitize_email validation is options available but sanitize_url options is available .if options is not available then how can i do this . http://i.imgur.com/WPYdkTb.png
4
votes
2answers
630 views

How to change admin bar color scheme in MP6 / WP 3.8 front end?

I need to change default color scheme for all users. The admin bar on my site is vidibile for all users including guests. The default black color scheme isn't beauty with my design and I would like ...
13
votes
4answers
4k views

Register CPTs using Dashicons for admin menu icon in WP 3.8

WordPress 3.8 introduced in core the plugin MP6 that among other things use an iconic font called Dashicons to display fonts in the dashboard. Now, is well know that register_post_type has an ...
1
vote
0answers
96 views

Invalid post type when click “Filter” or “Apply” button in Wordpres admin Post list

I need your help to resolve 1 Issue in Wordpress admin page. I'm using WP 3.7.1 and twentytwelve template. I have some posts and pages. Currently, when I click Filter or Apply button in Post/Page ...
0
votes
0answers
15 views

Limit access to dashboard to X amount of days [duplicate]

Is it possible to give users with roles A or B access to the dashboard for a certain amount of days, by comparing the date of creation of the website with the current date?The scenario would be: user ...
1
vote
1answer
61 views

Cannot access WordPress login pages

I cannot access either wp-admin, or wp-login.php on a wordpress site. I'm not getting a 404, or a redirect, it simply says cannot connect in firefox. I have tried everything relevant on this guide ...
0
votes
0answers
63 views

Fetch post from one WordPress blog & display it on other WordPress blog

I am having 2 WordPress install.One for website & one for blog. I want to display post from my blog to website.How can i achieve it? Is there any way to fetch post from one blog to another? Is it ...
2
votes
1answer
106 views

What is an “Options Framework” for Wordpress

I am exploring a couple options frameworks for wordpress like the Redux Framework. As a non-developer interested in maintaining my own Wordpress based web app, when would an options framework like ...
0
votes
1answer
103 views

Dynamic Wordpress Admin Panel

I would like to create a customized Wordpress admin panel that changes based on the user's log in credentials. For example, if the site administrator logs in from the WP-Admin page, they would be ...
0
votes
0answers
30 views

Debian drops connection in wordpress admin section

I have installed wordpress 3.6(also tried 3.7). The problem is when I get to admin section, server after approximately 10 requests began to abort connection (on both get and post requests). I have ...
0
votes
1answer
131 views

How to hide Admin Tabs? [duplicate]

I'm trying to hide tabs of admin panel like Posts, Pages, etc... I tried Admin Menu Editor without success.
0
votes
1answer
1k views

Wordpress in sub directory wp-admin problem

I have WordPress 3.3.1 installed in a sub directory on my site just to use as a staging test site. It seems the root sites .htaccess is creating problems for Wordpress wp-admin page. I've set the ...
0
votes
1answer
653 views

Using in 'category_name' in '$query->set();'?

Here's the function I have in my theme's functions.php: function better_editions( $query ) { // Categories act as 'Editions' on my site $get_edition = get_query_var( 'category_name' ); ...
0
votes
1answer
239 views

Change Order of Admin Posts Depending on Meta

In my Admin Panel I have a custom post type of posts - with page attributes to define order. Is there "easy" way of changing how the admin panel pulls posts so I can reorder them? Page Attributes ...
0
votes
1answer
128 views

Cannot redeclare wp_update_core()

I think it's right after the WordPress update, we can't access the wp-admin to log in anymore. Fatal error: Cannot redeclare wp_update_core() (previously declared in ...
0
votes
0answers
93 views

Wordpress admin not working with domain name

I had wordpress site on LAMP server without domain name mapping. I am able to access site with IP http://192.237.169.17 without any issue. http://192.237.169.17 pointing to sub-domain folder on ...
2
votes
1answer
164 views

How do I change the default admin color scheme in MP6

How do I set a different default admin color scheme for all users? For example, it's set to MP6 as default now, but I want to make it MP6 light by default. The users may or may not change it later! ...
0
votes
0answers
67 views

Plugin (smart archives reloaded) crashed site / no access on admin panel

During a clean up of my plugins inside of WordPress i deactivated the: smart archives reloaded plugin. Next up: a fatal error when i refreshed the page. Fatal error: Class 'SAR_Generator' not found ...
0
votes
1answer
70 views

add slug beside name in Admin Category Checklists

im creating a lot of Categories with the same Name and different slugs, but im having problems identifying which is which in the admin panel, so i came up with the idea of inserting the slug besides ...
2
votes
1answer
192 views

Custom admin column disappearing when using Quick Edit [duplicate]

I have added a featured image column to my posts in the WP admin. This all works fine except when using the Quick Edit feature. Upon update, the column disappears, or rather isn't returned by the ajax ...
0
votes
2answers
1k views

Redirect loop in /wp-admin/

A site I manage has just become inaccessible to the admin today. I just updated apache on the server to enable mod_deflate and also to upgrade PHP from 5.3 to 5.4. Since doing that every time I ...
0
votes
0answers
130 views

Pass PHP variable between functions in functions.php

I have a WordPress Admin page where you can add a "listing". Within this Admin Page I have added many fields which transfer variables over to the listing page which is created/updated. Within this ...
0
votes
1answer
571 views

Add a button to users.php

I am working on a plugin that adds meta data for each user to the users.php table that is displayed by adding columns. I have that done but I would like to also add a button that will delete the meta ...
4
votes
5answers
353 views

Delete Post From front Page ( With Wp-admin restriction )

am using this function to delete post from front // Delete from Front-End Link function wp_delete_post_link($link = 'Delete This', $before = '', $after = '', $title="Move this item to the Trash", ...
0
votes
0answers
416 views

GoDaddy hosting wp-admin problem

I'm having a big issue with /wp-admin login page on GoDaddy Hosting Account (Windows). I can't log in if I visit the following url. I get re-directed to the login page again. domain.com/wp-admin ...
0
votes
0answers
384 views

Login to wp-admin “redirect_to” points to wrong URL after migration

I have a WordPress site hosted on GoDaddy, it's a Windows server, (i have the web.config set up). and .htaccess correctly configured. The site was working on example.com/wordpress , as it was a ...
0
votes
0answers
33 views

Which actions can update/change .php files?

As a followup to my question "How to find out if an wp-admin action edited a file?" I now could use a list of actions and files that can actually cause an update or change to .php-files in a default ...
2
votes
2answers
49 views

How to find out if an wp-admin action edited a file?

I want to create a small plugin to automatically purge the APC opcode cache after specific actions in the Wordpress admin interface. This is necessary if e.g. apc.stat is set to 0, as a change to a ...
1
vote
0answers
32 views

Why is there an intermediate redirect to https://public-url.org/wp-admin?

I have the SITE_DOMAIN set as foo.example.com, this has a SSL for *.example.com http://example.org, is the url for the frontpage, this works. There is no certificate for example.org. Now, when I ...
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 ...