The columns tag has no wiki summary.
8
votes
3answers
4k 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 => ...
6
votes
1answer
3k 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
816 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() {
...
3
votes
1answer
1k 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 ...
3
votes
3answers
2k 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 ...
2
votes
3answers
83 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
852 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 ...
2
votes
2answers
202 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
1answer
1k 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
70 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
77 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
1k 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
1answer
35 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
89 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
1answer
699 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 ...
1
vote
3answers
1k 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
2k 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
49 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
575 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
1answer
220 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
2answers
816 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
256 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
555 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
433 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
1answer
147 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
72 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
39 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
205 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
343 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
700 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
441 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
617 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 ...
0
votes
1answer
23 views
Split function “the_tags” in 2 columns
I have the following function that returns the tags of the current post:
<?php the_tags( '<ul> <li>', '</ li> <li>', '</ li> </ ul>' ); ?>
Example:
Is ...
0
votes
2answers
103 views
Two columns in homepage each with one category
I modifying a wordpress template to be left with two columns on the main page with the following structure:
The first 4 are of a category and the last 4 of another
The index code is:
...
0
votes
1answer
94 views
Custom columns for taxonomy list table
I have the following code to add a new column to my taxonomy edit screen (edit-tags.php?taxonomy=book_place&post_type=books)
function add_book_place_columns($columns){
$columns['foo'] = ...
0
votes
2answers
260 views
Custom Columns WordPress Admin
I am just about finished creating custom columns through the WordPress admin panel.
The custom post type I am using is called "slides". I figured out how to add the column titles and all of the ...
0
votes
1answer
367 views
No three-columns template in TwentyEleven?
I am just jumping into the TwentyEleven bandwagon, and I am a little puzzled by the apparent absence of a 3-columns template file... It is advertised in the theme description though. Am I missing ...
0
votes
4answers
751 views
Display Custom Taxonomy in Sidebar in Two Columns
I have a custom post type (photos) with a custom taxonomy (categories) and I'd like to display the taxonomy list in my sidebar in two columns. I have a modified snippet that I found elsewhere to do ...
0
votes
1answer
29 views
custom field in admin columns
Im trying to understand how to get the custom field incr_number into admin columns. However im failing to understand and im googling but not finding a direct answer.
It cant be that hard surly?
...
0
votes
1answer
319 views
Pods CMS: How to add custom column to Adnvanced Content Type
I'm using Pods plugin (ver 2.2) to create some 'Pods' or Advanced Content Types, as they would refer to it, which are like custom post types but are actually separate from WP, blank slate, in their ...
0
votes
1answer
167 views
Split multiple categories into two columns
What is the best way to split multiple categories into two columns on the page?
At this moment I don't need category-A to go into column-1 and category-B/C/D to go into column-2. I just need multiple ...
0
votes
1answer
255 views
Split content into multiple columns using more tag?
First of, this is pretty much an exact duplicate of:
Split columns into three+ divs?
But the given solution does not work (returns blank). I'm guessing it collides with qTranslate which adds some ...
0
votes
1answer
69 views
create 2 custom columns in page edit in Admin panel
Hey all i have this code here:
if ( !function_exists('AddThumbColumn') && function_exists('add_theme_support') ) {
// for post and page
add_theme_support('post-thumbnails', array( ...
0
votes
2answers
245 views
Divide the list into two columns (get_posts)
The function below lists posts based on custom field.
The result is involved in a list <li></li>. What I would like to do is count how many list items there are, then divide it into two ...
0
votes
1answer
161 views
How do I create a column down the right-hand side of my site?
How do I create a column down the right-hand side of my site?
I changed a setting on one of the pages some time ago, and on that page I have the result that I'm looking for:
On this page: ...
0
votes
1answer
1k 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. ...
0
votes
1answer
129 views
Wordpress pagination with wp_query_columns
I'm using the code from here to split my loop up in to columns. The columns work. I have 7 posts in the databese and showposts set to 6. I cannot get nextpage link to show? I have a $paged variable in ...
0
votes
2answers
442 views
Custom Post Type, Two categories, Two columns with Pagination
I searching a lot to found a way solves that and no luck at least.
Sorry for my unpulish english, I do my best explaining my issue.
I have a Custom Post Type called 'Events' this have two categories ...
0
votes
1answer
589 views
How to divide and display categories into two columns
I am using custom taxonomies. I have multiple categories and each category has multiple children. I would like to display the categories in two columns on my homepage similar to linkcentre.com.
I ...