The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
89 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? ...
1
vote
1answer
288 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) : ?> ...
0
votes
1answer
71 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 ...
1
vote
1answer
713 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 ...
2
votes
3answers
345 views

How to remove Gravatar from Username column

How to remove the Gravatar image from Username column in the All User admin page?
0
votes
2answers
203 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: ...
2
votes
1answer
110 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 ...
0
votes
1answer
1k 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 ...
2
votes
1answer
110 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 = ...
0
votes
2answers
362 views

Split custom post list into two columns

can anyone help me split this custom post type into two lists? i'm a novice PHPr but have been left with this code by someone who said it was too complicated... function listforcontinent($name, $top ...
1
vote
1answer
96 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 ...
2
votes
1answer
276 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'); ...
0
votes
2answers
418 views

Remove custom taxonomy column from my custom post type columns

I am using wp 3.5 i have a custom post (sp_product) and also i have custom taxonomy. I want to remove that custom taxonomy filter column but i don't want to make 'show_admin_column' => false. I ...
1
vote
1answer
384 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 ...
2
votes
1answer
219 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.
0
votes
1answer
636 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
1answer
473 views

Sorting custom post types in edit.php : Post disappear

I've got a few custom post types with different taxonomies and I have a function that adds certain categories to post list view in edit.php admin screen. Everything good there. I've also added a ...
1
vote
2answers
3k 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 ...
0
votes
1answer
312 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
754 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
63 views

Sortable columns by meta value holding a date - can't get it to work

I'm trying to sort the posts (in the edit screen (wp-admin/edit.php)) by meta value corresponding to an event date but I can't get it to work properly... For example, ASC returns: 2012/10/12 ...
0
votes
1answer
151 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
1answer
131 views

Simple Data Table Update and Page Integration

There are a variety of tables (page-level, not database) in a website I manage that need to be regularly updated. The difficult issue is that this information is often only one or two data columns, so ...
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 ...
0
votes
2answers
563 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 ...
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 ...
0
votes
1answer
404 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
2answers
668 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 ...
1
vote
1answer
678 views

Display posts in three columns by category

I've seen posts which probably answer this, but unfortunately the answers are all a bit technical without telling you where the code should go? At the moment I have my posts directed to a blog page. I ...
0
votes
2answers
1k views

Split columns into three+ divs?

I got this code (source) // split content at the more tag and return an array function split_content() { global $more; $more = true; $content = preg_split('/<span ...
4
votes
1answer
3k 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
1answer
510 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. ...
1
vote
1answer
295 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 ...
2
votes
1answer
95 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 ...
12
votes
3answers
12k 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 => ...
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. ...
0
votes
1answer
177 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
1answer
630 views

How can I add buttons to a custom column in the taxonomy table?

I am working on an issue-based publishing system for a friend of mine. So far I have created a custom taxonomy called "Issue"; added several custom fields to the custom taxonomy (like "Issue number", ...
-1
votes
1answer
359 views

How can I get on the same row two post of different categories?

Let me explain better, I have two categories and I want to show a page with two columns one for each category, after this I like to show in the same row each post of each category on each column, just ...
1
vote
1answer
329 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
992 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 ...
0
votes
2answers
536 views

Please help me to win the battle with 2 column loop by category

I need help with this code. How can I change the code so that the posts from one category to be arranged like the this scheme. scheme picture <?php ...
0
votes
2answers
644 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 ...
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() { ...
0
votes
1answer
996 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 ...
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 ...
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 ...
0
votes
1answer
631 views

How to Split loop in multiple column in archive page

hi i got this code from a post, i want to split loop into 4 column this is a archive page i want to limit 1 post in first column 1 post in second column 4 posts in third column 5 post in fourth ...
3
votes
2answers
354 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 ...
1
vote
1answer
779 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 ...