The tag has no wiki summary.

learn more… | top users | synonyms

11
votes
3answers
10k views

Adding 'menu order' column to custom post type admin screen

I want to use the menu order attribute to control ordering for a custom post type that's going to be used for a specific purpose. It's easy enough to add this to the CPT via supports => ...
9
votes
1answer
5k views

Adding Category/Tag/Taxonomy Support to Images/Media

I've been trying to add category, tag, or custom taxonomy support to images (or all media, though I'm only concerned with Images). I've got it part-way figured out with: add_action('init', ...
5
votes
3answers
2k views

sortable custom column in media library

trying to make a custom column sortable in the media library. Found lots of examples for posts, and users but can't get them to work on the media library page. function wpse_hook_isv_columns() { ...
5
votes
1answer
132 views

Add quick edit fields without custom colum

This question is a follow up on that answer I wrote. Let's say I want to add something to the quick edit box for the Posts post type list table. To do so, I have to add a custom column because of the ...
4
votes
1answer
2k views

Sortable admin columns, when data isn't coming from post_meta

I have a custom post type that uses a custom taxonomy. I'm imposing a limit of a single term to each post (using a custom meta box drop down on the edit post screen for the CPT). The term for the ...
4
votes
1answer
2k views

Custom sortable columns ordered by meta-value?

I have no idea why my sortable function does not sort my "events" my a custom post-meta. I have a custom-post-type named wr_event… I have my custom columns set up and my post-meta is shown in the ...
3
votes
1answer
1k views

Custom column for changing post status via ajax

I'm currently trying to implent a new custom column at the page manage screen that will let me change the status (published/pending) of the different pages via an easy toggle link. From what I've ...
3
votes
3answers
3k views

Custom columns on edit-tags.php main page

I am trying to add custom columns to edit-tags.php for a custom taxonomy that I have created. This custom taxonomy is called equipment-types and it only applies to one custom post type called ...
3
votes
2answers
322 views

Add new column to sites page

I'm trying to get info into my network sites page in a column. Below works great to grab the network site ID for each site. How can I make it display the option_value for the item (blog_expire) in ...
2
votes
3answers
310 views

How to remove Gravatar from Username column

How to remove the Gravatar image from Username column in the All User admin page?
2
votes
1answer
464 views

add_action 'manage_posts_custom_column' in a class [closed]

I think this may be more of a general php question but I am posting it here as it relates to a WP function. I am having some issues with an add_action on manage_posts_custom_column inside a class. ...
2
votes
1answer
2k views

How to change Wordpress theme to one column?

Currently I'm using The Morning After Theme (http://theme.wordpress.com/themes/themorningafter/) It lists one-column as a feature, so how do I change it to one-column? The default is three columns.
2
votes
1answer
128 views

Custom admin column disappearing when using Quick Edit [duplicate]

I have added a featured image column to my posts in the WP admin. This all works fine except when using the Quick Edit feature. Upon update, the column disappears, or rather isn't returned by the ajax ...
2
votes
1answer
100 views

order of date column in custom post type

I have a custom post type and trying to set custom columns, the date column is there by default, and it appears right after the title. Do I have to unset the date first and then re-apply it, or is ...
2
votes
1answer
92 views

Add Post Url to Manage Edit Screen

I'm trying to add a column to the manage screen that displays the Title and url of the post. I got the Title to work but it's not pulling the url. Basically I just want to show the url that's not ...
2
votes
1answer
2k views

Custom post admin filtering by post meta (the date)

I've created a custom post type for events that uses a custom field to retrieve the date for the event. It works ok and I'm able to filter the displayed results using meta_compare to compare the date ...
2
votes
0answers
31 views

Hide username from users list

I've hidden the username column from users administration with the following code: function modify_user_columns($column) { $column = array( "cb" => "<input type=\"checkbox\" />", ...
2
votes
0answers
70 views

Column sorting with emtpy meta values

I am trying to sort my custom post type columns in the admin area. There's two ways I found to do this: At first this was my way to do it, however I got some strange behaviours. If a meta value is ...
2
votes
1answer
101 views

Hook to edit an column on comments screen?

At the moment I'm doing add_filter("manage_edit-comments_columns", function($columns) { unset($columns["author"]); $columns_one = array_slice($columns,0,1); $columns_two = ...
2
votes
1answer
249 views

Gallery Settings Change available Columns

Is there a filter hook which changes the number of available columns in gallery settings screen. I'm talking about the : <label class="setting"> <span><?php _e('Columns'); ...
1
vote
3answers
3k views

Style custom columns in admin panels (especially to adjust column cell widths)

I am using Wordpress as a CMS for a project which makes extensive use of custom post types. I need to display columns in admin panels for each custom post type in a different way. I've already ...
1
vote
4answers
1k views

wp_nav_menu, add class to every nth item?

is there a way to add a class to every nth item in a menu using wp_nav_menu? Trying to create columns but need to add a 'last' class to the 3rd item. cheers! Dc
1
vote
3answers
4k views

How to add custom columns to Custom Post Type admin screen

I have another dumb question, but I can't get one thing :) I've found this very good article on creating custom post types: http://thinkvitamin.com/code/create-your-first-wordpress-custom-post-type/ ...
1
vote
1answer
567 views

Extend the wp_users table

I'd like to to extend the wp_users table in my WordPress' database. Why? I want people to add more information about themselves when they sing up at my website. I know how to extend it, but I'm ...
1
vote
1answer
44 views

Taxonomy Custom Column - 'manage_{TAXONOMY}_custom_column' filter only passing 2 arguments

I am trying to add a custom column to the tables shown on the Tags & Categories admin pages in Wordpress. I have created a function, and added it as a filter using add_filter( ...
1
vote
1answer
84 views

custom sortable column

I am trying to create a extra column for year in my timeline custom post. I can create the extra column and I can actually get it sorting and it works correctly but then all my pages then dont seem to ...
1
vote
1answer
3k views

Creating a 3-column layout on a Wordpress Page

At the moment I am creating a page with Wordpress. Now there is some content, that won't chance often, that's why I want to use a page for it. I also want to create a custom template for that page. ...
1
vote
1answer
920 views

How to show custom (checkbox) field value in admin post list?

I have a custom post type for products and a custom meta checkbox field for 'Sold'. How can I show the Sold status in a column on the Products edit list and make it sortable (so it would sort all the ...
1
vote
2answers
849 views

Remove Post Page “View Post” Link

I have created a custom post type, but it just to list some data on a page and it doesn't have any single.php. How do i disable so on the post page when i click publish it doesn't show the "View ...
1
vote
1answer
255 views

Are there any filters to add additional columns to the list table on edit-comments.php?

I'm trying to modify the display of the edit-comments.php admin page and I'm not seeing any filters in it comparable to manage_posts_columns etc. Is there an easy way to do this? I'm thinking the ...
1
vote
1answer
237 views

First post full width, rest in two columns

Here is my loop <?php if ( have_posts() ) : ?> <?php /* Start the Loop */ ?> <?php $i = 0; while ( have_posts() ) : the_post(); ?> <?php if ($i++ == 0) : ?> ...
1
vote
1answer
190 views

Remove the columns in media library

How can i disable/remove the columns for Media Library? I want for author and comments column. Thanks in advance.
1
vote
2answers
2k views

Wordpress Custom Menu Widget Style

I am wondering if anyone knows the best method for splitting 1 custom menu widget (located in my sites footer) in to 2 columns. There are a total of 8 links, so I would like it to be split in to 2 ...
1
vote
1answer
322 views

How to show posts of an columnized different categories on the same line or row?

I use a custom query retrieving the two categories of the post type, each column show only 6 posts of the category, if was more use pagination. Than I like to do is to show each post on each column ...
1
vote
1answer
742 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 ...
1
vote
1answer
599 views

Extending AZIndex plugin to use custom post types and custom taxonomies

I desperately need to be able to display something exactly like this: http://bottlesup-07112011.31two.com/bottlesup-retailers/ 5 columns of custom post type posts sorted alphabetically by custom ...
1
vote
0answers
14 views

Make a taxonomy column sortable in the admin?

I have a taxonomy term I have set to show as a column in the admin UI for my custom post type: add_action( 'init', 'create_asset_tax' ); function create_asset_tax() { register_taxonomy( ...
1
vote
2answers
55 views

Replacing the title in admin list table

Here is my situation: I am trying to filter the content of the title column in my custom post type edit table but I can't get it working. Here is what I have tried: ...
1
vote
1answer
28 views

Wordpress make Grandparent and great grandparent filterable in custom columns

Is there a way to make a Custom Post Type's grandparent and great grandparent filterable in the CPT's columns? For parents I use : esc_url( add_query_arg( 'post_type' => $post->post_type, ...
1
vote
1answer
29 views

How to customize categories panel?

how to customize this screen ? example : add new area or remove description section
1
vote
1answer
521 views

Custom admin columns for ALL custom post types

I have the following function which is working perfectly for my 'video' custom post type to display customized columns in the dashboard. I have decided the way my plugin will work is to have custom ...
1
vote
1answer
91 views

Sort by site/blog column in Multisite

I use WordPress Multisite and made a plugin that adds columns with some data. My code is based on this WP Engineer article. The key function in WordPress Multisite is manage_sites_custom_column. And ...
1
vote
1answer
379 views

How do I sort a custom post type admin column using two meta keys?

I have created a custom post type along with custom columns. One of my columns displays a date range such as "12/05/2012 - 11:00 am to 12/15/2012 - 1:00 pm". This is a concatenated string using a ...
1
vote
1answer
78 views

Passing inputs from one column to the Other within a post

I have a post with 2 column layout. The first column has an mp3 player. I am thinking of adding a Lyrics window in the second column. Based on the song selected by the user, the Lyrics window will ...
1
vote
0answers
41 views

Show image on the left and content on the right using ul li

Well im looking for a way to do this. In the index to show each post, with the "thumb" on the left and the content of the right using ul li to do so.(http://ae.tutsplus.com/ for example) So far i ...
1
vote
1answer
285 views

Grabbing the first image attached to a post and use it with the admin columns

I'm currently using @kovshenin's tutorial here on adding a thumbnail (a featured image) to my post type admin columns. Would it perhaps be possible ( and how :) ) to retrieve the first image attached ...
1
vote
1answer
444 views

How do I access the menus produced by Dashboard > Appearance > Menus

A continuation to this question: Replacing WordPress menu functionality with a plugin Since I really rarely work with WordPress (I've done a lot of work with phpBB, myBB, Concrete5, and custom PHP ...
1
vote
0answers
935 views

Multiple columns in add/edit post/page? [closed]

If you go to the WP main Dashboard page, the screen options allow you to have 1-4 columns for the screen layout. When you get to the Add/Edit Post/Page pages (/wp-admin/post-new.php and ...
0
votes
3answers
926 views

Custom Post Types: Custom columns with Title submenu?

When viewing non-custom Posts, you get the likes of this submenu: I'm not using a title - I'm using custom columns with two fields concatenated: Is there any quick and easy way of adding the ...
0
votes
2answers
702 views

Wordpress Theory Lesson - Image Columns within posts with alignment?

Trying to get my head round a request from a client, and thought I'd try to hivemind the solution a little bit. The client requires a two column post layout, with images down the right and text on ...