Tagged Questions

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

learn more… | top users | synonyms

0
votes
1answer
868 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
547 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
211 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
117 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
84 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
153 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
65 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
68 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
170 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
958 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
125 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
521 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
313 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
354 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
306 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
32 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
30 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 ...
5
votes
3answers
1k 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 ...
1
vote
0answers
245 views

wordpress register nav menu not showing in admin

I am using the following code to register a menu for my theme. In functions.php I have written the following: register_nav_menu( 'header-menu', __( 'Header Menu' ) ); When going into wp-admin ...
1
vote
0answers
28 views

How to get Role Subscribe Users on Admin Menu only in Pages in Wordpress

How to get Role Subscribe Users on Admin Menu only in Pages in Wordpress and also asign pages to only a specific user and also get the pages on homepage by user ID. Example: here a link, i want to ...
0
votes
1answer
39 views

Change permalink when page category selected in admin

I'm using the Events Manager plugin which uses a custom post type of 'events' and a custom taxonomy of 'event-categories'. One of my events categories is 'Short courses'. When I check this category ...
0
votes
1answer
173 views

How can i force wp-admin to use 2-column dashboard layout? [closed]

How can i force wp-admin to use 2 column layout via plugin?
0
votes
1answer
73 views

Override default options in plugin metaboxes

Imagine you are on a post-new page to add a post, and a metabox added by a plugin has a lot of checkboxes that always need to be checked manually. Here is one of them: <div class="form_item ...
3
votes
1answer
217 views

Add content to /wp-admin/plugin-install.php admin screens

I would like to add some external content to the plugin information displayed on the /wp-admin/plugin-install.php admin screens. /wp-admin/plugin-install.php calls the following: $wp_list_table = ...
2
votes
1answer
123 views

Site Title and Tagline in Pagelines DMS Options Panel

I'm using the Pagelines DMS Theme and I'm wanting to extend the functionality of the front end admin panel. The user(s) I'm building this for would like to be able to edit a few settings directly from ...
0
votes
0answers
45 views

Pages redirect me to the homepage

I am the admin of a multi Wordpress websites that are controlled from one Administration page. After updating to the latest version of Wordpress, 3.6.1, all of the pages are redirected to the to the ...
2
votes
2answers
179 views

js Conflict in admin panel - I guess it's from the core WP installation

A client's site: causing serious js conflict or js loading disabilities, is under custody. Activating DEBUG, Deactivating all Plugins, and Activating Default theme "T13" found that, still the problem ...
1
vote
1answer
252 views

All Users > User List > Update User Meta Field Inline

I am asking user few questions at the time of registration with checkboxes like In Registration form [] I am blah blah [] I am blan blah [] I am blah blah Now user will come for approval in admin ...
0
votes
1answer
122 views

Render content after post title in wp-admin

I want a plugin to place custom content below the post title, and to the right of the permalink. However, I cannot find a specific action reference to hook into. The screenshot demonstrates the ...
0
votes
2answers
348 views

wp_dequeue_script not working for my plugin. I want to remove the themes JS from the dashboard

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
86 views

Why would running an admin check throw a 500 error? I'm calling is_super_admin();

I have a plugin that I wrote. A user was experiencing compatibility problems with a theme of theirs which uses a masked dashboard to add listings on their site. If the user was logged in, and a ...
1
vote
1answer
279 views

How to run a external JavaScript file on wp-admin if admin, and other if normal user?

I'm new to WordPress plugins, and I'm trying to load a external JS/jQuery file with some scripts I need. It needs to run in the wp-admin page (not just once when activated). There is a JS file for a ...
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
69 views

What is the right way to include a wp-admin file in your theme?

I'm trying to use wp_delete_user() in my theme, to allow a user to delete their account from the front-end. Turns out that the wp_delete_user() is not defined unless /wp-admin/includes/user.php has ...
0
votes
1answer
99 views

CSS of the admin panel

Where can i get hold of the CSS of the admin panels? Id like to make it look different on my development environment so that no one changes the production server by mistake. Like giving it a different ...
0
votes
0answers
132 views

Forcing Wordpress Administration onto a separate SSL Host

I've inherited a half-dozen or so wordpress sites. In a perfect world I would just put every one of them behind SSL throughout but I don't quite have enough IP addresses to go around and SNI will cut ...
0
votes
2answers
199 views

Removing Dashboard Menu Items Through The Database

I'm dealing with a previous developer that's being difficult. He's removed the Plugin & Settings menus through the database (I'm assuming) as I can't find it anywhere in the functions.php file and ...
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 ...
1
vote
0answers
87 views

Filter pre_get_posts does not modify Mine/All/Pending

Maybe I need to use a different filter, but I am using the pre_get_posts filter to filter out posts on a custom post list view. It works for the main table, but the quicklinks to (All) (Published) ...
1
vote
2answers
641 views

File exceeds upload_max_filesize, despite max filesize being large enough

I am trying to upload a 762KB picture using the multi-file uploader at /wp-admin/media-new.php. This page reports that my maximum upload filesize is 2GB. However, once the upload progress bar gets to ...
5
votes
1answer
205 views

Completely remove WP_Admin_Bar for specific user roles

How do I hide/remove the admin bar that is displayed when a user with specific role is logged in? I figured I have to do something with remove_menu(), but not exactly what and how. Codex
0
votes
1answer
23 views

how to customize the default #adminmenu in wp-admin

i want to customize the #adminmenu for the wp-admin, how can i target the class via plugin? im planning to use below function, but im not sure if this is the correct way of doing so.. ...
0
votes
2answers
842 views

How to create sub menu with a URL parameter?

I would like to add parameter for the submenus, but when I click to the admin page I receive the following message: You do not have sufficient permissions to access this page. Code: ...
2
votes
1answer
168 views

Ordering Post 2 Post admin meta box by meta from CPT

I've just started using Posts 2 Posts (brilliant plugin by the way) in combination with a custom post type called "Artist" and the WP Event Manager Plugin. My aim is to use P2P to link Artists to ...
0
votes
1answer
444 views

'wp' hook supposed to trigger when editing a post?

I'm trying to figure out if this is by design, a bug or a feature I should try to request. I created a plugin and added the following code: function test_wp() { echo '<div style="position: ...
0
votes
1answer
49 views

Customize wp-admin form custom fields

I would like to customize some form elements in my WP admin area: starting from this example (http://api.jquery.com/val/ the one with the select) what I would liko to do, is to update a via a select ...
1
vote
1answer
424 views

Grouping of CPTs and taxonomies into menu groups in admin

I have a group of custom post types such as "CPT A", "CPT B" and "CPT C". I display the admin page for each of these as subpages under a common Admin page. add_menu_page('Console', 'Console', ...
0
votes
0answers
115 views

$current_screen if condition for a specific page in admin

Right now I have this code to add some changes in my WYSIWYG editor in admin: add_filter( 'default_content', 'custom_editor_content' ); function custom_editor_content( $content ) { global ...
1
vote
1answer
341 views

Send email to user that his post has been rejected

I am searching for a solution for the following problem: I am using WP User Frontend, so that users can create posts in the frontend. After saving, the admin needs to review the post, and the ...