0
votes
0answers
29 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
1answer
29 views

Plugins not activated after update?

I recently noticed that after manually updating any plugin it is left deactivated. Is this the correct operation? Or might there be a problem with my install? Thanks
1
vote
1answer
61 views

What's the point of using Wordpress's built in admin-ajax.php?

I'm trying to understand why using admin-ajax.php is advantageous over doing something like this: add_action ('wp_loaded', 'my_ajax'); function my_ajax() { // Do Ajax, Check $_POST die(); } ...
-1
votes
1answer
21 views

Why plugin's icon for the menu not found?

Why plugin's icon is not showing in plugin menu ? All code of plugin : add_action( 'admin_menu', 'register_my_custom_menu_page' ); function register_my_custom_menu_page(){ add_menu_page( 'Site ...
1
vote
1answer
34 views

How do i know the current post type when on post.php in admin?

Im trying to do something with an admin_init hook if - and only if - the user is editing a post (post.php) with post type "event". My problem is that, even though wordpress points to a global variable ...
0
votes
1answer
23 views

See which user installed a plugin?

Are there any DB entries made when a plugin is installed, and if so does this indicate which user did so?
0
votes
0answers
33 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
1answer
72 views

Equivalent of admin.php for public pages

I am pretty new to the Wordpress API and can't seem to find what I need. I have been searching for a way to create public pages (accessible to users without admin permission), similar to the method ...
0
votes
2answers
164 views

How do I add some javascript validation to the admin interface form's onsubmit?

I have a plugin that adds meta boxes to the admin interface and I need to do some validation when the user presses the "update" button before the form is submitted. Is there a WordPress action or ...
0
votes
0answers
31 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 ...
-1
votes
1answer
18 views

Need help with restricted page for users

I have 3 pages and i want one of the three to be restricted for normal users. I want there to be members, who only can view the page after they have been approved by the admin. To view the page i want ...
4
votes
1answer
132 views

Changing the “Plugin Activated” Message Default

Whenever an administrator in WordPress activates a plugin, upon the reload of the plugin page, a notice will appear upon successful activation reporting "Plugin Activated". Is there a way to change ...
0
votes
0answers
415 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
27 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
1answer
27 views

remove all submenus from plugin

Is there a way to un register all submenus at once instead of using the code below? remove_submenu_page('myplugin', 'sub-page-1'); remove_submenu_page('myplugin', 'sub-page-2'); ...
0
votes
0answers
98 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
39 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
105 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
2answers
438 views

Display Custom Field Value on Admin Page Column

What I want is to display the value of the custom field called 'page_template'. I use the code below but it displays nothing under Page Template column although I have already defined a value for the ...
1
vote
1answer
64 views

Edit default comments page in WP Admin

I need to make major changes on the way the comments are rendered in backend, from the following file: wp-admin/includes/class-wp-comments-list-table.php I know editing the WP Core files directly is ...
0
votes
1answer
38 views

Remove specific administrator's capability

I've created two administrator users X and Y. And now I need to remove capability of 'edit_plugins' from user Y. I've searched and found, http://goo.gl/LttuvX $user = new WP_User( 'Y' ); ...
1
vote
1answer
93 views

Filter or action hook to insert content on admin pages before </body> tag

I am developing an administrator plugin and want to be able to write some HTML content just before the last body tag . This content will initially be hidden then displayed with javascript when a user ...
0
votes
0answers
65 views

WP No Base Permalink only works with logged user (admin)

(My apologies for my poor English, I'm french) I just want to have a shorty URL for all page of my WP Site: www.example.com/wordpress-answers-is-a-good-site for my posts insteads of ...
0
votes
0answers
25 views

Linking a user with a specific post type they are allowed to modify and hide the rest

I've looked everything on internet but didn't found the answer to my problem. Here is my situation. I'm using, for a college website, Wordpress 3.8 and the amazing plugin Advance custom field and CPT ...
2
votes
1answer
138 views

Display update notification messages like 'What's New'

I am about to push out a new update for my plugin. I've used a few functions only available to WordPress 3.8, which is fine because I want to support the latest version. How do I display a message to ...
0
votes
1answer
73 views

problem with register_activation_hook in plugin

I am developing a plugin that inserts content to wordpress on plugin activation. I also have an admin are where I can add a link to the inserted post. The admin is a input box where I can input my ...
1
vote
1answer
253 views

Add a custom form on the post-new.php admin page

i need to add a custom form on the post-new0.php page of the admin of wordpress. ( this form will load an external script in ajax and fill all the field) I'm able to do it via my plugin with ...
2
votes
1answer
140 views

How to add a help tab to all admin pages - including plugin pages

I have working code which adds a help tab to all screens in the admin which already have help options or a help screen - however, screens which don't have contextual help - such as the plugin I ...
0
votes
1answer
256 views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
0
votes
0answers
47 views

Plugins and user roles

Alot of plugins only allow for Admins to edit, and i want other roles to edit those as well. I have a wp site running WooCommerce which has a user role "shop manager" and i have a plugin that users ...
0
votes
2answers
905 views

How to remove/hide Yoast's “SEO” tab in admin panel?

I don't want this shown to members who register for my website as it's confusing and irrelevant for them. I assume some code added to functions.php will do the trick but what code?
1
vote
1answer
219 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
0answers
31 views

Permalink Settings for Custom Post Type

I have a plugin that creates a custom post type. I am able to control the rewite rules and have also created a plugin settings for the archive url and taxonomy urls slugs. However if a user enter ...
0
votes
0answers
33 views

WP New Post Problem

I cannot access "New Post" OR "New Page" from WP admin. I have this as the URL: http://www.infogurushop.com/wp-admin/options-general.php?page=sharing and sometimes get this as the URL: ...
0
votes
0answers
79 views

Custom post type admin search, keep current URL parameters

I have a custom post type I created, and a page that displays each entry. I have an area where I can filter the results through a search form. It works good, except when I press submit, the current ...
0
votes
1answer
279 views

Create WordPress posts from JSON array using plugin in admin

I'm writing a WordPress plugin that I'd like to do the following: Add a WordPress plugin admin page that contains a button When you click the button, it loads an array of JSON objects from a file, ...
0
votes
1answer
119 views

Frontpage Admin Bar Disappeared

I am on a multisite network. Recently my frontpage admin bar dissappeared but continued to show at backend. I disabled all the plugins, changed theme to twenty ten and twenty twelve also, but no ...
0
votes
1answer
182 views

Error: Can´t access facebook comment plugin admin page

The plugin i'm talking about is facebook-comments-plugin The problem is i canĀ“t access admin page: /wp-admin/options-general.php?page=fbcomments This error is happening: PHP Warning: ...
0
votes
1answer
105 views

learning OOP with wordpress plugin

I used to develop in functional design so far and I am now learning OOP. I stumbled upon following problem. Sometimes in OOP a function needs to send and argument as an array. Example. I want to ...
0
votes
0answers
298 views

admin panel save option with ajax

I create custom options in the admin panel but I have some difficulties to save it with ajax. I can't get the php script with action variable in ajax script. Here all my scripts: in functions.php : ...
0
votes
1answer
57 views

Custom Form only for admin

I want to add a custom form with some fields such as text,date,dropdown etc only viewable and editable for admin.When I submit the form the data should be displayed in the desired page that I ...
0
votes
0answers
35 views

display admin content in the public site

I would like to display the page list or post list (or similar from plugins) from the Admin section to logged in users on the front-end of my wordpress site. Any idea how I can do this? I need to ...
1
vote
1answer
674 views

Bad Request (Invalid Hostname) on working server, database problem

I have a local server up using EasyPHP. I know its working because I have a default wordpress install running and up on my brower. I have a full site which I also know I have working because when I ...
1
vote
1answer
1k views

Renaming a WordPress Admin Menu

I am trying to change the Admin Menu name for "WooCommerce" to "Store Settings". I tried the other code rename posts to articles, etc. but it did not work for WooCommerce. WooCommerce's Admin Menu ...
1
vote
2answers
203 views

How to change the name of the “edit my profile” link in the WordPress admin backend

I am really confused at this point. I can not figure it out how to rename Edit My Profile link in the admin backend. How can that be done?
0
votes
1answer
58 views

Globally register styles but enqueue them selectively

I am trying to get my theme registered stylesheets in plugin, the purpose is I want to get all stylesheets in my plugin and then manipulate those registered styles. stylesheets registered via ...
0
votes
1answer
613 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: ...
2
votes
3answers
866 views

How do I only load a plugin js on it's settings pages?

I have a plugin that is conflicting with some default wordpress functions. In the post and page creating/edit areas. I only need my functions on my settings pages. I have the js file loading in admin, ...
0
votes
2answers
381 views

Plugin getting Cannot modify header information errors

I am trying to build my first plugin but am receiving the following error: Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
1answer
3k views

Changing wp login url without .htaccess

How to change wordpress login url without using .htaccess, should be a manual process, so example.com/login will not redirect to example.com/wp-login.php so example.com/login will be the login page?