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

learn more… | top users | synonyms

1
vote
1answer
154 views

How to add wordpress blog to Windows 2008 R2 site

One way is to install php and wordpress on server following WordPress Windows 2008 Web Server R2 IIS 7.5 setup. Is it possible to reroute url like blog.yourcompanyname.com to another ip address and ...
0
votes
1answer
56 views

Is it possible to display my theme sidebar in wordpress admin?

I'm trying to create sidebar in my wordpress admin. This is because I'm trying to make my wordpress admin look like my front end. My front end theme has sidebar in the right side. So i would like to ...
1
vote
2answers
765 views

Create a admin page in wordpress without admin menus (“wordpress sidebars”)

I'm creating a new page in WordPress admin for a theme. In this new page will be a list of people registered (in a form), but with few details / information. So when a person clicks on something, I ...
0
votes
1answer
144 views

How to change a meta value (of a published post) after X days.?

I have a custom field. I would like to change the text of that custom field after x days. I want something like this: if ( published post is more than 90 days old ) { echo "your post is more ...
0
votes
1answer
495 views

How to display terms and conditions in post area?

I'm running a multisite. I would like to display "Terms and conditions" when user trying to create a new post. Users should Click "I agree" link and then proceed to create a new ...
0
votes
1answer
149 views

auto generated robots.txt problem

I have a site visibility in privacy settings set to allow search engines to see my site but for some reason when i go to the auto generated robots.txt file it shows User-agent: * Disallow: switching ...
1
vote
1answer
971 views

I can't access my admin page after changing main url

I have change the main URL of my wordpress theme. I accessed Admin area => Settings => and change my URL from : www.sampleURL.com to www.sampleURL.com/?page_id=2 and now every time I enter ...
1
vote
2answers
5k views

How to remove screen options and help links in the admin area?

I would like to remove screen options and help links in my admin area. How to remove that thing?. This is what i want to be removed. Thanks.
0
votes
1answer
470 views

How to hide wordpress default description box?

I'm using custom fields in my wordpress default post area. So i don't want wordpress default description box. I mean i dont want this field. Instead of description box i want excerpt box there. ...
0
votes
1answer
305 views

Admin menu success message

I have created a simple admin menu that allows users to enter in some basic information that is stored in the footer. When they click save the url appends &settings-updated=true Is there a way, ...
0
votes
1answer
462 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
1answer
795 views

How to display magic field's custom write panel in wordpress theme?

So here is the thing. I'm creating a site. A user can register in my site and post articles. The thing is I don't want separate admin area to post articles. I want to integrate everything in my ...
3
votes
2answers
2k views

Add a jQuery function to admin pages

I need to add a bit of document ready jQuery to post/page editors in admin. I'm hacking an old plugin that adds a text box to the editor page and handles inserting that text in a template file, but ...
1
vote
1answer
7k views

Change WP-Login or WP-Admin

Can I change the name of the wp-login or wp-admin file so that I can go to a different filename in order to login. I am trying to prevent hackers from finding my login and wp-login has become a very ...
0
votes
1answer
161 views

I cannot include a file in my plugin settings page

I'm trying to create a settings page. If I print things within index, I can see it. If I try to include it, I can't see anything, neither errors. add_options_page('My Plugin', 'My Plugin', ...
2
votes
1answer
2k views

Hook the Keydown Event in the TinyMCE Post Editor

I would like to hook the keydown event in the TinyMCE Editor on the edit post admin page. I managed to hook the HTML content editor using the following code: jQuery('#content').keydown(function(){ ...
-1
votes
1answer
649 views

plugin: 'init' hook, check if we're not in admin

I've tried this inside of my plugin ('init' hook) but it doesn't work: if(is_front_page() || is_singular() || is_archive()) { ... } How could I check it using init hook? Thanks.
2
votes
1answer
227 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 ...
1
vote
6answers
3k 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
560 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 ...
1
vote
2answers
2k 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
238 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
199 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
260 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
232 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
2k 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
426 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 ...
6
votes
2answers
507 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
106 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
193 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
1answer
171 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
270 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
340 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
90 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
496 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
424 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
635 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
351 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
229 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
1k 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
330 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 ...
2
votes
2answers
789 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
2k 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
536 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
121 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
2answers
6k 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
296 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
592 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 ...