Tagged Questions
0
votes
0answers
11 views
Disabling a plugin when logged in as admin [duplicate]
Is there any way to disable a specific plugin when logged in as the administrator?
Currently I'm using a plugin called Wp-Minify and I would love to be able to have the ability to pause it when I'm ...
1
vote
2answers
38 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
36 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
42 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
0answers
10 views
Manage sub-admins and their content
I have a project in which I need to affect roles to sub-admins like "Managing merchants". So a sub-admin can manage merchant (edit, remove it, etc.). All that will be done in the back-end panel, so no ...
2
votes
3answers
109 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
244 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
911 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?
2
votes
2answers
38 views
Is there an action that is called when a post is restored from the trash?
I'm looking at the wordpress list of actions and trying to find an action that is called when a post is restored from the trash but cannot find one. Does anyone know if it exists?
0
votes
1answer
45 views
How to add an admin alert for missing plugins
I'm trying to add an admin alert that reminds the user to install a certain plugin in case it is missing. I have found a way to generally add an alert box:
function addAlert() { ?>
<script ...
4
votes
7answers
147 views
Plugin or mod for wordpress to make content publication SUPER easy
Well, im making a wordpress web page for my dad, a psychiatrist, who barely knows how to check his email. He wants to put content regulary but the actual admin interface of wordpress is way to complex ...
3
votes
2answers
67 views
How to develop a community feature in the dashboard for multiauthor site
I run a Wordpress site that has more than 300 authors. Is it possible to create some type of community in the backend (dashboard)? Ideally, a space where the authors can discuss with each other in a ...
6
votes
3answers
335 views
What are the best practices for updating?
Don't want to do anything to take down my blog. Here are some upgrade-related questions:
How often should Wordpress be updated?
What is the best way to do it?
How to know if there is a problem with ...
0
votes
2answers
80 views
how to call jQuery in admin as well as in homepage
I have this jquery code inside my wordpress admin page that checks if the input value is empty.
$j(function(){
$j('form').submit(function(){
var link = $j('#input').val();
if(link == ''){
...
2
votes
1answer
436 views
How to edit/delete single row items in a table on my own menu page
I have successfully created a wp-LINKS-list-table that displays the output of WP's core "Links" table in the WP Dashboard, and I have it displaying on a menu page I created. Step 1 accomplished!
...
0
votes
4answers
469 views
Change wording of admin menu item?
I'm using the plugin Jigoshop and I'd like to change the wording of the admin menu to something other than "Products":
How can I do this? What files need editing?
0
votes
2answers
46 views
creating a plug in that would tap into save/update action of posts
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 ...
1
vote
3answers
136 views
Set of plugins to control the Admin UI
What plugin you would recommend that would give powerful Admin UI options such as change Add Posts menu item to Add Articles, remove Add Media option for certain user roles and not allowing certain ...
2
votes
2answers
192 views
Admin plugin, how can I output a different content-type?
I'm creating a plugin with an admin page that needs to:
stream a file for download (set content-type & other headers)
display HTML without the admin menu etc
In both of these cases the 'pages' ...
0
votes
1answer
69 views
Simply poll & Events Calendar plugins clashing
I'm using two plugins that seem to clash:
http://wordpress.org/extend/plugins/simply-poll/
http://wordpress.org/extend/plugins/the-events-calendar/
When both activated only the poll plugin shows ...
2
votes
2answers
924 views
Is there a way to lock certain pages from being edited by anyone other then the admin?
I have built a wordpress site and theme and have several pages that I do not want editors to edit. However, there are other pages that I want them to have access to edit. Is there a plugin or code ...
0
votes
2answers
258 views
How to hide plugin options for editors via functions.php
I've read the entry Best Collection of Code for your functions.php file, it really help me a lot.
I only got a question, is there a way to hide some plugins options (in their respective ...
1
vote
1answer
177 views
Admin Panel pagination link styles
Whenever I write plugins that use Admin Panels, I include some form of pagination using the paginate_links method and I have always been able to style them in a nice way using the suggestions on this ...
0
votes
1answer
88 views
What would cause edit buttons for plugins to disappear?
in the plugins page, under each plugins' name usually there are buttons/links like "Deactivate | Edit | Settings". Recently on one of my sites the "Edit" (and "Settings") button has disappeared. I ...
1
vote
2answers
301 views
How to check if user is in back end?
In my application, i have one form.
Now if user is in front end i want to display the title but if he is in back end i do not want to display it.
I do not want to check it based on user role.
0
votes
2answers
305 views
Is this the right way to execute some PHP in my plugin after a button click on an options page?
I have an options page for my plugin. I want the user to be able to click a button to execute a member function of my plugin's class. I found this page:
...
0
votes
1answer
108 views
Ajax request sends url rather than data
I have a very weird error running on my plugin. I am currently developing a plugin that will allow the user to create routes and specific dates for the route. The dates are more or less tickets that ...
1
vote
2answers
52 views
Which plugin will let me decide what users have access to on their side bar in wp-admin?
I want to customize the editor role so that they only have access to 'pages, posts, comments, profiles'.
0
votes
1answer
73 views
Gathering all Custom Post Type posts in to array/object the proper way
It's Friday, it's late, I've probably done this before in the work I've done before, but I'm drawing a blank. What is the best way to stay within the Wordpress framework and collect a list of your ...
3
votes
2answers
339 views
How can I log a user out of Wordpress before the page loads?
I would am using the code below so that on my wordpress site if ?logout is appended to the end of the URL the user will be logged out. This works well - if the user visits a page such as ...
0
votes
2answers
130 views
How to add captcha to publish widget
I want to add a captcha challenge to the "publish post" widget in "add new post" to prevent spam posts. This is because my site is open to registrations and posting.
Could someone please suggest how ...
0
votes
1answer
360 views
Adding a jQuery modal dialog to the admin area
I am writing a plugin for a customer and I need to use lightbox/thickbox/fancybox/etc in my admin piece. No matter what jquery plugin I use, and I'm using wp_enqueue_style and wp_enqueue_script, ...
0
votes
1answer
89 views
WordPress plugins not showing after switching servers
So I recently moved my site to a new server, and now some of my plugins will show only if you are logged in as admin, but will not show to the regular user. However, some plugins still show and work ...
0
votes
1answer
475 views
Redirect plugin after form submit or show errors
I've been developing a wordpress plugin that has an admin section with a form to add and edit various things. Now after an admin submits the form I wanted to redirect if successful (to show updated ...
1
vote
1answer
212 views
How can I make uploaded images in the editor load with HTTPS?
I have the admin section of my site using HTTPS. This works pretty well except that the images inside the TinyMCE editor (the post and page rich text editor) load with http instead of https and so I ...
0
votes
1answer
458 views
wordpress reusable content blocks
I am using a custom post type to allow the editor of the site to add a number of blocks of content to the site - infoboxes.
Now i would like to give the editor the possibility to choose which boxes ...
2
votes
1answer
1k views
How to set back-end language per user?
I would like to use the english interface for the back-end but I would like to set it to native language for an editor. I know WPML has this feature, but I don't want to install the unsupported WPML ...
0
votes
2answers
1k views
Add section (add_settings_section) to a custom page (add_submenu_page)
I have a plugin page created with add_submenu_page. I want to add a new section there but nothing happens:
add_submenu_page('parent', 'Foo', 'Foo', 'manage_options', 'foo-settings', ...
1
vote
1answer
87 views
Plugin for communicating with clients
I'm looking for a plugin, sort of like a white board, where clients and myself can communicate on the wordpress dashboard... perhaps something to manage client tickets...they can enter in one, and i ...
1
vote
1answer
783 views
Sync User to cPanel webmail?
I have a client who's site is built using WordPress. The account is using cPanel with webmail accessible at domain.com/webmail. They have 2 email accounts setup (user1@domain.com and ...
0
votes
1answer
94 views
How to create a plugin page that shows XML?
I'm looking for the best way to create a plugin page that displays XML.
It needs to be:
Front facing to the public
Valid XML that removes all the admin hub-bub and allows me to change the header ...
1
vote
2answers
275 views
How can I force users to a particular subdomain to log in for MU (Multisite)?
I have a Multi-Site installation of Wordpress, with multiple subdomains, but only one of the subdomains has an SSL certificate.
The domains are such:
www.example.com
blog1.example.com
...
2
votes
2answers
152 views
How can I get a list of plugins and which blogs are using them?
I'm about to upgrade my Wordpress MU installation to wordpress 3
Before I update, I want to find out which blogs use which plugins.
I don't see a way to do that in the UI, is there?
What about a ...
0
votes
2answers
533 views
What would be the advantages/disadvantages of remote plugin installation?
Most of us are used to installing plugins directly from the WordPress.org plugin repository. This is the "official" list of available add-ins, and everything hosted there is guaranteed to be GPL.
...
2
votes
3answers
212 views
Wordpress Plugin Look & Feel
Is there a list of the ID's and Classes I can give HTML elements in the admin panel in order to closely mimic the wordpress look and feel?
3
votes
2answers
2k views
Is There a WordPress Hook to Filter the Edit Posts View?
I want to be able to customize the WordPress edit posts screen to filter based on a custom field (or whatever).
Unfortunately I'm not sure what filter or hook to use here, and instead of opening the ...
1
vote
1answer
463 views
Plugin admin panel JavaScript Broken
I'm trying to implement this plugin on my live wordpress instilation:
http://wordpress.org/extend/plugins/frontpage-slideshow/
I wouldn't usually ask a question about a plugin directly but this ...
0
votes
1answer
51 views
What is the most efficient way of adding additional functionaliy for admin only
I'm trying to figure out the best approach to add additional functionality that will only be utilized by admins via /wp-admin.
What's the best way to implement so that resources aren't being wasted. ...
2
votes
1answer
1k views
Adding custom Javascript to the head tag in Admin
I am writing a plugin for the back end but I need to add javascript that is created in a for loop to the head of the page.
How do i do this?
Steve
0
votes
2answers
2k views
Adding CSS to custom post type admin page causes error
I have this bit of code in my Meteor Slides plugin that loads a stylesheet on the admin pages of just the slides custom post type:
add_action('admin_head', 'meteorslides_admin_css');
function ...
