Usually, plugin and theme authors need to provide access to a settings (options) screen so users can customize how the plugin or theme is used. The best way to present the user with such a screen is to create an administration menu item that allows the user to access that settings screen from all ...

learn more… | top users | synonyms

0
votes
1answer
41 views

I am trying to make a page in the admin section similar to the appearance of the Profile page for users

I am working on a plugin and would like to know the correct way I go about creating a page that will look like the users page (image attached at the buttom) The fields will be different and will add ...
0
votes
1answer
87 views

How to remove and disable access to General Settings Page including its link

How to remove and disable access to General Settings Page including its link on the Settings Tab and add a new link as General Settings?
0
votes
2answers
75 views

creating a plug in that would tap into save/update action of posts [closed]

What's a good plug-in that taps into the update post or save post action that allows admins to enforce rules such as if a user selects a category with the ID 5 then he also has to select at least one ...
0
votes
1answer
124 views

toolbar not visible on pages using front-page template

My profile is set to show the WP toolbar when viewing the site, but on a page using the front-page.php template the toolbar space is reserved but its contents are not visible. What could be the reason ...
0
votes
2answers
49 views

how do I get rid of the links and all the links related menu items on the admin ui?

Since I won't be using the built-in links feature of wordpress, I see no reason in keeping its related menu items on the admin ui causing nothing but clutter. How do I do that?
0
votes
1answer
1k views

Admin top level menu, pointing to an external url

I want to create a entirely new top level menu in the admin menu section, and have that be an external link, is this even possible with the current system? The solution that t31os provides in this ...
0
votes
1answer
99 views

Display Plugin Panels Outside of Admin Areas

I'm trying to find a way to display the work area content of different plugins on pages/posts/areas aside from the admin backend. For example, how would I display the options panel for a certain ...
0
votes
1answer
751 views

Ordering Submenu Pages in WP 3.1

I just recently upgraded to WordPress 3.1 a few moments ago. However, I noticed that when you have Post Types show up under a *main* menu page, it overrides the link fo th menu link. Here's my ...
0
votes
1answer
24 views

wp_login_url not working correctly

I'm working on a project where I need to add a custom link to admin menu, and I'm using the following code for it: $login_url = wp_login_url(); add_options_page('Login', 'Login Page', ...
0
votes
1answer
20 views

admin_head-post.php only works after publish / update

I have made a custom post type with some admin back-end. Currently I am calling scripts using the hook admin_head-post.php but this only seems to fire once a custom-post type has been created (on ...
0
votes
1answer
25 views

Prevent custom taxonomy from being added to admin menu?

I have several custom post types, which share two custom taxonomies (location and service). The custom taxonomies show up in each post type menu, and it just seems a little redundant. My client isn't ...
0
votes
2answers
63 views

Why I can't change the permalink of this page?

I have the following problem with a permalink: if I open this page (it is implemented as a static page) on my local website: localhost/wordpressAsper/archivio it automatically change it into ...
0
votes
1answer
21 views

Possible to switch between admin view and author view?

The wordpress admin dashboard can be a bit daunting for "normal" wp authors. Is it possible for users who need admin privileges to only see the simpler author view, but be able to switch to the full ...
0
votes
2answers
138 views

How to group navigation items in the admin panel

I have more than 50 custom post types which I have created using the Pods plugin. The problem is that the left navigation of the admin panel looks really busy and messy and it takes a lot of time for ...
0
votes
1answer
77 views

Use options to control jQuery plugin

This may be a dumb question, but I've been teaching myself Wordpress and I've been struggling with this for a while. What I want to do is use a Wordpress control panel page to control a countdown ...
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
31 views

How to put custom admin setting field into a shortcode

I set up an admin settings menu and I'd like to output the fields as a short code. The way I learned to output the fields from a tutorial was with: <?php $input_examples = ...
0
votes
1answer
734 views

wp_redirect not working on admin menu page

Im trying to create a admin menu link on the backend dashboard, that will take users to the front end of their site. Im trying to use this code, but for some reason the redirect is not working. // ...
0
votes
2answers
961 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: ...
0
votes
1answer
321 views

Removing Wordpress Plugin Menu Item for a specific user

I want to remove certain dashboard menu times for a specific user. Now this menu consist of plugin menu items as well. One particular plugin I want to hide from the user is Contact Form 7. Here is ...
0
votes
1answer
91 views

How do you add a settings page to another menu?

I created a settings page that's being displayed in the options menu like this: add_options_page( 'ATB Event Options', 'ATB Event Options', 'manage_options', 'atb-event-options', ...
0
votes
1answer
727 views

How to re-enable the links manager?

There is no links manager in the admin_menu of Wordpress 3.5.1 anymore. I'm creating a custom add_links_page, and I'm having a hard time with the making a plugin. Do I need to initialize something to ...
0
votes
1answer
473 views

Reorder plugin items in the admin menu

Is it possible to reorder plugin menu items and custom admin items in the Admin menu without modifying the position in the plugin itself? I've tried using the method described here "Changing the Menu ...
0
votes
1answer
49 views

Delete option doesn't appear for plugins

On the Plugins screen I have options to activate and deactivate plugins, but I no longer have the "Delete" option. I'm relatively sure the option appeared earlier. Also, when I hover over "Plugins" ...
0
votes
1answer
265 views

Conflict between Capabilities and Menu Visibility with Custom Post Types

I hope this isn't just the result of typo on my end, but if it is, I'm not seeing it. I'm adding a custom post type to my site. Actually I'm adding three. Two of them I'm trying to set custom ...
0
votes
1answer
365 views

How to add custom post type under option page

Anybody please help me to figure out how to add custom post type in Settings menu (option_page). Basically it is easy for custom admin menu by using: 'show_in_menu' => 'menu-slug' but i like to ...
0
votes
1answer
763 views

What's causing this error? “Warning: Invalid argument”

I noticed today that my error logs are littered with this information. I'm not quite sure what's causing it. Has anyone seen this before? [Mon Mar 25 17:24:23 2013] [error] [client] PHP Warning: ...
0
votes
1answer
283 views

Restrict certain actions to plugin-specific admin menu pages only

I'm working on a plugin and want to restrict some things to my plugin-specific admin menu pages only. Therefore, I write the slugs being returned when adding (sub)menu pages into an array so I can ...
0
votes
1answer
239 views

remove_menu_page breaks “Add media”

Using the the remove_menu_page function results in a really strange bug. By adding the code below in the functions.php file the integrated "Add media" widget starts to bug. function ...
0
votes
1answer
352 views

Usage of custom post types in a custom admin menu

This question is a little hard to explain but i will try to be as clear as i can: I have a custom theme that i am presently working on, within this theme i have added a top level menu in wp-admin ...
0
votes
1answer
33 views

Admin sidebar customization

My new clients wordpress site does not have plugins, appearance or any of the other default items in the admin sidebar. Can anyone tell me how I get those to appear. The site is being run in a ...
0
votes
2answers
80 views

adding page types in menu

I believe what I am trying to achieve is quite easy but I am failing to grasp what is needed here. I want a section in the admin panel... lets say "page sections" under that, I want to be able to ...
0
votes
2answers
915 views

How can I add/update post meta in a admin menu page?

I wanted to create a plugin to batch manage posts' custom field data. I know I can add post meta by add a meta box in post edit screen and use add_action('save_post','function_to_update_meta') to ...
0
votes
1answer
54 views

Custom page in plugin visible in menu

I'm trying to understand creating custom plugin pages and menus in admin panel, but I get what I don't need. I've got: function my_plugin_add_pages() { add_menu_page(__('Custom quiz', ...
0
votes
2answers
361 views

Proper way to create an administration page without adding it to the menu

From what I've seen around the code, you can do this by hooking a function on admin_init, do you stuff and then die(). Is there a better way that follows "WP best practices" I'm missing here? The ...
0
votes
1answer
38 views

avoiding the display of certain categories to certain user roles at content entry time

How can I eliminate the "featured" category (and its sub tree ) in the admin panel when the user role is not editors or admins?
0
votes
2answers
139 views

How to change a specific admin label

I'm trying to change on the backend from: Appearance -> Header To Appearance -> Logo But the Changing Admin Menu Labels answer didn't help so far. Any new tip? Thanks
0
votes
2answers
3k views

How can I add a menu item to the admin area?

I've used almost all of the Wordpress example code but it still doesn't work. I've put the php file under wp-content/plugins/menuitem/ .The code is simple <?php add_action('admin_menu', ...
0
votes
1answer
435 views

paginate posts on admin page

I've created a plugin that calls a list of posts and grabs external API data. I am using get_posts to grab the list (because I need to feed the array of links into the API query) For whatever reason, ...
0
votes
1answer
55 views

Pause plugin option page until all data manipulation is complete

I have an option on my plugin page where I load content into all the posts in the blog. Now this takes some time, esp when there are a log of posts. Now the way is it set up now, when you press ...
0
votes
1answer
630 views

Custom Post Type / Tab Limit

I've created a site with nine (gulp) custom post types. It's a huge site unsurprisingly. The 9 post types fit on the admin menu but I was wondering if there is a limit to the number of extra post ...
0
votes
1answer
489 views

How to add text editor in plugin menu?

Can I add a text editor to my plugin menu? So I can let users edit custom css file? Something like /wp-admin/plugin-editor.php but I want users to be able to edit only one file. The custome css file. ...
0
votes
2answers
283 views

Show limited menu to admin

I am using the latest wordpress 3.2.1. I would like to let create a new admin to do ONLY this: 1) Manage order to change the order status to (e.g. approve..reject). 2) Able to view user only without ...
0
votes
1answer
103 views

How to make a function occurs for one time?

I have the following code in the functions.php file in my theme function my_func(){ echo "foo"; } add_action('admin_menu','my_func'); I assume this function "my_func" will be ...
0
votes
1answer
1k views

Add menu page issues (permissions & position)

OK, I have an issue with Sidebar Generator Plugin. This plugin creates subpage called "Sidebars" in WP-Admin. The point is, it is created as a child of "Appearance" page. And I don't want it here, I ...
0
votes
1answer
900 views

Adding custom Field To The Posts Listing

Are there plugins or hooks to editing custom fields just from the posts listing in admin panel?
0
votes
1answer
282 views

Mimicking admin panel menu from wordpress 3.0.1

I have chosen from a variety of menus for my application only one and it was a wordpress 3.0.1 admin panel menu, but I can't get pass the functionality of it. If to be more distinct I can't ...
0
votes
0answers
20 views

My “edit page” link in admin bar has dissapeared

Since i did some customisation in custom permissions per custom post type the "edit news" / "view news" button that is displayed in the admin bar if you visit the news detail page has dissapeared. My ...
0
votes
1answer
32 views

Neccessary to call add_submenu_page and add_menu_page from admin_menu hook?

From the fm: NOTE: If you're running into the "You do not have sufficient permissions to access this page." message in a wp_die() screen, then you've hooked too early. The hook you should use is ...
0
votes
1answer
31 views

add_role menu pages are not visible

I added a custom role this way: add_role( 'tabellenadmin', __( 'Tabellenadministrator' ), array( 'activate_plugins' => true, 'delete_others_pages' => true, 'delete_others_posts' ...