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

learn more… | top users | synonyms

2
votes
1answer
264 views

How could I execute my plugin just in frontend (not in backend)

I don't need my plugin running through wp-admin, including wp-login. How could I prevent it? is_admin works fine but i don't know how to ignore everything related to wp-admin (like wp-login.php). ...
0
votes
1answer
3k views

wp_set_post_terms example?

My client has a post type that uses a lot taxonomies. I plan to put this script in a post meta box and hide the existing taxonomies. Do you know of a great wp_set_post_terms example? I want to make ...
2
votes
7answers
6k views

Adding fields to the “Add New User” screen in the dashboard

I'd like to add the field "Company Name" to the add new user page in the admin panel. I've done quite a bit of searching and have been unable to find details on how to do this. I can easily add info ...
1
vote
2answers
613 views

Why does WordPress require a ftp server to be running on the webserver to transfer plugins?

I had asked a related question on Super User: A use case of a system "receiving" files over FTP would be, for example, the way WordPress plugins are installed via 1-click where WordPress ...
3
votes
2answers
3k views

How to list ALL Pages in the dashboard?

I'm wanting to find a way to have all pages listed without paging and to do so in a method that isn't going to be over-written when I update WordPress, i.e. in the form of a hook. The page is in the ...
1
vote
5answers
294 views

Problems with removing admin bar

I am trying to remove the admin bar from a theme front end of a theme. I found the following code block: add_filter( 'show_admin_bar', '__return_false' ); remove_action( 'personal_options', ...
0
votes
2answers
215 views

Make separate text boxes for separate WordPress Custom Fields

I am trying to make usability of WordPress custom fields admin easier in my theme. I saw it in ElegantThemes' eStore theme. Only I couldn't figure out how to do it in my custom theme because I ...
0
votes
1answer
306 views

Change maxlength of link_description in dashbord link section?

Im using wordpress together with qtranslate and it works on pages and post but not in menus, widgets etc. So i created jquery scripts to solve those issues. The problem is that the field ...
1
vote
1answer
314 views

Execute script only on certain admin pages

To solve this problem i've used this in my js file: var location = String(window.location); //only runs in post.php and post-new.php if(location.search('post.php') != -1 || ...
0
votes
5answers
3k views

Plugin Development: Wordpress processes twice on post update. How to skip process on the first?

When you create a plugin and set up a process function, Wordpress will run the plugin process function twice upon clicking the update button. I believe the first process is for the versioning ...
1
vote
1answer
498 views

Taxonomies image

I'm currently creating a theme and I would like to associate an image to one of my taxonomies. I'm already able to add some fields and I now want to add a file input which'll be handle by Wordpress ...
8
votes
2answers
868 views

How set defaults on wpLink()

With WP 3.2, WordPress maybe has a new function to add Link-Quicktags to the editor. But I found an function to set defaults for the link-button: Take a look at wplink.js Line 278. ...
-1
votes
1answer
111 views

not able to add thumbnail custom field in dropdown

I am using custom fields. Whatever we define in "add new custom field" shows up in the dropdown on refreshing, but for some reason the thumbnail word doesn't add up in dropdown. Can I manually edit ...
0
votes
1answer
195 views

I am not able to enable jQuery in theme settings

I have tried to - enable Use jQuery & then save changes. But after saving changes, checkmark Use jQuery automatically unchecks itself. I am not sure whats going on. Please help me here.
0
votes
2answers
275 views

Action for opening edit page in admin?

I have a function that kills the media buttons on certain custom post types. I want it to load whenever any post/ page edit page opens. What's the best action to hook this up to? Thanks in advance.
0
votes
2answers
301 views

How to troubleshoot 404s in Wordpress admin

There are several threads on Wordpress.org about this problem, but none with solutions. I just went from localhost (MAMP) to a live server (Dreamhost) and I'm getting constant 404s when submitting ...
1
vote
2answers
384 views

Why am I unable to login after converting to www?

So I originally designed the site without the www. I've since realized that it's going to cause more problems than necessary. I created a rewrite rule that converts to www. I then changed the ...
0
votes
1answer
92 views

Browse Happy in 3.2

The Browse Happy interruption would only appear to logged-in admin users, correct? It won't show up on my public facing site? I can't really fire up IE6 very easily to find out.
0
votes
0answers
617 views

Wordpress loop in post admin view

I'm trying to use the loop inside custom post settings. However this results in several errors the most common being the following: when I click on a post on the admin it always goes to the the last ...
1
vote
3answers
750 views

Using the loop inside admin

I have the following issue: I am creating a custom-meta-box for the user to add custom fields in a friendly way. I want to generate a drop-down box with all posts that fall under category 10. I have ...
4
votes
1answer
769 views

Is it possible to add an admin page using add_submenu_page() and pass a var in the query string?

I am making a plugin and I have a bunch of different data types that I am creating edit pages for. I'd rather not have to create a separate function to add each one to the admin menus, since they're ...
0
votes
2answers
452 views

How to restrict user to see his comments only and admin can see everyone comments?

i was trying to achieve this how can i restrict user to see his comments only along with admin replies and admin can see everyone comments? Any suggestion with code would be helpful as i am new to ...
2
votes
2answers
240 views

Custom Theme Want To Remove One Category From All Displays

I created my own custom Wordpress theme for my website, everything is great. However, I have a strange need, I have one category which is kind of a 'placeholder' for content which is automated and ...
1
vote
3answers
2k views

How do I change the upload file size limit in single-site wordpress install?

In the multi-site wordpress install, you get a very nice "upload settings" in the network admin settings. (see attached image). I am trying to change these settings without using php.ini for a ...
1
vote
1answer
2k views

How to enable a site administrator to edit users in a WordPress network/ multisite setup?

I have a few sites in a network. I don't want the site administrators to manage things like network plugins, but I would like them to be able to edit profiles of all network users, not use those on ...
1
vote
2answers
472 views

why my menu is not appearing on the admin panel

i am new to wordpress so you can except a lot insane coding below. What i want is to give one option in the adminpanel of wordpress to my client under the Pages->MergeImage. when the client will click ...
3
votes
3answers
1k views

Easiest way to make post private by default

I don't know how to make a plugin so I can't do what's suggested here How can I make it so the Add New Post page has Visibility set to Private by default? so what's alternative ?
2
votes
2answers
3k views

Restrict categories to a custom post type

In the WP-Admin when creating a post or a custom post type I want to restrict certain categories to a custom post type. For example, Posts will only be able to select Category A and B. And custom post ...
4
votes
4answers
646 views

Why are admin scripts not printed

I am trying to enqueue/print scripts in the admin area. But they dont seem to appear. add_action('admin_init', function() { add_meta_box('portfolio-meta', 'Details', 'portfolio_metabox_details', ...
0
votes
1answer
127 views

Issue with contextual help overwriting existing content

I'm missing something here: function page_help($contextual_help, $screen_id, $screen) { if ($screen_id == 'page') { $contextual_help = ' <h5>Shortcodes</h5> ...
2
votes
3answers
7k views

How to change “wp-admin” to something else without search-replacing the core?

for example: foobar.com/wp/edit instead of foobar.com/wp/wp-admin How would I do that? I've tried using this in htaccess but it won't work: ##### ABOVE THIS POINT IS ALREADY INSERTED BY WORD PRESS ...
3
votes
3answers
331 views

How to wrap admin menus and menu headers in additional divs without modifying the WordPress core?

I need to do this to enable advanced styling options via css, the one a class the headers are wrapped in isn't adequate to do the type of styling needed. Thanks!
0
votes
2answers
660 views

Pages section (only) not loading after publishing large number of pages

I'm having some issues with my first wordpress installation that's really throwing me for a loop. First some background info on the situation. I've been working on converting an HTML site into ...
3
votes
3answers
4k views

How to fix a theme with page.php Default Template that accidentally deleted?

I am having a quite odd case with WP today, and after spending about an hour searching on google and forums, can't find any answers. I hope posting here might allow me some chance to get help from ...
1
vote
1answer
983 views

Wordpress disable 'Install Themes' tab

Can someone help me disable the Install Themes link from the WordPress back-end?
1
vote
2answers
263 views

add a class when login

i add this code in index.php. <div class="Div1"></div>. then write some css(absolution position) to the Div1. so when i login in my wordpress. the admin nav will push down some spaces to ...
1
vote
3answers
2k views

Require a Custom Taxonomy to be checked

I have a custom taxonomy, "position", with multiple terms for a custom post type, "employee" in the admin. I want to validate the form to require a position to be selected when you save/update a post. ...
1
vote
0answers
3k views

Unable to stream pdf: headers already sent problem in dompdf [closed]

I have used dompdf to display the user information in admin of my wordpress project. While generating the PDF file it works perfectly in my local server. But in live server Unable to stream pdf: ...
0
votes
1answer
441 views

Anyway to hide a Category in the Categories section when adding/editing a post in WP Admin?

I have a Category that I would like to hide in the WP Admin so the author can never check it when adding or editing a post. Is there anyway I can prevent it from showing up by modifying my ...
3
votes
5answers
1k views

Moving wordpress from localhost to server throws admin panel access error?

I've a working version of wordpress in localhost and i tried to move them to the remote server. As i've another wordpress installed in the same server and tried to rename the current tables to the ...
8
votes
1answer
2k views

Taxonomy dropdown metabox in the back-end

I've created custom taxonomy called Brands and made it hierarchical so I can add Car brands and models there and keep their relations, like this: Ford Mustang Mondeo Focus Problem is, this list ...
1
vote
1answer
175 views

Show an image in my header.php

I want to let my customer choose any image (in my backend) and then it will be displayed in my header.php. i've found Image Widget, but it just show images in the sidebar. I want something like: ...
0
votes
3answers
1k views

How to remove bulk edit options

Is it possible to completely disable Bulk Edit functionality? I'm using Wordpress 3.1.
10
votes
2answers
3k views

Toggle admin metabox based upon chosen page template

I'd like to have a custom field interface show up only when a certain template is assigned to a particular WordPress page. Any ideas?
6
votes
6answers
8k views

Disable image attachment links

Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it's possible to do it manually when you add an image to a post but I want to disable this ...
2
votes
1answer
1k views

Why aren't sub-categories nested after creating post in the WP Admin?

I have several sub-categories set up. Everything displays properly as far as nesting (see below) when creating a new post. Category 1 --Sub Category 1 --Sub Category 2 --Sub ...
2
votes
1answer
429 views

How to inhibit dashboard and profile management access to normal users?

I am developing a site using Wordpress, phpbb3 and WP phpbb Bridge. Users have to manage their profile through phpbb3 and I would like to inhibit normal users access to page mysite.com/wp-admin/ . ...
2
votes
3answers
245 views

Rename W3 Total Cache admin menu

I'm developing a plugin that I'll install for all my clients to make WordPress slightly easier to use for them. One of the things it will change is name of the W3 Total Cache Admin menu from ...
1
vote
1answer
2k views

Hooks: admin_footer and admin_print_footer_scripts not working?

Tried them both and they don't seem to be working, am I missing something? add_action('admin_footer', 'jupload_scripts'); wp_register_script('jquery-ui', ...
0
votes
1answer
237 views

Some blog posts containing source code fail to save draft or publish

I have a blog that contains source code on some posts. I've discovered that some posts don't accept the source code and I get variously a Server 500 error or a 403 error. I can only assume there is ...