Tagged Questions

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

learn more… | top users | synonyms

0
votes
1answer
403 views

Making plugin to use different table prefix cause permission problem

I have multiple wordpress websites that uses the same files and database but with different table prefixes, I use a plugin "Shortcode Exec PHP" and I would like to use the same shortcodes on all the ...
0
votes
1answer
2k views

Uncaught SyntaxError: Unexpected Token Illegal

I have a local install of Wordpress running & I am suddenly getting these errors in my console when I open a modal window (such as file upload): Uncaught SyntaxError: Unexpected token ILLEGAL ...
1
vote
1answer
783 views

Admin table list API?

wp-admin table lists - like post list Is there a API or something to build table lists in wp-admin? With table lists I mean like the list of posts for example. It has columns, sorting, paging and so ...
0
votes
2answers
246 views

Manipulate list of themes in wp-admin

I'm running a multisite network with 100+ themes installed and activated. Is there a way to manipulate the list of available themes in wp-admin so that certain themes appear in the list first? (a kind ...
0
votes
1answer
121 views

wp-admin blocking causing http error on uploads

I'm using this function to prevent users apart from admin from getting to the backend of wordpress. (Note, that addition to allow ajax requests too): add_action( 'init', 'my_block_users' ); function ...
0
votes
1answer
2k views

How do you force the wordpress dashboard to be 1 coulmn by default?

How do you force the wordpress dashboard to be 1 coulmn by default? I want to show the dashboard as a single column for all users.
0
votes
1answer
458 views

Disable or lock parent pages from being edited in wordpress admin

Is there a way to disable or lock parent pages from being edited in wordpress admin? I only want the children pages to be editable.
0
votes
1answer
489 views

blocking the admin section (but still using admin-ajax.php)

I am building a community based WP site at the mo and have blocked anyone bar admins from using the admin section on the site with: add_action( 'init', 'sw_block_users' ); function sw_block_users() ...
1
vote
1answer
317 views

Where can I edit Admin Panel Page file

I need to edit the "Help" section of the "Page" page in the Admin panel. Since wordpress doesn't allow multiple line breaks I need to make sure the user knows that if they add the "" tag in the HTML ...
2
votes
2answers
993 views

Add column to pages table

Hey all i am trying to find the section within the edit.php page where it populates the table with all my current pages. What i want to do is add another colum to the table in order to launch a side ...
3
votes
1answer
757 views

Remove date and category filters when editing custom post types

The answers to this question give excellent instructions for adding filters to the admin edit.php screen for custom post types. But they don't explain how to remove the existing filters on date and ...
2
votes
2answers
3k views

WordPress User Roles, Custom Post Types, and Admin views

My friend mentioned that there is a simple way to modify what users see in the admin sidebar based on their user role. I have a large number of custom post types, one for each user, and I need to ...
0
votes
3answers
902 views

Where can I find admin-header.php file online?

I am using Wordpress for my website. I was working on CPANEL yesterday and was browsing public-html/wp-admin folder under the File manager. There were many files and I accidentally deleted the ...
3
votes
3answers
1k views

Use tag interface for hierarchical taxonomy?

Custom taxonomies are great. I registered a bunch of new taxonomies and wrote an importer to import our hierarchical taxonomy into WordPress a la XML. The problem is one taxonomy has about 1,100 terms ...
6
votes
3answers
742 views

How to filter by post-format in admin?

I need to filter my posts by Post-Formats in admin ? How can I do that ? For now, Wordpress allows to filter by Categories and Dates.
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 ...
1
vote
1answer
155 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
57 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
870 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
149 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
612 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
176 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
1k 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 ...
2
votes
2answers
7k 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
550 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
331 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
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
1answer
890 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
3k 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
165 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
732 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
244 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
4k 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
597 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
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
269 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
208 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
290 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
277 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
476 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 ...
7
votes
2answers
699 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
109 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
194 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
238 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
294 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
371 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 ...