Users with the ability to perform administrative tasks for a site or a network of sites.

learn more… | top users | synonyms (1)

0
votes
0answers
54 views

Wordpress plugin, listing posts in admin and having correct title/selected value

I'm making a plugin that is used to display a single post in a widget area. I can get the front end working just fine, but in the Admin area (Widgets page and customizer) I'm having some issues. I ...
0
votes
0answers
36 views

Using list_users give access to Users menu but not Role dropdown

I have user role that is the "Manager" of the e-commerce part of a site. I have given this user the capability, list_userso that they can access the "Users" page in Admin and add/change various ...
0
votes
0answers
22 views

Cannot save Post

I recently upgraded to 3.9.1 and cannot Save a draft, nor publish. I have the draft written, click Save Draft and nothing happens other than the spinning icon next to the button. I have disabled ...
0
votes
0answers
62 views

List all posts types in admin edit.php

I am trying to show a list of all posts types in the admin. For now i can only show a list of particular post type, for example: wp-admin/edit.php?post_type=video , but how can i show a list of all ...
0
votes
0answers
44 views

Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)

I am using this to load css styles in the admin area (for any user who is not an administrator): function wpse_admin_styles() { if ( !current_user_can( 'manage_options' ) ) { echo ...
0
votes
0answers
99 views

Change wp-login.php url and lost password to custom name

I'm using SiteMile's auction theme and I'm trying to change the "wp-login.php" to "login." I tried using the plugin, Rename WP-Login and that worked, however the "lost password" link doesn't work. I ...
0
votes
0answers
28 views

Widget Areas Still Appearing in WP ADMIN When They Shouldn't

I had a bunch of "Widget Areas" registered for my theme. I removed a few and added a few. The ones which I removed, I deleted the code which is hooked on widgets_init for registering the sidebars. I ...
0
votes
0answers
57 views

Nested Admin panel sub menus in single menus

i know how to add custom menu in the admin panel and how to add multiple sub menus in the custom menu. But i want to know can we add nested sub menus in the custom menu (WordPress admin panel)? Means ...
0
votes
0answers
25 views

Custom admin TinyMCE - order items

I would like to know, how can we order wordpress editor buttons? I want to add the "format/style" dropdown after the heading dropdown. Here is my code: function enable_style_dropdown($buttons) { ...
0
votes
0answers
19 views

Linking wordpress plugin page with another in the same directory

I am making a plugin page on wordpress admin, that I have connected it using the add_menu_page() command. This page displays a list of custom post type using wp_query. I am trying to link each title ...
0
votes
0answers
23 views

User is not being deleted from wordpress admin dashboard

I have a wordpress blog and I'm trying to delete a certain user from my admin dashboard. But when I delete this specific user and refresh the page, he remains on the users list. The only thing that ...
0
votes
0answers
34 views

Get site owner meta to show publically on front end in multisite? using “user meta shortcodes” plugin

I've searched all over for a fix and have had no luck. Im using the "User Meta Shortcodes" plugin to display user meta. The plugin works fine, the problem is that it doesnt output the meta info from ...
0
votes
0answers
14 views

Editing content for mobile

I'm thinking about the best solution for separating content that should be displayed on different devices in the backend, e.g. desktop and mobile. The most obvious solution would be to define ...
0
votes
0answers
112 views

Filter Users Using Custom Admin Role

I have created a custom user role in my WordPress installation called Inactive, which identify users that don't write posts or pages anymore (This role was created for archival purposes, as a kind of ...
0
votes
0answers
71 views

Adding Radio Options or Select Options to Meta Box Title

I am adding Radio Options and Select Options to miscellaneous Meta Box titles. The HTML is rendering just fine in the title of each appropriate Meta Box title. There seems to be a bit of ...
0
votes
0answers
38 views

Admin area for user, custom theme or admin theme?

In my WordPress site, I need to provide some backend functions for logged in user, so currently I have two choices use the wp-admin, customize the menu by hiding irrelevant items create a custom ...
0
votes
0answers
42 views

Saving the current state of a checkbox that I have added to my admin 'edit a category' page?

I have been struggling with this for two days. I've added an input(checkbox) to represent "Featured" categories on the 'Create a category' and 'Edit a category' pages. My problem is that when I update ...
0
votes
0answers
15 views

Add item to admin bar as late as possible

I have an admin page in my plugin where I want to show a balance figure in the admin bar. This works fine for the most part: // in the __construct method add_action('admin_bar_menu', ...
0
votes
0answers
94 views

Plugins admin page in tabs

How do I init custom Plugins admin page if pages are enbeded in tabs I try the following but You do not have sufficient permissions to access this page. class MyPlugin{ public function ...
0
votes
0answers
49 views

wordpress php show comments only from user AND replies

I'm trying to add a comment section to a user profile, it'll act as a way of communicating between the user and the admin. In the user section I only want to show comments from the logged in user, and ...
0
votes
0answers
46 views

Hide post list for custom post type in the backend

i'm trying to hide the post-list for the admin, when there are no posts in the database. Custom post types initially look like follows: But I want to add my own content (if needed) INSTEAD of the ...
0
votes
0answers
76 views

Enqueue script throws error in console

WP version 3.9 I am editing the customizer. I have an upload field for uploading a logo. When I try to upload I receive an error. TypeError: wp.media.model.settings.post is undefined I tracked ...
0
votes
0answers
220 views

How include the “text/visual” tabs in your own wp_editor instance?

I've made some meta boxes which use the wp_editor to create the textareas. When someone is on any page in the admin interface and moves from "visual" tab to "text" tab, all my wp_editor boxes show ...
0
votes
0answers
53 views

admin submenus not appearing

When I log into my wordpress site, i have a few problems. The submenus of the admin area do not appear when I am hovering over a menu. Also the Widgets area is completely messed up. Its very hard to ...
0
votes
0answers
26 views

Editing post in admin panel

I have a front end posting form. Everythings work nice, but the custom (meta) fields i added in the form doesn't appear in admin panel post edit? I add them with add_post_meta() function. Any ideas?
0
votes
0answers
41 views

WPMU - SuperAdmin / plugin install permissions

let's suppose I have Wordpress Multisite install and I have there SuperAdmin. I need to restrict "install_plugin" capability in Network Admin for SuperAdmin mentioned above. How can I do that? I ...
0
votes
0answers
57 views

Responsive Development in WordPress Backend

I've gotten so used to using Twitter Bootstrap. However, I can't seem to use it on the backend. I'm assuming it's conflicting with something in the core. So is there a way to get Twitter Bootstrap to ...
0
votes
0answers
618 views

Getting 404 page not found error while trying to access add new plugin / themes

I am getting 404 page not found error while trying to add new plugin or view installed plugin in my admin panel. i am using Hueman theme. every time i tried to use some option of admin panel i am ...
0
votes
0answers
30 views

Adding option to existing menu, like infinite SEO does

i have tried to google docs, but i cannot seem to find what i need to hook in to, to: a) Display another option on the comments page b) Make sure it gets in to POST, when "Save Changes" is fired c) ...
0
votes
0answers
68 views

wp-admin: Sort users by surname

Is it possible to alter this table in the backend so I can sort users by Name and Surname? I have dozens of users on my multisite that need to be sorted by Surname. Can anyone help me out here? ...
0
votes
0answers
69 views

Making a custom upload form and page in the admin section

so I've built this standalone php script which allows my users to upload a CSV which updates JSON data for a feature on our site, but I want to put the script inside of the wordpress admin section for ...
0
votes
0answers
30 views

set custom value on default admin columns based on row values

I added some foreign key to wp_comments db table. Some comments could be indipendent from post. For these comments I've comment_post_ID set to 0. So i need something like: ...
0
votes
0answers
110 views

Add A Print Post Button Within The Admin

I am looking to create a button within the post or a custom post type admin portion of my WordPress site, that would act similar to a "View Post" button, except it would take the admin user to a ...
0
votes
0answers
73 views

Plugin action hook fires when it should not (unrelated admin screen)

I maintain a plugin which generates a PDF of a page or post when an icon or link is clicked. PDFs may be cached, and as such, when a page or post is edited, we refresh the cache by regenerating the ...
0
votes
0answers
162 views

Creating button next to “add media” that allows you to choose a single post

I'm looking to create a button next to "add media" ( much like gravity forms "add form) that allows you to choose a custom post and then inserts that post id into a shortcode. I've bene looking at ...
0
votes
0answers
14 views

Disable a function from executing in post.php

I have a function that seems to execute on saving a post (post.php) and I would to disable it from executing then. I don't know how to specify that? I could check if is_admin, but that would disable ...
0
votes
0answers
41 views

Create a blank admin page from plugin

is there an opportunity to create a blank admin page in wordpress from a plugin or theme? I mean like the theme customizer without the admin bar or the sidebar menu. Jonathan
0
votes
0answers
11 views

Export links of custom created admin page

All right so i have created a page in the wordpress admin called Theme Options.When i export my files the links of these pages are not exported.I want the links that i have included in this page to be ...
0
votes
0answers
130 views

upload multiple images in wordpress admin and create post

I have created a plugin with a new page in the admin area. Here I would like to create a function that images can be uploaded and for each image a post is created (with custom meta field data). I ...
0
votes
0answers
74 views

Allow files with apostrophes in their filename to be uploaded to WP

My question is pretty straightforward. I just found out that I can't upload files with apostrophes in their filenames (HTTP Error.). How do I remove this restriction?
0
votes
0answers
81 views

How to validate datepickers before publish

I have two datepickers in my post: 1. start_date and 2.end_date Basically, I need to check if end_date is greater than start_date before I can proceed to publish. From a previous solution here, I ...
0
votes
0answers
53 views

Group Pages based on Parent in Admin Area

EDIT: I've managed to solve this with the help of Reddit. For those interested I used Admin Column View My website has about 50 pages separated under 5 parent pages. In the backend it is a mess of ...
0
votes
0answers
43 views

Why does logging in to my wp-admin redirect to my homepage?

Whenever I login to my dashboard I will have to manually go to the dashboard because my websites goes to the homepage first. Is there a reason for this? How do I redirect to the dashboard whenever I ...
0
votes
0answers
16 views

How to make taxonomy both hierarchical and not

I need my taxonomy to be a checklist, so I set hierarchical => false. However, I also need a search functionality similar to when hierarchical is set to true. Is there a way to "combine" both? Or ...
0
votes
0answers
57 views

How do I fix the URL used in the Wordpress admin menu for customize.php

I recently moved a Wordpress-based website to a new domain and updated all references to the old domain in the database, but the "customize.php" link in the Wordpress admin menu still references the ...
0
votes
0answers
1k views

Appearance->Editor not visible

I'm noticing that the editor is not visible from past few weeks. It's working fine on my other WordPress sites but in one site it's not visible. I tried changing theme and deactivating plugins but ...
0
votes
0answers
133 views

Invalid post type admin

I've added some custom post types, but for some reason I keep getting this message: 'Invalid post type' whenever i try to search a post in the backend or when I try to do a bulk action. Hope someone ...
0
votes
0answers
35 views

Change the order of sidebars in admin

Say I use a child theme and my parent theme already registered four dynamic sidebars. Now I am registering a fifth dynamic sidebar in the functions.php of my child theme. In the backend that last ...
0
votes
0answers
57 views

Adding line to multidimensional array option

I'm building a shipping plugin with a settings page where the user can add boxes with the attributes : Name, Length, Width, Height So far, I have managed to greate an option boxdata[l,w,h] and I have ...
0
votes
0answers
83 views

disable admin-bar search field for specific roles

I would like to disable the admin bar search field when certain users, belonging to specific roles are logged in. I would like to keep the search field available for the role 'admin', but not others. ...