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

learn more… | top users | synonyms

0
votes
2answers
29 views

Show parent-child relationship for categories in the wordpress admin

How can I show child categories under there parent category in the wordpress admin? On a post the format of the category box would look like this: Category 1 Sub-Category 1.1 Sub-Category 1.2 ...
0
votes
0answers
9 views

How To Display Admin Toolbar On Custom Template

I am trying to get the admin toolbar to display on a custom page. I am using a custom php file for this. The basic structure of the page is like this and this will display the basic structure of my ...
0
votes
0answers
20 views

wp_is_mobile() inside js

I've stumbled upon a issue that i can't fix. I've implemented a autocollapse menu ..all works fine UNTILL i go to mobile version where the wp core's menu bugs out with my menu js code. Basicly i ...
0
votes
0answers
13 views

Dynamic admin submenu

I'm creating a plugin for WordPress with dynamic sub-menu's fetched from the server. Putting the dynamic loading of sub-menu's into the menu_setup() hook function would slow down other WordPress ...
0
votes
0answers
11 views

Too many redirects after added SSL redirect on port 80 virtual host

I have 2 virtual host for my wordpress blog. One handles the http port 80 request and other handles port 443 https requests. I have added the following in my virtual host for port 80 to redirect all ...
1
vote
1answer
19 views

Get all of user's custom post types in WP Admin for plugin

I am making a WordPress plugin and hit a rough point. I'm trying to make it so a user can select from all their post types, including custom post types. The code I have below shows the post, page, and ...
0
votes
0answers
18 views

Wordpress admin menu pages not receiving passed info

I have a Wordpress menu page (A) and a wordpress submenu page (B). I want to pass data from A to B. A has a list of items and I want B to show the details of each item, by passing the item id to it. ...
0
votes
2answers
21 views

How to update my website with WordPress?

I want to update my old website with WordPress but I got some problems... Is it possible to create a website without domain name (before publish) and replace it with my old website domain name as soon ...
0
votes
1answer
9 views

Manually Disable Basic Auth from hacked wordpress database

A wordpress website was hacked. i setup a new server and new db server. when we try to visit the admin, we get a http basic auth prompt. i need to know what to look for in the database to disable this ...
0
votes
0answers
7 views

Display existing admin list table for custom post type in another location without recreating it

I have two custom post types; Inventory and Jobs. I have customised the columns displayed in the Inventory admin list table (ie. wp-admin/edit.php?post_type=inventory) to display relevant fields Is ...
-1
votes
0answers
17 views

Add an available menu item in the admin's nav-menu.php page

Part of a page I'm coding for a client has a list of buttons that looks like: Help - About - Locations - [shopping cart image] - [search icon] The first three are clearly links and fit well ...
0
votes
1answer
23 views

WP admin display custom field if another field value is “Female”

I have 3 custom fields: Gender, Partner name, and Partner last name. I need a js or CSS function. If I select "Female" from ecpt_gender select box, 2 custom fields appear by CSS changing the display ...
1
vote
1answer
19 views

sort tags by tag ID in admin panel

I want to sort tags list by tag id in my WordPress admin panel. There is 1000s tag in admin tag list and I want to know which are the latest added tags, but there are options to sort with Name, ...
0
votes
1answer
23 views

Add data to post edit page, when post is published

I need to customize the "post edit page", for a custom post_type, but to keep things simple let's say it's on the post_type post for now. When the post status is published, I need to run a PHP script ...
0
votes
0answers
26 views

Hide pages in CMS Tree Page View hack

Hi I am trying to hide some pages in wordpress dashboard from CMS Tree Page View. Can someone pls help and tell me how do i achieve this. I am trying to add filter in function.php but it doesnt work. ...
0
votes
1answer
16 views

How to add conent (text) to Add New pages form of admin in WordPress

I am new to WordPress. I have created a Shortcode. Now I want to add description of Shortcode to Pages->Add New Page so the user can easily use the Shortcode which I have created. I want that text ...
0
votes
1answer
32 views

Media upload default title from file name

I'm on a roll today with the questions. Is this easy? Again, I can't seem to find the right filter (nor previous question with a suitable answer). So if you download an image say, from GettyImages, ...
0
votes
0answers
31 views

Fixing admin menu offset

I've encountered a little problem during my plugin development. I've added a search box on all pages and it's working flawless but the only thing that annoys me is that it's causing the menu to ...
0
votes
1answer
38 views

Cannot access my wp-admin after installing Gzip compression [closed]

I have installed a WP Plugin called Gzip Compression to increased the speedpage and had an awful surprised: have no access to the website at all, giving me an error of invalid form of compression, and ...
0
votes
0answers
31 views

Add a box below admin toolbar via plugin

First of all thanks for your time and for your help. I'm looking to add a custom box below the admin toolbar on all pages via plugin(the blue one from the screenshot). In future i would like to add ...
0
votes
1answer
15 views

The Commercial tab is missing from the Plugins page when trying to update Types 1.7

I have Types installed and registered on my live server, but also want to get it installed on my development server (which of course has a different URL so will have to be registered separately). ...
0
votes
0answers
45 views

Solution for extremely slow pages or custom post in WP-admin

Somehow WordPress likes to load all the pages and custom post in the admin area. When you have a site with more than 500 pages things get slower and slower. After 5000 pages things start to timeout ...
0
votes
1answer
21 views

Is it save to require plugin.php early to be able to use get_plugin_data() earlier?

I'd like to avoid hard coding my plugin's version at multiple places. To realize this the function get_plugin_data() comes in handy. But here the fun comes to an unpleasant stop. Checking for a plugin ...
0
votes
1answer
50 views

Can't connect to WP-Admin, blank error message

I have to work on a website, but I cannot connect to the WordPress Administration... I did a forget password and resetted the password multiple times so I know that I have the right username/password ...
0
votes
0answers
13 views

Allow Editor to Select Content From a Post Category Dropdown List (Advanced Custom Fields)

I'm sure something like this has been done before, but I cannot find the right search terms to find it. Right above my footer on pages, I want to output a single post's content from a given category, ...
0
votes
0answers
25 views

Split posts into separate screen on custom post type admin screen

I have a custom post type called 'event' that has a meta_key of event_status with a value of either 'upcoming' or 'past' depending on the event date. I am trying to split all past events into their ...
0
votes
0answers
40 views

Problem assigning Custom User Roles to Custom Post Type

I'm having issues assigning custom capabilities for custom post types to custom roles in the WordPress admin. The markup works for one post type but not others. Let me explain a little... I've ...
0
votes
1answer
37 views

WordPress Get Header and Footer using in Admin Area

I was wanting a way to get the site header and footer and use it in the admin area. Idea #1 An answer to another related question states to use an iframe instead I think we can use an ajax call get ...
0
votes
1answer
94 views

WP AJAX is not working, always returns 0

I've checked any threads here regarding this and did a debug test which worked, I'd like to understand why my own code doesn't work as it presents the same functionality explained in every possible ...
0
votes
3answers
37 views

Create new user from phpMyAdmin

I'm trying to copy site that I have created in free web hosting server to my windows pc that runs WP on WAMP. I copied all files, but took wp-config.php from sample site I run on my PC and have done ...
1
vote
1answer
26 views

Creating Admin Plugin - Content of a page is displayed at global scope as well

I've started creating a WP plugin which should work only in Admin Area. I've managed to create top-level menu with required sub-menu items, but when I try to print content of my page, it prints it ...
0
votes
0answers
28 views

Post preview in iframe without saving the post

I aim to make a live preview inside an iframe of the current edit post. The preview should render the post content only. Thats why I guess an iframe is actually a good idea. The frontend includes ...
1
vote
1answer
31 views

Clicking On View Post In Draft Opens New Tab

Since 4.0, when you save a post as a Draft the View Post link opens the saved post in a new tab. (target ="_blank") Is there a way to revert back to the previous behaviour (which was to open the ...
0
votes
0answers
22 views

Sort custom fields in admin by last field added

I'm trying to sort custom fields in admin post by last added fields but it sorted by words and number example my add is 3 , 6 , 4 , 7 , 5 , 1 when admin post save my custom sorted by number be ...
0
votes
1answer
38 views

Set user admin language preference by lang parameter

A site I'm working on allows users to login and submit content for a directory listing. The site uses WPML to serve translations, but the WPML language switcher does not affect the admin interface. ...
0
votes
0answers
14 views

Editing part of a link that is recurring on website

I have a site: Coolthingsaddict.com the site has hundreds of affiliate links to the Amazon affiliate program. Within each of these links, there's an element with my Amazon affiliate ID. I need to ...
0
votes
2answers
33 views

Post thumbnail is not shown in wp-admin

I am currently working on a theme for a client and now just got into a problem: When I want to set an image (also existing/already uploaded images don't work) the editor just not accept it and don't ...
0
votes
0answers
20 views

Is it possible to outsource wp-admin to another server?

This question might be very crazy and stupid, but I wonder if there is any chance that I could host the whole wordpress backend on another server, in order to minimize server load. For this, I guess, ...
0
votes
0answers
17 views

Lost password link not working

Has anybody come across this error message before when clicking the forgot password link on the wp-admin page? object(WP_User)#5816 (7) { ["data"]=> object(stdClass)#5815 (0) { } ["ID"]=> ...
0
votes
0answers
24 views

Added fields in quick edit screen need to update at the moment

I have added the meta fields in quick edit screen in wordpress admin section. When Isave the quick edit screen, it will be saved but not shown at cuurent time but when I reload the page it will show ...
3
votes
1answer
61 views

Prevent sorting and dragging of specific postbox metabox

I'm attempting to limit the jQuery sortable functionality on certain postboxes/metaboxes when editing a post/page. So far I've enqueued my custom .js file in admin. wp_enqueue_script function ...
1
vote
0answers
71 views

Admin wp_ajax hook returning 0

I've done some research but I can't seem to find the correct answer so I'm hoping someone can give me a hand. I'm attempting to use the wp_ajax hook in the admin section. The functionality should be ...
0
votes
1answer
11 views

Page template for a site from network

Is there a way to dispay in the Wordpress admin distinct templates based on which blog you are ? Let's say that for the blog travel I have the page template page-travel.php. How can I hide it on all ...
0
votes
2answers
13 views

How can I control which plugins run in the dashboard?

I do not wish to activate/deactivate plugins. But for plugins that have no menu pages/submenu pages, that mostly do things on the frontend, I wish to disable while viewing the dashboard/admin pages. ...
0
votes
0answers
24 views

Error when open wp-admin

I know this question is asked many times here. But none of the answers solved my problem. When I try to log-in to my site through wordpress-admin, like this, mysite.com/wp-admin it gives me the error ...
0
votes
0answers
33 views

Subsite admin in redirect loop, resources on frontend are all 404 and .htaccess changes back

I have a Multisite with three sites. The main site isn't affected by any of this, but the subsites are both broken. 1) When accessing wp-admin on one of the subsites, I get a redirect loop. 2) When ...
0
votes
1answer
33 views

Dashboard Widget CSS

I want to add a class name to my custom dashboard widget but I've found no way to do this searching the codex. Right now the only class name on my widget is postbox (which is added in ...
0
votes
0answers
21 views

Replace Parent Page dropdown with number input

I have about 30 000 pages with hierarchy. I see, that my wp-admin performance is very bad because 95% of time PHP is building a tree for parent page parent select field of page attributes. My pages ...
0
votes
1answer
65 views

Widget stuck at particular point when dragging to bottom

This is weird, but when I try to drag a widget to the bottom of sidebar it stuck in the middle, if I hold the dragging and drag it back to top it works but I can't drag it bellow that particular ...
0
votes
0answers
60 views

Add options to Wordpress backend

I hardcoded a page to use for a Wordpress-Site I'm managing but then my boss decided that said page needs to be editable from the backend for our customers. Long story short: How do I add editablity ...